The InitParams
struct allows the deployer to execute arbitrary code during contract creation, enabling instant protocol destruction.
Affected Code:
Proof of Concept:
Exploit Validation:
Deploy with malicious params
Check vault owner: console.log(vault.owner()
)
Result: 0xBADBAD...
(attacker address)
Immediate Admin Hijacking: Attacker gains protocol control at deployment.
Self-Destruct
: Deployer can pass selfdestruct payloads.
Foundry Test: Simulated deployer rug-pull:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.