AI Agents Uncover Real-World Bugs in Ethereum Protocol: Ethereum Foundation’s Protocol Security Team Details Method and Findings

The Ethereum Foundation’s Protocol Security team has successfully deployed coordinated artificial intelligence (AI) agents to identify critical vulnerabilities within the complex software infrastructure that underpins the Ethereum network. This pioneering effort, detailed in a recent announcement, marks a significant step forward in leveraging AI for robust protocol security, demonstrating its capability to uncover actionable bugs…

 Avatar

by

13 minutes

Read Time

The Ethereum Foundation’s Protocol Security team has successfully deployed coordinated artificial intelligence (AI) agents to identify critical vulnerabilities within the complex software infrastructure that underpins the Ethereum network. This pioneering effort, detailed in a recent announcement, marks a significant step forward in leveraging AI for robust protocol security, demonstrating its capability to uncover actionable bugs in real-world systems, including crucial network components like libp2p’s gossipsub. The team’s findings have already led to the disclosure of a remotely-triggerable panic in this core peer-to-peer layer component, now publicly documented as CVE-2026-34219.

This initiative moves beyond the mere detection of bugs, which the team acknowledges was not the primary surprise. Instead, the significant revelation lies in the efficiency of bug discovery and, more critically, the sophisticated process required to differentiate genuine vulnerabilities from sophisticated false positives generated by the AI. The methodology, designed to be shared with client teams and security researchers, focuses on organizational strategies, the stringent criteria for validating findings, and the disciplined practices necessary to maintain the trustworthiness of AI-generated security assessments.

The approach aligns with a growing trend across the technology sector. Leading organizations are independently converging on similar AI-driven security auditing frameworks. Anthropic’s Frontier Red Team, for instance, has developed AI agents capable of generating property-based tests that have identified real-world bugs within the extensive Python ecosystem. Similarly, Cloudflare has reported deploying a frontier model through a security research harness to scrutinize their own systems. The common thread across these efforts is the deployment of advanced AI models against codebases, followed by automated searching and rigorous manual triage of the results. The paramount challenge, therefore, is to effectively navigate the sheer volume of AI-generated information without becoming overwhelmed by confident yet inaccurate claims.

While the specific AI tooling and frameworks are evolving rapidly, with new iterations emerging every few weeks, this report deliberately emphasizes the enduring methodologies rather than fleeting technical implementations. The long-term value lies in the principles guiding the process, ensuring that the insights remain relevant even as the underlying technologies advance. Disclosure protocols, a critical but separate facet of security research, are noted as a topic deserving of dedicated future exploration.

AI Agents as Sophisticated Search Tools

At its core, an AI agent directed at a codebase functions as an advanced search tool, analogous to traditional fuzzing techniques. However, the output generated by AI agents is considerably more nuanced and informative than the crash reports and stack traces typically provided by fuzzers. AI agents deliver comprehensive reports that often include a detailed write-up, outlining the call chain, asserting the potential impact, and proposing an initial severity rating. Crucially, these reports are accompanied by verifiable artifacts, such as proof-of-concept exploits that can be executed against the actual code.

This rich output significantly enhances the readability and trustworthiness of the findings, with the runnable proof-of-concept serving as the ultimate arbiter of a bug’s reality. Consequently, the true measure of success is not the quantity of candidate findings an agent produces, but rather the number of those candidates that are demonstrably validated as genuine vulnerabilities.

Organizational Framework for AI-Driven Audits

The Ethereum Foundation’s Protocol Security team employs a decentralized and parallelized approach to running its AI agents. Multiple agents are tasked simultaneously against a single target codebase. Coordination is achieved organically through the shared repository itself, utilizing version control for state management and eschewing any centralized process for task allocation. An agent registers its identified claim within the repository, undertakes its assigned task, and then commits its findings.

This collaborative, repository-centric model draws inspiration from Anthropic’s approach to building a C compiler with a fleet of AI agents, which also relies on similar coordination mechanisms. The absence of a central coordinator simplifies development and maintenance, while simultaneously reducing the potential points of failure.

The roles and stages within this process are dynamically generated based on the nature of the security issues uncovered. The pipeline itself is not a novel invention, with Cloudflare describing a comparable sequence of operations: reconnaissance, parallelized hunting, independent validation, deduplication, and reporting. Cloudflare’s published insights played a formative role in shaping the Ethereum Foundation’s own methodology.

