Flamingo Finance, the primary DeFi platform on Neo N3, has been exploited through a vulnerability in its staking contract reward calculation. The attacker minted approximately 2.19 trillion FLM tokens, more than 3,500 times the pre-exploit circulating supply of around 570 million, and used them to drain liquidity from the platform’s trading pools. This is a developing story, and the Flamingo team is actively investigating.
How the exploit worked
According to Flamingo team members in the project’s Discord server, the vulnerability exists in the interaction between Flamingo’s lending and staking contracts. Atlazor, Flamingo’s lead developer, explained that when the lending contract calls the staking contract to release LP tokens, the amount is calculated incorrectly, causing the reward calculation to produce inflated results.
Mr.Google, Flamingo team lead, described a compounding issue in the staking contract that could be triggered when extremely small amounts were withdrawn. The attacker exploited this flaw to claim massively inflated FLM rewards, minting over 2.19 trillion tokens in the process.
neonewstoday.com