Home NovaAstrax 360 Can AI Replicate Historical DeFi Exploits?

    Can AI Replicate Historical DeFi Exploits?

    Analyzing AI Capabilities in Crypto Hacks

    Between June 2011 and August 2026, DefiLlama documented 1,236 security incidents in the cryptocurrency space. Firepan conducted an extensive review of these events to determine if modern code-analysis agents could have identified the vulnerabilities and executed the exploits independently. The study found that for onchain DeFi, approximately two out of every three attacks are considered fully reproducible by AI.

    Specifically, out of 1,040 onchain DeFi incidents, 68% were classified as both discoverable and exploitable by AI. Another 12.9% were partially reproducible, meaning the vulnerability was visible in the code but required external elements to complete the exploit. When including centralized exchanges and wallet-based failures, the rate of fully reproducible incidents drops to 60%.

    Financial Impact and Vulnerability Trends

    While reproducible incidents account for 60% of the total number of hacks, they represent only 23% of the $20.12 billion lost during the study period. Conversely, non-reproducible incidents, which often involve complex key management failures or phishing, account for a larger share of total losses. The median loss for a reproducible hack is approximately $545,000, while the median non-reproducible hack results in a $3.3 million loss.

    Certain vulnerability types are consistently reproducible, including:

    • Improper access control (137 incidents)
    • Spot-price oracle manipulation (124 incidents)
    • Reentrancy (58 incidents)
    • Share-accounting errors (42 incidents)
    • Arithmetic errors (30 incidents)
    • Donation attacks (15 incidents)

    Large-scale attacks, such as those associated with the Lazarus Group, frequently rely on social engineering and infrastructure compromises rather than code-level bugs. For instance, the April 2026 attacks on Drift, Zerion, and Kelp highlighted different vectors: proxy hijacking, social engineering via messaging platforms, and cross-chain message spoofing. The only incident among these with documented AI usage was the smallest one, targeting Zerion.

    Why it matters

    The research suggests that while AI is becoming a potent tool for identifying common contract-level bugs, it is not yet the primary driver behind the most devastating multi-billion dollar thefts. As automated tools lower the barrier for exploiting standard code vulnerabilities, protocol teams must prioritize integrating AI-driven audits into their development lifecycles to stay ahead of attackers who are already leveraging these technologies to find and execute exploits at scale. You can review the full dataset at DefiLlama.

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here