For a candidate vulnerability to be officially classified as a finding, it must satisfy a rigorous set of criteria:

  • Target: The specific component and entry point that a real-world attacker can practically exploit.
  • Invariant: The fundamental property or rule that must consistently hold true within the system.
  • Mechanism: The precise method or sequence of actions through which the invariant might be violated.
  • Success: An observable and measurable outcome, such as a system panic, a process stall, or the acceptance of demonstrably invalid input.
  • Reproducer: A self-contained artifact that can reliably reproduce the identified failure when executed against the live code.
  • Dedup: A unique identifier or key to prevent multiple agents from pursuing the same security issue concurrently.

This structured schema is deliberately implemented to enforce the articulation of specific, testable claims and to establish a clear definition of task completion. An agent that is required to document an observable proof of failure is compelled to move beyond vague assertions of potential risk and instead focus on concrete, verifiable evidence.

The Paramountcy of Reproducibility

Central to the entire process is a single, non-negotiable rule: a candidate vulnerability is not recognized as a genuine finding until a self-contained artifact exists that can reproduce the failure against the actual codebase. Furthermore, this reproducer must be functional for individuals who did not author it.

The reproducer operates independently of the AI agent’s descriptive write-up and is uninfluenced by the perceived confidence level of the AI’s assessment. It either functions, thereby confirming the vulnerability, or it does not.

The primary value of this reproducible artifact lies in its capacity to effectively filter out false positives. Over time, three common categories of AI misinterpretations consistently emerge, each representing a scenario where the AI incorrectly claims a success:

  • Speculative Execution: The AI generates a scenario that appears to trigger a failure based on its understanding of the code’s logic, but the execution path is not actually reachable in a standard operational configuration. This is akin to a test passing because it encounters a code branch that is never exercised in practice.
  • Unreachable Code: The AI identifies a potential bug within a segment of code that is never invoked during normal operation or under attack scenarios.
  • Misinterpreted State: The AI incorrectly assesses the system’s state at a critical juncture, leading to a false conclusion about a vulnerability.

These phenomena are not new to software security. They mirror the problem of a test case that passes not because it validates functionality, but because it fails to adequately test the intended conditions. The novelty introduced by AI is the sheer volume and speed at which these inaccurate "findings" can be generated, often with a high degree of apparent confidence. Consequently, the validation process must be automated to prevent human oversight from being overwhelmed. Relying solely on the AI to self-correct is an unreliable strategy.

Navigating the Signal-to-Noise Ratio

The overarching challenge in AI-driven security auditing is managing the signal-to-noise ratio. The vast majority of AI-generated candidates are ultimately incorrect, duplicative, or fall outside the defined scope of the audit. This is not a deficiency of the methodology itself, but rather an inherent characteristic of how it operates. The objective is to efficiently discard erroneous claims while rigorously substantiating genuine vulnerabilities with irrefutable proof.

Each candidate that progresses through the initial screening undergoes two independent evaluations. The first assesses whether a real-world attacker could practically exploit the vulnerability within a typical operational configuration. The second evaluates the cost-benefit analysis for the attacker: what resources are required to execute the exploit, versus the potential impact on the network if the vulnerability is successfully leveraged. A bug that can be triggered by any single peer presents a different threat profile than one requiring specialized access or substantial computational resources.

Furthermore, every candidate is cross-referenced against a continuously updated registry of known, resolved, or previously rejected security issues. This critical step prevents the agents from repeatedly identifying and reporting the same vulnerabilities, a common pitfall in automated discovery processes.

The acceptance rate of AI-generated candidates varies significantly depending on the target system. Auditing mature, extensively scrutinized codebases typically results in very low acceptance rates, a finding that is itself valuable. The conclusion, "extensive review yielded no new vulnerabilities," represents a significant security assurance. Conversely, when applied to less-explored code or systems with formal verification, where machine-checked proofs cover a model but deployed bytecode is assumed to match, a higher proportion of candidates may prove valid.

This observation about the triage process being the more demanding phase is echoed by other industry leaders. Cloudflare’s primary takeaway from their AI security initiatives is the strategic advantage of a narrowly defined scope over broad, unconstrained scanning. Anthropic’s property-based testing agent, for instance, generated approximately a thousand candidate reports. Through a combination of sophisticated ranking algorithms and expert human review, they were able to distill this down to a select tier of high-confidence findings, with an approximately 86% validation rate. The generation of candidates was demonstrably the less labor-intensive aspect of their work. While specific numbers for the Ethereum Foundation’s efforts are not being published, it is understood that such data, when tied to a particular target, would offer more insight into the target’s security posture than the general methodology.

AI’s Strengths and Limitations in Security Auditing

A clear-eyed assessment of AI’s capabilities and shortcomings is essential for effective deployment. The following table outlines the areas where AI agents excel and where they tend to mislead:

