Leaderboard
1292All-time rank
D

DAppSocial

Sep 2, 2023

$16K
Lost
$16K
Recovered
$0
Net loss
$16K
Unrecovered0% recovered

DAppSocial's lockTokens() function lacked validation that tokens were actually transferred, allowing an attacker to call deposit and create_deposit_record without sending funds. The attacker deployed a helper contract, deposited 2 USDT, set lock duration to 0, and withdrew without depositing tokens, exploiting the broken balance check.

How the exploit worked

View reproducible PoC

Business Logic Flaw.

Lost: ~$16K

Source: DeFiHackLabs (SunWeb3Sec)

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

Event timeline

  1. Sep 2, 2023
    Exploit executed — $16K drained via improper access control
  2. Attributed to Unknown
  3. Recovery status Unrecovered 0%

Data credits

Related incidents