Secured liquidity fails to prevent $14M crypto pool exploit

According to a Bitquery investigation published on Oct. 8, the PancakeSwap pool for 79thVault’s token, 79AU, suffered a loss of $14.35 million in USDT on Oct. 7 executed via two selling wallets.

Bitquery discovered that although 79% of the pool’s liquidity-provider receipts were burned, an internal permission within 79AU allowed tokens to exit the pool without any payment. These tokens were subsequently sold for USDT, circumventing the usual requirement to redeem a liquidity receipt.

Related Reading

Crypto hackers exploit third-party Aave tool to steal 114 ETH

According to PancakeSwap’s V2 documentation, LP tokens act as receipts signifying a provider’s proportional stake in a pool, existing independently from the two assets traded within it.

Standard redemption, as detailed in the exchange’s liquidity guide, involves a provider choosing a share to withdraw in exchange for both paired tokens. While sending receipts to an unreachable address blocks their redemption, it does not stop swaps, because trading involves exchanging underlying assets rather than cashing out a liquidity position.

Within PancakeSwap’s archived pair contract, distinct functions manage LP redemption, swaps, and updating tracked reserves so they align with token balances. The swap function evaluates token inputs without utilizing LP receipts, while the reserve-update function queries balances directly from the underlying token contracts. Consequently, destroying LP receipts fails to alter those contracts’ balance rules or strip a privileged address of its token permissions.

Related Reading

Base’s Cobalt upgrade adds another rule to affect token balances

What remained exposed

Bitquery uncovered two pull-authorized addresses at 12:53 UTC on Oct. 8: the deployer alongside a newly authorized wallet. Read-only simulations using either address indicated that approximately 95% of the pool’s remaining 79AU could be removed, though these read-only tests transferred no funds.

That exact snapshot also revealed a single wallet possessing the unburned 21% of LP receipts, retaining standard redemption privileges for that portion.

Related Reading

Cardano’s Splash fix patches the exploit, but leaves 2.4M ADA missing and holders trapped

Determining whether the reported exposure for 79AU has been resolved necessitates a new verification of that transfer permission.

Leave a Reply

Your email address will not be published. Required fields are marked *