Hack history / 2020 / Hack or exploit
Hegic
Hack or exploit on Apr 25, 2020 · Deposit Logic Flaw
SOURCES AGREE ON DATE AND LOSS · 2 SOURCES
Lost
$29K
dollars at the time
Returned
none listed
as the sources state it
Rank
#2,064
among thefts by dollars lost
What happened
Hegic's options contract had a typographical error using options.length instead of optionIDs.length, locking user funds after options expired. The developers ignored security audit warnings from Trail of Bits about critical flaws and rushed the contract to mainnet without fixes. Funds were recovered and users were refunded.
Details
- Date
- Apr 25, 2020
- Kind
- Hack or exploit
- Method
- Deposit Logic Flaw
- How in
- Smart contract bug
- Target
- DeFi protocol
- Chains
- Ethereum
After the theft
- Returned by the attacker
- yes, amount not stated
“Funds were recovered and users were refunded.” (DefiLlama) - Recovered or seized
- yes, amount not stated
“Funds were recovered and users were refunded.” (DefiLlama)
Reported by
Related incidents
Cite this page
SwanBluechip, "Hegic hack, Apr 25, 2020: $29K lost", Crypto hack history, https://swan-hack-tracker.pages.dev/history/i/htbe0022ba12/ (data as of 2026-10-31).