Health Hack

TOTAL LOST $9K
Low Other

What happened

Price of the HEALTH token in a Uniswap pool was manipulated allowing the attacker to take a 33 BNB profit.

The exploit was possible due to a bug in the internal _tranfer() function of the token contract that was causing decrease of HEALTH in the pool.

The attack was performed in three transactions. Each transaction involved the following steps:

  1. Taking a flash loan of 40 WBNB;
  2. Exchanging the borrowed amount to HEALTH;
  3. Calling 999 token transfers with 0 value. Due to the bug in _transfer(), the number of HEALTH in the pool decreased each time, hence the token price was increasing.
  4. Exchanging the inflated HEALTH token to WBNB with profit.
  5. Paying back the flashloan

The attacker contract:

https://bscscan.com/address/0x80e5fc0d…1ea2d4

The attack transactions:

https://bscscan.com/tx/0xae8ca9dc…c66ccf

https://bscscan.com/tx/0x780f7128…e0266a

https://bscscan.com/tx/0x0daad55e…a3a462

Case & protocol details

Classification Token
Protocol Type Exploit/Other
Affected asset / contract HEALTH

Evidence & learning

Sources and on-chain records

Practice this exploit pattern safely

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.