Leaderboard
640All-time rank
S

swapX

Feb 27, 2023

$1.0M
Lost
$1.0M
Recovered
$0
Net loss
$1.0M
Unrecovered0% recovered

swapX on BSC was exploited through a lack of access control in the 0x4f1f05bc function. The attacker repeatedly called this function to manipulate DND token prices and drain approximately $1M from user wallets that had approved the contract.

How the exploit worked

View reproducible PoC

Access Control.

Lost: ~$1M

Source: DeFiHackLabs (SunWeb3Sec)

Target
DeFi
Classification
Access Control
Technique
Improper Access Control
Attribution
Unknown
Chains
BSC

Event timeline

  1. Feb 27, 2023
    Exploit executed — $1.0M drained via improper access control
  2. Attributed to Unknown
  3. Recovery status Unrecovered 0%

Data credits

Related incidents