/audius-governance-takeover-poc

A proof of concept showcasing an alternative, more simplified version of the governance takeover of Audius

Primary LanguageSolidity

Audius Governance Takeover PoC

This is a proof-of-concept exploit for the vulnerability in an Audius contract.

This is not an attempt to reproduce the actual exploit transactions (1, 2).

This is just an alternative, more simplified version of the attack, built for educational purposes.

Requirements

Run

  1. Fill the script/Constants.sol file with your preferred RPC URL to fork.
  2. Run script:
$ forge script script/Script.s.sol:AttackerScript

By setting the USE_PATCHED_VERSION flag in the script/Script.s.sol file to true, you may see how the patched version deployed after noticing the attack would prevent exploitation.