Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.49 KB

Updating the Governance registry and Guardian addresses emits no events.md

File metadata and controls

33 lines (26 loc) · 1.49 KB

Updating the Governance registry and Guardian addresses emits no events In the Governance contract the registryAddress and the guardianAddress are highly sensitive accounts.

The first one holds the contracts that can be proposal targets, and the second one is a superuser account that can execute proposals without voting.

These variables can be updated by calling setRegistryAddress and transferGuardianship, respectively.

Note that these two functions update these sensitive addresses without logging any events.

Stakers who monitor the Audius system would have to inspect all transactions to notice that one address they trust is replaced with an untrusted one.

Recommendation:

Consider emitting events when these addresses are updated. This will be more transparent, and it will make it easier for clients to subscribe to the events when they want to keep track of the status of the system.


Slide Screenshot

089.jpg


Slide Text

  • OpenZeppelin Audit Open Gamma Finding M07
  • Auditing/Logging
  • High Severity
  • Critical Address Updates
  • No Events
  • Add Events
  • Offchain Monitoring

References


Tags