Good at Misleading at
Reading and synthesizing specifications and code together Identifying call chains that appear reachable but are not in practice.
Stating and verifying a concrete invariant Exploiting the success check (achieving a positive outcome incorrectly).
Drafting reproducible exploits from basic ideas Inflating the reported severity to match the dramatic nature of the write-up.
Suggesting potential root causes prior to detailed analysis Discovering bugs that span a sequence of valid steps.

The effectiveness of AI is not uniform across all tasks. As noted by Stanislav Fort, who has tested various AI models against real-world vulnerabilities, this phenomenon represents a "jagged frontier" – a model might successfully recover a complete exploit chain for one codebase but struggle with basic data-flow tracing on another. This variability underscores the necessity of independently verifying each candidate finding.

The final point in the table is particularly significant. A single AI agent session is adept at one-shot reasoning but often falters when dealing with vulnerabilities that manifest across a sequence of operations. In these instances, where each individual step is valid but the specific order of execution is critical, the AI is not the primary search tool. Instead, its role shifts to identifying potentially fruitful sequences that warrant further investigation using a stateful test harness. When employed in this supportive capacity, AI proves highly effective. However, when used as a substitute for such specialized harnesses, it risks overlooking the most costly and elusive types of bugs – those that emerge only through complex, multi-step interactions.

Maintaining Integrity and Trust

Several straightforward practices are instrumental in ensuring the trustworthiness of findings generated by AI agents. These habits, while not complex, are critical for maintaining the integrity of the security auditing process.

  • Independent Verification: Every candidate finding must be independently verified by human security researchers. This involves re-executing the reproducer, analyzing the logs, and confirming the exploitability and impact.
  • Strict Definition of "Finding": Adherence to a precise definition of what constitutes a confirmed finding is paramount. This includes the successful reproduction of the vulnerability and a clear articulation of its exploitability and impact.
  • Continuous Learning and Feedback Loops: Establishing mechanisms for feeding verified findings and false positives back into the AI models is crucial for their ongoing improvement and refinement.
  • Transparency in Reporting: All findings, including those that are ultimately rejected, should be documented with clear justifications. This transparency builds trust and aids in future research.
  • Adherence to Disclosure Policies: A well-defined and consistently applied vulnerability disclosure policy is essential for managing the responsible release of security information.

The Shifting Bottleneck in Security Auditing

The advent of advanced AI in security auditing has not rendered human security researchers obsolete. Instead, it has fundamentally shifted the nature of their work. The time and effort previously dedicated to formulating hypotheses and manually pursuing them are now redirected towards evaluating these hypotheses at scale. This includes the development of the AI’s "oracle" (its validation mechanism), the intricate process of triage, the ongoing maintenance of a database of known vulnerabilities, and the careful management of disclosure procedures.

The bottleneck has not disappeared; it has merely relocated. It has moved from the initial discovery phase to the critical stage of validating the AI’s output. This migration is beneficial because it places human judgment at the point where it is most impactful and necessary. However, it remains a significant bottleneck, and overlooking this shift can lead to the premature acceptance of flawed assurances, such as a confident but inaccurate declaration of system security.

The practices that underpin effective AI-driven security auditing are not novel. Reproducible failure demonstrations, robust validation mechanisms, and meticulous triage are the same principles that transformed fuzzing from an academic research topic into a standard industry practice over the past fifteen years. While the tools themselves are new, the underlying methodologies remain consistent.

The trajectory of AI tool evolution remains an open question. Nicholas Carlini, a respected figure in AI security who was initially skeptical, argues that the exponential growth projections for AI capabilities warrant serious consideration, even while acknowledging the inherent uncertainties and wide error margins associated with such predictions. If the AI’s generative capacity continues to accelerate at such a pace, the validation and judgment components of the process must evolve in tandem. Failure to do so will inevitably widen the chasm between the volume of AI-generated claims and the actual verified security posture of the systems under review.

For the critical infrastructure upon which Ethereum relies, this emphasis on rigorous judgment is paramount. AI agents empower the security team to cover a far broader attack surface than would be feasible through manual analysis alone. In return, this capability demands a more discerning and systematic approach to evaluating the deluge of confident-sounding assertions. This trade-off is demonstrably advantageous, provided that the critical role of human judgment in validating these claims is consistently recognized and prioritized as the ultimate product of the security auditing endeavor.

About the Author

About the Author

Easy WordPress Websites Builder: Versatile Demos for Blogs, News, eCommerce and More – One-Click Import, No Coding! 1000+ Ready-made Templates for Stunning Newspaper, Magazine, Blog, and Publishing Websites.

BlockSpare — News, Magazine and Blog Addons for (Gutenberg) Block Editor

Search the Archives

Access over the years of investigative journalism and breaking reports