TheCentWise

Coding Agents Have Made DeFi Unsafe, Security Expert Warns

A leading DeFi security expert says AI-powered coding agents have made the space unsafe. The warning comes as attack losses spike and firms push for stronger controls.

Coding Agents Have Made DeFi Unsafe, Security Expert Warns

AI Coding Agents Prompt New DeFi Safety Alarm

In a high‑profile public message on May 26, Manuel Aráoz, co‑founder of smart contract security firm OpenZeppelin, warned that the DeFi ecosystem may be beyond safe for user funds. He told followers that the security terrain has shifted in a way that makes it hard to trust any protocol with custody of assets.

Aráoz said, in effect, that the entire DeFi space now carries unacceptable risk. He disclosed he has begun advising friends and family to exit DeFi positions, citing Aave, MakerDAO, and Compound as examples he no longer trusts. He framed the argument around the speed and thoroughness of AI-powered coding agents, which can scan and stress test code far faster than traditional security teams, while attackers need only one successful exploit to cause harm.

The claim hinges on a familiar security dilemma: defenders must cover every vulnerability, while attackers need only one to prevail. With AI coding agents automating much of the vulnerability discovery process, Aráoz argues that the traditional safety margin has narrowed to a dangerous degree.

Why AI Tools Are Changing the Risk Equation

The core concern is risk asymmetry. If AI agents continuously map smart contract logic and detect weaknesses within hours rather than weeks, a single exploited flaw can cascade across a protocol’s users before a patch lands. Aráoz argues that this shift has effectively upended the playbook for securing DeFi platforms and that the overall ecosystem has not kept pace with the tools that can undermine it.

Compound Interest CalculatorSee how your money can grow over time.
Try It Free

OpenZeppelin has long stressed layered security — but the current environment tests those layers. The firm notes that networked finance has seen a spate of incidents tied to credentials, operational lapses, and code released between audits more than to fundamental contract bugs. Still, Aráoz’s stance emphasizes how AI-driven scanning compounds existing risks and introduces a new speed to exploitation that many observers say is not yet matched by defense mechanisms.

Recent Hack Data and Market Context

  • OpenZeppelin’s latest review notes crypto hacks cost the industry more than $3.4 billion in 2025, with a significant portion tied to compromised credentials and operational failures rather than obvious contract flaws.
  • Across 2026, the pace of exploits has remained elevated, with attacks totaling more than $650 million in April alone. Specific incidents cited include a $292 million theft from KelpDAO and a $285 million drain from Drift Protocol, both attributed to social engineering and multi‑step breaches rather than a single bug.

Analysts say these figures illustrate a broader trend: even as audits and formal verification improve, the combination of human factors and AI-enabled attack playbooks fuels a volatile risk landscape that many DeFi developers struggle to keep up with.

Community Pushback and Data Points

The conversation on X drew swift responses from the sector. Proponents of risk management argued that a blanket claim of unsafe DeFi oversimplifies a complex environment where governance, parameter choices, and risk controls all play a role. Mark Zeller, founder of the Aave Chan Initiative, pushed back with data showing that fewer than 10% of DeFi issues over the past year stemmed from code‑level vulnerabilities. He argued that systemic risk often stems from parameter misconfigurations, collateral management flaws, and weak operational security rather than AI‑assisted code flaws.

Despite the debate, there is broad agreement that AI coding agents have changed the calculus for security teams. The industry is racing to build faster response loops, stronger credential hygiene, and more robust approval workflows to counter the new wave of AI‑driven testing and exploitation.

What This Means For Protocols And Investors

For DeFi protocols, the rising capability of AI to automate vulnerability discovery means security teams must accelerate their own modernization. This includes more frequent multi‑party approvals, continuous monitoring, and better isolation of critical funds. In an environment where coding agents have made it easier for attackers to identify weaknesses, protocols are pressed to close gaps before ambitious adversaries act.

Investors and builders alike are watching regulatory and industry responses, including increased emphasis on credential protection, bug bounty programs, and post‑audit patching speed. The conversation has shifted from whether DeFi is safe to how to manage risk in a world where AI‑assisted toolchains can compress the time between discovery and exploitation.

Practical Implications for DeFi Builders

Security teams are being urged to adopt stronger threat modeling that assumes AI agents will find surface flaws quickly. This means investing in layered security that includes offline key management, fast patch deployment pipelines, and rigorous governance that can pause funds when anomalies are detected. The aim is not to eliminate DeFi risk, but to reduce the window in which attackers can profit from a single exposed vulnerability.

Meanwhile, developers are asked to embrace transparency and continuous auditing. Projects that publicly share bug bounty results, audit updates, and security metrics can build more trust even as the risk landscape evolves. The industry acknowledges that no single protocol can be deemed perfect, but with coordinated responses to AI‑driven threats, some level of resilience remains possible.

Bottom Line: A Climate of Heightened Caution

The debate over whether coding agents have made DeFi unsafe is far from settled. What is clear is that AI‑powered tools have accelerated both threat discovery and the pace of response, forcing a rapid rethinking of security architectures, governance, and incident response. As 2026 deepens, the industry will need to show tangible improvements in how quickly and effectively it can identify, patch, and shut down exploits before users bear the costs.

For now, Aráoz’s warning—whether viewed as a caution or a call to action—underscores a pivotal shift: the era of DeFi safety may be giving way to a new era of proactive, rapid security postures in which coding agents have made risk management an ongoing sprint rather than a one‑time race.

Finance Expert

Financial writer and expert with years of experience helping people make smarter money decisions. Passionate about making personal finance accessible to everyone.

Share
React:
Was this article helpful?

Test Your Financial Knowledge

Answer 5 quick questions about personal finance.

Get Smart Money Tips

Weekly financial insights delivered to your inbox. Free forever.

Discussion

Be respectful. No spam or self-promotion.
Share Your Financial Journey
Inspire others with your story. How did you improve your finances?

Related Articles

Subscribe Free