Worked example · 2022-12
Defrost Finance exit scam — Avalanche — 2022-12-23
Summary
Defrost Finance was an Avalanche DeFi protocol offering leveraged trading/lending, with the H2O stablecoin and MELT token. Per CoinDesk, a first attack (the week before 2022-12-30; around 2022-12-23) was described by a Defrost spokesperson as a flash-loan re-entrancy exploit against the V2 contract. A second, larger attack (around 2022-12-24/25) was described by Defrost as the work of someone who obtained a private key, added a fake collateral token and price oracle, minted 100 million H2O, liquidated existing vaults by manipulating their oracles and drained the funds.
PeckShield, citing community intel, estimated the loss at about $12M and said it might be a rug pull; CertiK said it could not reach the team. DeFiYieldSec alleged the multi-sig creator address also requested the oracle replacement before the exploit. Defrost called the accusations "slanderous and inaccurate", said it paid the attacker a bounty and that all funds were returned on 2022-12-26, and planned to reimburse users by on-chain balance snapshot. The team had previously run FinNexus, whose May 2021 "hack" was also widely suspected of being a rug pull. This file does not establish which reading is correct.
Timeline (UTC)
| When | Event | OAK ref |
|---|---|---|
| ~2022-12-23 | First attack on V2 contract, described by the team as flash-loan re-entrancy | (first incident) |
| ~2022-12-24/25 | Larger attack on V1: fake collateral token and oracle added via a key, 100M H2O minted, vaults liquidated, funds drained | T5.005 + T5.001 extraction (alleged) |
| 2022-12-25 | Defrost announces V1 and V2 were exploited; PeckShield estimates ~$12M and raises rug-pull possibility; CertiK cannot reach team | (public disclosure) |
| 2022-12-26 | Defrost says the V1 attacker returned the funds; plans on-chain balance snapshot for reimbursement | (claimed recovery) |
| 2022-12-30 | DeFiYieldSec's inside-job allegation reported; Defrost denies it | (dispute) |
What defenders observed
- A key-gated collateral and oracle path is a drain path. The larger attack needed no code vulnerability: adding a fake collateral token and an oracle that overvalues it lets minted tokens be treated as real collateral and existing positions be liquidated. Controls that matter are who can add collateral or oracles and whether a timelock or multi-party approval applies.
- Outsiders cannot cleanly tell hack from exit. Security firms disagreed with the team in real time, and the one on-chain provenance claim (multi-sig creator address also requested the oracle change) was reported as an allegation by a single firm.
- Returned funds do not settle the classification. Fund return is neutral metadata; it neither makes the event more nor less of an attack.
What this example tells contributors writing future Technique pages
- Administrative-authority concentration is the load-bearing risk factor. Multi-signature authority with independent parties, timelocks on collateral and oracle changes, and public notice of such changes each act as mitigations whether the key holder is an intruder or an insider.
- State the evidentiary status. Where an operator-exit reading rests on third-party allegations and the team denies it, the example should say so rather than treat the exit as established.
Public references
[coindesk20221225]— CoinDesk, "Defrost Finance Hacked in Attack Some Say May Have Been a Rug Pull" (2022-12-25): https://www.coindesk.com/business/2022/12/25/defrost-finance-hacked-in-attack-some-say-may-have-been-a-rug-pull[coindesk20221226]— CoinDesk, "Defrost Finance Says Hacked Funds Have Been Returned" (2022-12-26): https://www.coindesk.com/business/2022/12/26/defrost-finance-says-hacked-funds-have-been-returned[coindesk20221230]— CoinDesk, "Defrost Finance Denies Rug Pull Allegations Amid $12M Exploit" (2022-12-30): https://www.coindesk.com/business/2022/12/30/defrost-finance-denies-rug-pull-allegations-amid-12m-exploit[web3defrost]— Web3 Is Going Great, "Defrost Finance fails to rug pull": https://www.web3isgoinggreat.com/?id=defrost-finance-fails-to-rug-pull
Discussion
Defrost Finance is useful to OAK as an example of an incident where the operator-exit versus key-compromise question is open. The mechanism (key-controlled fake collateral and oracle, mass liquidation) is documented by the team and by PeckShield's analysis as relayed in the press; the intent is disputed. Contributors should keep the T5.005 mapping marked as alleged unless stronger on-chain provenance is published.