Transit Swap Hack
What happened
Transit Swap was exploited on October 2, 2022 after a vulnerability in its Cross Approve Proxy allowed an attacker to drain approved assets from user wallets. CertiK reported transfers of about 49,815 BNB and 5,182 ETH before the contracts were paused.
The Cross Approve Proxy insufficiently validated user-controlled transfer inputs, allowing unauthorized transferFrom operations against approved wallets. Revoking unused approvals was therefore an important containment step for previously interacting users.
How it happened
- Users had granted token approvals to Transit Swap.
- The attacker supplied crafted inputs to the Cross Approve Proxy.
- The proxy failed to constrain the transfer target and parameters, allowing unauthorized transferFrom calls.
- The attacker drained approved wallets and routed proceeds across chains; no stolen user private key is required by the published analysis.
Protocol details
Funds Recovery
Recovered
$19.1M
Net Loss
$9,768,200
Post-Incident Timeline
-
2022-10-11
240,000 $USD was fully recovered from 4th hacker with the help of BlockSec
Evidence
Proof of concept
1 availableSources
- report Twitter/X Alert twitter.com
- report Twitter/X Alert twitter.com
- report Rekt: Transit Swap rekt.news
- report Post-mortem medium.com
- report CertiK: Transit Swap incident report certik.com
- transaction Transaction bscscan.com
- analysis DeFiLlama defillama.com
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.