Introduction: Why Ethereum Needs Extra Protection

When you play a video game, you usually have a cheat code or a hint system that helps you understand the rules. The Ethereum network, which is like a huge digital playground for money and apps, needs a similar kind of help, but for security. Because billions of dollars move around Ethereum every day, someone could try to sneak in and steal or break things. That’s where red teaming comes in – a method where the good guys pretend to be attackers to find weak spots before the bad guys do.

Think of a red team as a group of friends who go around a house and try to pick the locks, climb through windows, or find hidden cameras, all with the homeowner’s permission. Their goal is to discover any way an intruder could get in. Once a weakness is found, the blue team – the house’s defenders – patches the problem so it won’t happen again.

In the world of Ethereum, the house is made of computer code, and the friends are security researchers. Traditionally, these friends would read line after line of code, looking for mistakes. But now they have a new, high‑tech assistant: AI agents. These bots are like super‑smart, super‑fast helpers that can examine massive piles of code, try out countless attack ideas, and even write up what they think they found. The article you’re about to read explains what these AI agents are, how they work, what one bug they uncovered actually was, and why, even with AI, human judgment is still the ultimate safeguard.

What Is Red Teaming and Why Is It Important?

Red teaming is the practice of hiring or organizing a group of security experts to act like hackers. They are given permission to attack the system, not to cause damage, but to reveal hidden vulnerabilities. The idea is simple: if you can find a flaw yourself, you can fix it before someone else exploits it.

In a typical red‑team exercise, the attackers might try to break into a web server, steal data, or take control of a critical service. Meanwhile, the blue team watches, learns, and defends. The result is a more robust and resilient system. In the case of Ethereum, the system is not a single building but a sprawling network of computers that run the same software. The Ethereum Foundation, the organization that oversees the network, sets up its own red team to test the software that keeps everything running.

Human red‑team members have long used manual code reviews, penetration tests, and sophisticated tools to find issues. However, Ethereum’s codebases are massive, and a human can only review a tiny fraction of it in a reasonable time. That’s where AI agents step in – they can look at thousands of files, run automated tests, and suggest potential problems at a speed no human could match.

Roles of the AI Agents

The Ethereum Foundation’s AI agents are not just random bots; they are organized into specialized roles, each with a clear job. Think of a small army where each soldier has a distinct mission:

Reconnaissance agents. These bots first explore the code and network, mapping out what services exist, how they communicate, and what cryptographic functions are used. They collect a huge amount of information, similar to a scout gathering intel before a battle.

Hunting agents. Once the landscape is known, hunting agents start looking for possible attack paths. They generate ideas like "what if this function is called with a malicious input?" and then try to see if those ideas can actually cause a problem. They are like skilled hunters tracking down clues.

Gap‑filling agents. Sometimes the hunting agents miss something because the code is new or obscure. Gap‑filling bots read documentation, study research papers, and even look at other projects’ security findings to make sure the Ethereum code is up‑to‑date with known threats.

Validation agents. After a potential bug is suggested, validation bots double‑check it. They run a proof‑of‑concept test that can be reproduced by someone who didn’t write the original code. If the test fails, the bug is not real, and the agent reports it as a false positive.

Each agent follows a strict schema: it must write down an observable proof, describe exactly what it found, and explain how it was discovered. This forces the bots to be specific and testable, not just vague “this looks risky” statements.

How the AI Agents Actually Work

To understand the AI agents, it helps to compare them with older tools called fuzzers. A fuzzer is a program that throws random or semi‑random data at another program to see if it crashes. It’s like dropping random objects into a machine to see if something breaks. Fuzzers are useful, but they are limited to testing a program’s input handling. They don’t understand the code’s logic or know about cryptographic weaknesses.

AI agents go beyond that. They can read the source code, understand the algorithm, and then propose scenarios that might expose deeper issues. For example, an AI might notice that a cryptographic function is implemented incorrectly, or that a smart contract has a logic flaw that lets someone withdraw more funds than they should. After suggesting a problem, the AI also creates a report that includes how severe the bug is, what system it affects, and even a step‑by‑step reproduction guide.

