跳到正文
原文
BlockSec Phalcon· @Phalcon_xyz · X·· 2026-10-22AI 评分50
AI 导读

BSC 上 NEM 流动性池数小时前遭价格操纵攻击,损失约 82 万美元,攻击利用了 NEM 代币税收结算机制中 _flushLpSellRecycle() 的漏洞。

正文

A few hours ago, a NEM liquidity pool on #BSC lost ~$820K in a price manipulation attack that exploited a flaw in the NEM token’s tax-settlement mechanism.

The vulnerability lay in _flushLpSellRecycle(), which calculated the burn amount using pendingLpSellRecycle and burned NEM directly from the liquidity pool’s balance. It then called sync() to update the reserves, allowing the pool’s NEM price to be manipulated.

The attack proceeded as follows:
1. Transferred NEM directly to the pool to simulate sells and increase pendingLpSellRecycle.
2. Invoked skim() to recover most of the transferred tokens, reducing the attack cost without reducing pendingLpSellRecycle.
3. Invoked flushLpSellRecycle() to burn NEM from the pool. The burn amount was calculated as 70% of the pending amount, subject to pool-balance caps. The subsequent sync() call reduced the recorded NEM reserve, increasing NEM’s price relative to USDT.
4. Repeated steps 1–3 to raise the price further, then swapped NEM for USDT to realize a profit.

Attack TX: https://app.blocksec.com/phalcon/explorer/tx/bsc/0xfb093c96c0094cbcca10801f97ed2e5ed3d96550ce64b544df5a349545723f91

来源:BlockSec Phalcon · x.com