Journey of Awakening Hack
What happened
On October 12, 2022, an attacker took about $127,800 from Journey of Awakening's ATK token on BNB Smart Chain. According to CertiK, ATK's staking contract distributed rewards based on the current value of ATK, and the exploit reproduction shows that value came from the token's live PancakeSwap price. The attacker used a flash swap to crash that price for one transaction, claimed rewards at the crashed price, and received about 50.6 million ATK.
After selling the ATK, they sent most of the proceeds through Tornado Cash. ATK's price fell sharply; CertiK's alert reported a drop of more than 99%, while its later analysis said about 69%.
How it happened
- About 24 hours before the attack, the attacker deposited 970.4 ATK into the staking contract so they would qualify for rewards.
- From their exploit contract, the attacker flash-swapped almost all of the BSC-USD out of the PancakeSwap ATK/BSC-USD pair, about $130,000. With little USDT left in the pool, ATK's spot price collapsed.
- Inside the flash-swap callback, the attacker called the reward claim function (
claimToken1()). It priced the payout with ATK'sgetPrice(), which read the manipulated pool, so it paid out about 50.6 million ATK. - The attacker repaid the flash swap, sold the ATK for 127,677 USDT, and converted it to BNB.
- The attacker moved about 473.7 BNB to Tornado Cash.
Protocol details
Evidence
- report @CertiKAlert incident report twitter.com
- transaction bscscan.com transaction 0x5598…12cd bscscan.com
- transaction bscscan.com transaction 0x601b…9c32 bscscan.com
- address bscscan.com address 0x3df6…bb4f bscscan.com
- address bscscan.com address 0xd7ba…0231 bscscan.com
- analysis Journey of Awakening Incident Analysis - CertiK certik.com
- analysis CertiK Alert post on Journey of awakening (ATK) (via FxTwitter API mirror of the X post) api.fxtwitter.com
- analysis BlockSec thread: ATK on BSC was attacked (via FxTwitter conversation API) api.fxtwitter.com
- analysis DeFiHackLabs ATK_exp.sol PoC raw.githubusercontent.com
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.