One key difference is that AI agents must generate a self‑contained artifact that reproduces the failure against real code. This means the AI doesn’t just say “this could be bad”; it actually builds a small test that anyone else can run, even if they didn’t write the original AI code. The test either runs successfully (meaning the bug is real) or it doesn’t (meaning the AI was mistaken). This requirement helps filter out false positives.

Another important aspect is the “judgment” part. Even though the AI can produce many findings, humans still need to look at each one, decide if it truly matters, and then fix it if needed. The AI is a tool that expands the amount of work humans can cover, but it doesn’t replace the need for human expertise.

The Real Bug They Found: libp2p Gossipsub Panic

Let’s talk about a concrete example of an AI‑discovered bug. The agents found a problem in a piece of software called libp2p’s gossipsub. Libp2p is like the internet’s backbone for peer‑to‑peer (P2P) communication, and gossipsub is a method for spreading messages among many computers quickly. Think of it as a group chat where messages are relayed efficiently to many participants.

The bug was a remotely triggered panic. In simple terms, this means that if someone sent specially crafted data to a Ethereum client using the gossipsub protocol, it could cause the client to crash or get stuck in an infinite loop. This is similar to sending a malformed packet to a router that makes it stop working, leaving the whole network vulnerable to outages.

The vulnerability was assigned a number: CVE‑2026‑34219. A CVE (Common Vulnerabilities and Exposures) is like a name tag for security holes, making it easy for researchers worldwide to discuss the same issue. After the AI reported the bug, the Ethereum Foundation’s team looked at it, confirmed it was real, and then fixed it. The fix was then disclosed publicly on GitHub, where other developers can see how the problem was solved and apply the patch.

Finding a bug that could crash a major part of Ethereum is a big deal. It shows how AI can help discover hidden problems that might take months or years for human analysts to uncover through manual testing. The bug’s discovery also demonstrates the importance of having an automated, persistent watcher that can test the network 24/7, not just during occasional human‑led reviews.

Why AI Findings Can Be Tricky

Even though AI agents are powerful, they are not perfect. AI models can be overconfident and produce findings that look convincing but are actually wrong. This is like a student who studies a textbook and writes an essay that sounds perfect, but contains a factual error because they misunderstood a concept. In security, these mistakes are called false positives.

Because the AI can generate hundreds or thousands of reports, researchers must sort through them. They need to filter duplicates (the same bug reported multiple times), remove false positives, and also check if a reported vulnerability can actually be exploited in a real environment. The researchers emphasized that a candidate bug is not considered a real finding until there is a self‑contained artifact that reproduces the failure against the actual code. This artifact must run for someone else who didn’t write the AI code, proving that the bug exists and is not just a theoretical possibility.

Another challenge is that AI may suggest attacks that look dangerous but are blocked by other parts of the system. In such cases, the AI might think it found a critical bug, but the real system’s security layers prevented it from being harmful. Humans must look at these cases and decide if the underlying weakness still matters or if it can be ignored because it’s effectively mitigated.

A Past Success: AI Helps Audit Zcash

The power of AI in blockchain security isn’t limited to Ethereum. In May, a security researcher named Taylor Hornby used Anthropic’s Claude Opus 4.8 model to audit Zcash, a privacy‑focused cryptocurrency. During the audit, the AI helped uncover a critical vulnerability in Zcash’s Orchard privacy pool. The bug had been present for about four years, allowing an attacker to create counterfeit ZEC (Zcash) without leaving an obvious trace on the blockchain.

To understand why this was serious, imagine a bank where you could print fake money that looks real but nobody could tell it was counterfeit. The Orchard bug could have allowed similar counterfeit activity in Zcash, threatening the currency’s trust and value. Thanks to the AI‑assisted audit, the flaw was discovered before it could be widely exploited. The Zcash community is now working on a network upgrade to restore confidence in the token’s supply.

This example shows that AI can be a valuable partner for any blockchain project, not just Ethereum. It can speed up the discovery of deep, hidden bugs that might otherwise go unnoticed for years.

The Ethereum Foundation’s Reasoning: Trade‑offs and Benefits

