Compounder Finance Hack

TOTAL LOST $12.3M
High Drained Contracts / Rugpull ethereum

Summarize with AI

Affected Chain ethereum Incident surface
Recovered - No recovery reported
All-Time Rank #280 By amount stolen
Protocol Type Dexs Target category

Incident Overview

Contract deployer exploited StrategyController smart contract, transferring funds to his wallet and hiding traces using Tornado Cash mixer.

The contract deployer exploited the StrategyController smart contract by invoking the inCaseTokensGetStuck() function. This allowed him to transfer funds directly into his wallet. The exploit was carried out in several transactions.

After acquiring the funds, the attacker used the Tornado Cash mixer to hide the traces of the stolen funds. This method of obscuring the origin of funds makes it difficult to track the attacker.

Malicious Transactions:

https://etherscan.io/tx/0x57c61df9…3fc7fe

https://etherscan.io/tx/0x10d245e6…113d77

https://etherscan.io/tx/0x0763afe2…901822

https://etherscan.io/tx/0xf94de5a0…f033e6

https://etherscan.io/tx/0x18e0efca…0cacfa

https://etherscan.io/tx/0x744c51b4…d852e5

https://etherscan.io/tx/0x9c75f706…809056

Tornado Cash Mixer Transaction:

https://bloxy.info/txs/calls_from/0x079667f4…1f0758?signature_id=11062&smart_contract_address_bin=0xa160cdab…53f291

Incident Report

Protocol / Project Compounder Finance
Date of Incident
Affected Chain(s) ethereum
Attack Technique Drained Contracts / Rugpull
Classification Rugpull / Borrowing and Lending
Primary Source View Post-Mortem

Protocol Information

Protocol Type Dexs
Affected Token CP3R
Smart Contract Language Solidity
Official Website compounder.finance/
Protocol Twitter/X @gocompounder
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
DeFi Ethereum Ecosystem Yield Aggregator Solana Ecosystem Binance Ecosystem Binance Listing

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.

Technical Knowledge Deep understanding of drained contracts / rugpull and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with ethereum smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Compounder Finance's contract logic - root cause: rugpull / borrowing and lending
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Hard to catch — private key / OpSec failures are outside smart contract audit scope

If you're auditing a protocol with similar architecture to Compounder Finance, these are the critical security checks that could have prevented this incident (December 2020).

  • Verify all logic paths related to Drained Contracts / Rugpull 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 Trial

Sources & References

Learn to Prevent the Next Compounder Finance

The Compounder 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.

Recreate exploit patterns safely Free Trial