Transit Swap Hack
Incident Overview
Transit Swap exchange was hacked due to the smart contract vulnerability. The hacker stole 28,900,000 $USD from users who approved their assets to Transit Swap. 65% of the stolen funds were recovered by the joint effort of the security teams.
Transit Swap is a multichain DEX, running on both Ethereum and Binance chains. The project was exploited by a hacker, and roughly 28,900,000 $USD worth of assets were stolen from user's addresses. The hacker deployed malicious smart contracts to exploit the swap contracts of the project on both chains. Due to the vulnerability of the swap contracts, which allows the hacker to use transferFrom() function to drain the user's approved assets and transfer them to another EOA address.
Within 24 hours after the hack, Transit Finance announced about the recovery of 65% of stolen funds in collaboration with other security teams. And consequently, Transit Finance published an article with a list of addresses involved in the hack and said that the total recovered funds are from the hacker involved in the attack with the largest amount, and the team is working on recovering the remaining stolen funds and formulating Bug Bounty rules.
Attacker address:
https://bscscan.com/address/0x5f0b31aa…98fbef
https://etherscan.io/address/0x5f0b31aa…98fbef
Address funds transferred:
https://bscscan.com/address/0x75f2aba6…bffd46
https://etherscan.io/address/0x75f2aba6…bffd46
Malicious contracts:
https://bscscan.com/address/0x8ca8fd9c…c68a34
https://etherscan.io/address/0x17ff6c94…f204ea
Recovering transactions:
https://etherscan.io/tx/0x3da18432…5e6a2a
https://bscscan.com/tx/0xd941c601…9c5f83
https://bscscan.com/tx/0x53495bd2…474e02
Incident Report
Protocol Information
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to Transit Swap, these are the critical security checks that could have prevented this incident (October 2022).
- Verify all logic paths related to Other are guarded by proper access controls and input validation
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialFunds Recovery
Recovered
$19.1M
Net Loss
9768199
Post-Incident Timeline
-
2022-10-11
240,000 $USD was fully recovered from 4th hacker with the help of BlockSec
Sources & References
Learn to Prevent the Next Transit Swap
The Transit Swap hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.