Swerve Finance Hack
Incident Overview
Swerve Finance's pool was targeted via governance attack which might cause a loss of 1,337,000 $USD
Swerve Finance, a defunct clone of Curve Finance, was targeted in a governance exploit attempt. The attacker created a proposal to transfer 1,337,000 $USD from the DAI-USDC-USDT pool to their address. Initially, the attacker had 348,000 $SWRV tokens and later gained another 102,000 $SWRV tokens to control enough power for their proposal to pass. However, it is still ongoing as they lack sufficient combined power.
The party behind the attack claims that it was a white hat effort to claim admin fees worth 120,000 $USD and that exploiting the protocol's vulnerability was accidental.
This incident highlights how decentralized governance mechanisms can protect large sums but also demonstrates potential vulnerabilities when projects are abandoned or handed over without proper consideration for security measures such as transferring ownership of the project's null address which could provide better protection against malicious takeover attacks.
Attacker address:
https://etherscan.io/address/0xcdedb901…186ca7
Malicious transaction:
https://etherscan.io/tx/0x4c612aea…75a2fa
Incident Report
Protocol Information
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to Swerve Finance, these are the critical security checks that could have prevented this incident (March 2023).
- Verify all logic paths related to Other are guarded by proper access controls and input validation
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialSources & References
Learn to Prevent the Next Swerve Finance
The Swerve Finance hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.