The exploit stemmed from a pricing flaw in CoreVaultFarming._redeemPrincipalCore(), which settles via OracleLib.getAccountingPrices(). That function pushes the same-transaction Pancake WBNB/USDT spot price into a 3-sample window and returns the raw average, never invoking the library's spot/TWAP/average median selector. Net losses reached ~251.23 BNB (~$175K). The attacker seeded an 8-BNB position, flash-borrowed 207,358.41 WBNB, and retained ~152.26 BNB. The report urges the InsurancePool owner to sever the vulnerable Treasury and evacuate remaining reserves.

AI summary of the linked source — not editorial content.

Explore the topic

Loading related coverage…

Comments

Loading comments…