Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.04 KB

README.md

File metadata and controls

22 lines (13 loc) · 1.04 KB

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.