ASKACR Token Hack
What happened
On March 21, 2023, the ASKACR token on BNB Smart Chain was exploited through its reward logic. The attacker's profit was about 28,633 BSC-USD (USDT). CertiK put it at about $28K, and BlockSec reported a loss of about 85 BNB. CertiK reported the token's price dropped 98%, and Neptune Mutual later said it fell more than 99%.
According to BlockSec, ASKACR's transfer function paid rewards to holders of BSC-USD/ASKACR LP tokens on every transfer without checking the transfer amount. Neptune Mutual traces this through _beforeTokenTransfer into _lpShare. So a transfer of 0 ASKACR to an address holding LP tokens still paid that address a reward share. The attacker used one flash-loan-funded LP position and passed it through many freshly created contracts, collecting a new reward at each stop.
The live record says the flash loan came from Balancer and that the profit came from buying low and selling high. The transaction shows otherwise: the 160,000 BSC-USD loan came from pool 0x26d0...5618, and the profit came from the reward payouts.
Attacker: 0xb1899430b21f646b1b298a3f0c0707ea4047c53e
Attack contract: 0x559a352d205d5df7cd8021891ab9c680f7f278e2
Exploit transaction: 0xc20fa4953ff394bb806a57cafe71d1163973c0e5a47bb8dad1703a518b15ea3b
How it happened
- The attack contract flash-borrowed 160,000 BSC-USD from pool
0x26d0...5618. - It swapped 80,000 BSC-USD for about 7,602 ASKACR, then added 80,000 BSC-USD and about 2,074 ASKACR as liquidity, minting about 11,031 LP tokens (11,020.87 of which were used in the loop).
- It passed the 11,020.87 LP tokens among about 20 newly created helper contracts, roughly 175 hand-offs in all. At each stop a 0-ASKACR transfer to the current LP holder made the token contract pay it an LP reward, often around 10,000 ASKACR, which the helper forwarded to the attack contract.
- With the LP tokens back, the attack contract removed the liquidity for about 77,150 BSC-USD and sold about 265,323 ASKACR into the pair for about 111,483 BSC-USD.
- It repaid the 160,000 BSC-USD loan and sent 28,633.09 BSC-USD to the attacker's address. The reward-funded dump crashed the ASKACR price.
Protocol details
Evidence
- report @CertiKAlert incident report twitter.com
- report BlockSec thread on the ASKACR attack (via fxtwitter API) x.com
- report CertiK Skynet alert on ASKACR (via fxtwitter API) twitter.com
- transaction BscScan transaction 0xc20fa495...ea3b (Wayback capture 2023-06-14) web.archive.org
- transaction bscscan.com transaction 0xc20f…ea3b bscscan.com
- address bscscan.com address 0x559a…78e2 bscscan.com
- address bscscan.com address 0xb189…c53e bscscan.com
- analysis How Was ASKACR Token Exploited? - Neptune Mutual (Wayback capture 2025-03-17) web.archive.org
Understand the attack patterns
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.