Digital Asset
Intelligence
BTC/USD—
ETH/USD—
SOL/USD—
S&P 500—
GOLD—
DXY—
Security Incident · ETH Ecosystem

Pickle Finance Fake currency for real currency: $20.00M Reported Loss

·Historical incident record

Ethereum DeFi project Pickle Finance was attacked, losing about 20 million DAI.

Reported loss
$ 20,000,000
Attack category
Fake currency for real currency

Incident Overview

According to SlowMist analysis, the attacker completes an attack by forging the contract addresses of _fromJar and _toJar when calling the swapExactJarForJar function in the Controller contract, and then transferring the fake currency in exchange for the real DAI in the contract. SlowMist indicates that the swapExactJarForJar function in Pickle Finance's Controller contract allows two arbitrary jar contract addresses to be passed in for token exchange. Among them, _fromJar, _toJar, _fromJarAmount, and _toJarMinAmount are all variables that users can control. Attackers use this feature, fill in both _fromJar and _toJar with their own addresses, and _fromJarAmount is the amount of DAI set by the attacker to extract the contract, about 20 million DAI.

Sources & References

This record presents information attributed to the linked sources. Incident dates describe the original event, not a new report. Reported loss figures reflect the source record and are not current market valuations.