loophe / audius-governance-takeover-poc

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Solidity 99.9%Language:Makefile 0.1%Language:Nix 0.0%