A user added WBNB/ATM liquidity on BNB Smart Chain, then mistakenly transferred the resulting LP tokens into the ATM/WBNB PancakeSwap pair itself. A bot called the pair's own permissionless burn function to redeem that stranded liquidity in one transaction, for a reported 1,603.99 WBNB, per DeFiHackLabs, most of which the bot then paid away as a block-builder fee.
Security ·
Logged as “2026-06-22: Lp Token Burn on ATM”.
ATM trades against WBNB through a PancakeSwap V2 pair on BNB Smart Chain, at 0x9753A64fB7C233Fdc43f04daB9CcA88e1e229eBA. On 22 June 2026 a bot took a reported 1,603.99 WBNB out of that pair, not by manipulating ATM's own code but by calling a standard, unmodified PancakeSwap function against liquidity a user had put into the pool and then sent back into it by mistake.
The address 0xBE8351C14e5108A57A545DFA8669Fa31aA6aDC68 first added WBNB and ATM liquidity to the pair, receiving LP tokens that represented the position. In a separate, later transaction, recorded in the proof of concept as 0x5c27edc326e38641d8ce6093cd7f15ae5fca039f5fb988b7f10cb432e6e3a056, the same address transferred those LP tokens directly to the pair contract rather than keeping them in its own wallet or routing a withdrawal through PancakeSwap's router.
PancakeSwap's own pair contract, published in the project's pancake-swap-core repository, settles a withdrawal in its burn function by reading liquidity = balanceOf[address(this)], the LP balance the pair itself happens to hold, then redeeming it pro rata to whatever address the caller names. The function carries no check on who sent that LP in or why. Its own comment calls it "this low-level function should be called from a contract which performs important safety checks," meaning PancakeSwap's router is what normally enforces that only the party who just supplied the LP, in the same transaction, gets the payout. Calling burn directly on the pair skips that check entirely. Once the victim's LP tokens sat in the pair's own balance, anyone could claim them.
The attacker, 0x0EB4075C87cCD23a7AE1E00D77B043e4e8cC5894 per the published proof of concept, appears to have picked up the stranded LP from the public transfer transaction and drained it through a contract deployed at 0x48b549e6b551c151bd392bb9acab1f88263adf48, in one transaction:
burn on the pair naming itself as recipient, redeeming more than 1,600 WBNB and more than 99,000,000 ATM, the entirety of the victim's stranded position, per the proof of concept's own assertions.swap to push nearly all of the pair's resulting WBNB balance out to a third address, 0xa44729b6039C1A9Aa3D8e6AD063d66e7ca18B06b, reproducing a dust transfer visible in the recorded trace.0x1266C6bE60392A8Ff346E8d5ECCd3E69dD9c5F20, an address the proof of concept's comments identify as a block builder.0xfBa52f861E79C46333A308ba8f86bf136A44B2D3, a separate address the proof of concept labels the final profit receiver.DeFiHackLabs reports the total loss, from the victim's side, as 1,603.99 WBNB, drained in the single attack transaction 0x4e9f3dc3ce3c0a6aa19dae0f1384ff46e801b433b7e3bc4c780de486db6c950a named in the proof of concept. That figure is the value the stranded liquidity gave up, not the attacker's realised take: the builder payment alone accounts for roughly 1,572 WBNB of it, so most of what the burn produced went toward buying the transaction's place in the block rather than to the attacker directly.
No fix was owed at the contract layer. The pair behaved exactly as PancakeSwap's published code is written to behave, redeeming an LP balance it legitimately held. The failure sat entirely with the separate transfer that put the victim's LP tokens into the pair's own balance in the first place, outside the single transaction the router uses to prevent exactly this.
A separate token also trading under the ticker ATM on BNB Smart Chain was reported drained of about $243,500 on 4 June 2026, through unrelated logic in its transferFrom function that auto-swapped part of every transfer, per a report on that incident. Its contract address does not match the ATM token in this pair, and nothing ties the two beyond the shared ticker, so the two cannot be treated as the same protocol or counted as a repeat incident.
Query every incident yourself — free, no signup
Updated 9 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.