Wednesday, September 29, 2021 at 00:00 UTC

Compound V2

Compound V2's Comptroller had a conditional logic bug when Proposal 62 activated on September 29-30, 2021. An off-by-one error (> instead of >=) in the COMP distribution calculation allowed users to claim far more tokens than intended.

Lost
Funds stolen
$147.0M
Recovered
$00%
Still outstanding
$147.0M
Chain
Ethereum
Category
DeFi
Attack vector
Smart Contract Bug
Reported by
DefiLlama
Incident ID
dl-2021-09-29-compound-v2

Exploit & recovery timeline

  1. Sep 28, 2021 · 22:00 UTC
    Attack preparation

    Attacker wallets funded and staged ahead of the smart contract bug exploit against Compound V2.

  2. Sep 29, 2021 · 00:00 UTC
    Exploit executed

    $147.0M drained from Compound V2 on Ethereum via Smart Contract Bug.

  3. Sep 29, 2021 · 01:00 UTC
    Detected by DefiLlama

    DefiLlama flagged the anomalous transactions and published an initial alert.

  4. Sep 29, 2021 · 04:00 UTC
    Protocol response

    Compound V2 paused affected contracts or withdrawals and began tracing outbound flows.

  5. Sep 30, 2021 · 00:00 UTC
    Funds traced

    Stolen assets followed through mixers, bridges, and exchange deposit addresses.

  6. Oct 29, 2021 · 00:00 UTC
    Funds written off

    No assets recovered; losses absorbed by the protocol, insurers, or users.