When the Ethereum Foundation decided to deploy AI agents, they weren’t expecting the AI to replace human researchers. Instead, they saw AI as a way to expand their coverage dramatically. As they wrote in their blog post, “AI didn’t replace the security researcher. It moved the work.”

By using AI, the team could test far more code paths than they could by hand. For instance, while a human might manually review a few smart contracts a day, an AI agent could scan dozens of contracts, generate potential attack scenarios, and produce testable reports. In exchange for this speed and breadth, the humans now need to apply more careful judgment because they receive many more “confident‑sounding” claims.

The foundation’s leaders emphasized that the judgment of security experts remains the most important product. The AI is just a tool that helps produce raw data; the humans must interpret, prioritize, and fix the real issues. They also noted that the trade is worth it, as long as the team remembers that the judgment part is what truly protects the network.

Human Judgment Still Wins the Day

At the heart of any security effort is a person making a decision. Even with AI agents constantly generating reports, a human must decide which bugs are critical, which are low‑risk, and which are false alarms. This decision‑making process involves understanding the impact of a bug, estimating how likely it is to be exploited, and knowing the remediation steps.

The researchers highlighted a simple rule: a candidate bug becomes a real finding only when there is a self‑contained artifact that reproduces the failure against the real code. The reproducer doesn’t read the write‑up; it just runs. If the reproducer works, the bug is real; if it doesn’t, the AI was mistaken. This rule ensures that human judgment is based on concrete evidence, not just AI confidence.

Because humans are needed for this judgment, the Ethereum Foundation continues to train and support its security team. They also encourage collaboration with the broader community, where other researchers can review AI findings, suggest improvements, and help fix the issues faster. In this way, AI amplifies human capability rather than replacing it.

Looking Ahead: The Growing Role of AI in Crypto Security

The use of AI in vulnerability research is still early, but the trend is clear. AI can scan millions of lines of code, understand complex cryptographic algorithms, and propose novel attack vectors far faster than any human could. As AI models improve, we can expect more accurate findings, better filtering of false positives, and even more specialized agents designed for specific blockchain platforms.

However, the reliance on AI also introduces new challenges. There is a risk that organizations might trust AI too much, assuming that a high confidence score means a bug is real. This over‑reliance could lead to wasted resources fixing non‑issues or, worse, overlooking real problems because they were hidden among a flood of AI reports.

The Ethereum Foundation’s approach offers a balanced view: adopt AI to increase coverage, but maintain rigorous human review. This model can become a template for other cryptocurrency projects, encouraging them to experiment with AI while keeping safety at the forefront.

Simple Summary: What a 13‑Year‑Old Can Take Away

Imagine you have a huge, complex video game world that contains valuable items and secret passages. The game developers want to make sure no one can sneak in and steal those items, so they hire a team of friends to act like hackers and try to break into the game. They call this “red teaming.”

Normally, these friends would look through the game’s code piece by piece. But now they have a super‑smart robot assistant that can look at the code in seconds, think of many ways to break in, and even write down what it thinks it found. These robots are called AI agents. They work in different roles: some explore, some hunt for problems, some fill in gaps, and some double‑check everything.

One day, the robot found a bug in a part of the game called libp2p’s gossipsub. The bug could make the game crash if someone sent the right hidden data. The developers fixed it and gave it a name (CVE‑2026‑34219). This shows how AI can discover real, dangerous issues quickly.

But the robot isn’t perfect. It sometimes thinks something is broken when it isn’t. So the human friends still have to look at every suggestion, run a test to make sure the bug is real, and decide what to fix. The humans’ judgment is the final safety net.

Other crypto projects, like Zcash, have also used AI to find serious bugs. The pattern is clear: AI helps cover more ground, and humans make the final call. As AI gets smarter, more projects will likely use these bots, but the key remains the same – people must stay in charge of security decisions.

So, next time you hear about AI helping keep a blockchain safe, remember it’s like having an ultra‑fast, ultra‑ observant friend scanning for trouble while you, the security expert, decide what really needs fixing. Together, they keep the crypto world a safer place for everyone.

Tags for the Article

crypto security, AI agents, red teaming, Ethereum, vulnerability research, blockchain safety, AI in cybersecurity, libp2p, CVE, Zcash