🚨 HashDit Alert! 🚨
We have monitored that VES Finance has been compromised and drained for roughly $109k worth of funds.
The VECAndETH exposed a getReward() function. Internally, earned() -> calculateUSDTToETH(), which relied on PancakeRouter.getAmountsOut using a PancakeSwap liquidity pair price that had been manipulated via a flash-loan swap.
As a result, the attacker’s legitimate reward of 17.14 USDT was mispriced as a payout worth 76.11 BNB, whereas the fair value should have been only about 0.0096 ETH. In total, the contract paid 68.50 ETH to the attacker, with the remainder taken as fees.
Funds have been deposited into Tornado Cash.
Detected by our Internal HashDit AI Triage Monitor.
Stay safe!