Audited DeFi Code Can Still Be Profitable to Exploit, Economic Modeling Shows

A clean audit confirms code correctness but does not establish that attacking a protocol would be unprofitable. Exploits such as the October 2022 Mango Markets attack, which drained roughly $110 million through price manipulation, arose from economic design flaws rather than code bugs. Auditors typically check whether code can be made to misbehave, while economic attack modeling asks whether a rational attacker could profit by following the rules. Flash loans have sharply reduced the capital cost of attacks, so the key question becomes the scale at which an exploit turns profitable. Oracle manipulation through shallow liquidity pools is a leading example of an attack class that can slip past conventional audits.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in