Security incident · 2022-10-02
Transit Swap
According to the public DefiLlama incident dataset, Transit Swap (Ethereum, BSC) suffered a security incident on 2022-10-02, with about $28.9M reported lost.
| Date | 2022-10-02 |
|---|---|
| Reported loss | $28.9M |
| Chain | Ethereum, BSC |
| Target type | DeFi Protocol |
| Technique class | Input Validation |
| Technique | Missing Input Validation |
| Bridge incident | No |
| Within 2022 | #16 by loss that year, 0.8% of all reported losses that year |
How this kind of attack works
The contract did not check the parameters it received, and the attacker passed crafted data that made it do something it should not.
Would a pre-payment check have helped
Missing input validation is a contract code defect for code audits.

