Cisco and OpenAI’s Shirudo Uses AI Agents to Shield Vulnerable Systems

| 5 min read

Shirudo takes aim at a widening gap in security response: software flaws can be exploited within hours, while permanent fixes still need time to build, test and deploy. The open source project from Cisco and OpenAI uses AI agents to create temporary protections inside running systems, giving defenders a way to contain attacks while teams prepare lasting patches.

The practical case is already tangible. In a controlled test, Shirudo blocked an attempted Java4Shell exploit against Elasticsearch while the search and analytics service continued operating. That result points to the project's central proposition: a security response can be applied at runtime, without waiting for a full application release or interrupting the service.

Temporary protection while patches are prepared

Shirudo is designed to generate a targeted mitigation, test whether it stops an exploit, and deploy it only after the protection has passed safety checks. Human teams can review and approve the proposed change, with control over whether it goes live. Once a permanent patch is installed, the temporary shield can be retired.

That workflow responds to a change in the speed of vulnerability discovery and exploitation. AI tools are helping researchers find flaws, while attackers can use automation to move quickly from disclosure to attempted exploitation. Cisco president and chief product officer Jeetu Patel has pointed to campaigns involving PHP2Shell and Java4Shell that were active within a day of disclosure, or possibly earlier. For security teams, a response window measured in hours leaves little room for ordinary patch cycles.

Patel argues that security needs to be built into infrastructure instead of added around it after systems are built. His concern is that protections sitting outside a running system can fall behind attacks that move rapidly. Shirudo reflects that view by placing its protections close to the operating system and the workload they defend.

AI agents also bring risks of their own. They can help defenders identify and mitigate vulnerabilities, but attackers can use agents to find and exploit weaknesses at scale. Shirudo is an attempt to give defenders a way to respond at a similar pace while keeping approval and deployment controls in the hands of security teams.

How Shirudo works inside Linux

The system builds on extended Berkeley Packet Filter, or eBPF, a Linux technology that runs small, sandboxed programs in the kernel. Because eBPF programs can operate without changing an application's source code or loading extra kernel modules, they can observe activity and apply focused protections to services that are already running.

Shirudo's guardian agents investigate suspicious activity, identify flaws and produce shields intended to block specific attack paths. They can reproduce an exploit, test a mitigation and repeat the process until they find a protection that works. In the Java4Shell demonstration, the system created a Java bytecode mitigation that could be injected into Java applications. It validated base64 input to guard against the exploit attempt.

The system places constraints around what an agent can deploy. Shields are cryptographically signed and loaded only after verification. Linux's eBPF verifier checks programs against safety rules, while kernel security controls limit unauthorized changes. A Trusted Platform Module (TPM) supports a verifiable record of protections added to or removed from the system.

Those controls matter because the agents may need to operate on machines an attacker has already accessed. Shirudo is designed to add protection in that situation as well, while monitoring application health, performance and potential false positives. Operators can also feed in red-team findings and other feedback to inform continued adjustments. The system tracks evidence for the controls it applies.

From Tetragon to agent-driven defenses

Shirudo builds on Tetragon, an open source eBPF security platform created by Isovalent, which Cisco acquired in 2024. The technology is already part of Cisco's Live Protect capability, but the project has been adapted to support AI agents directly.

Earlier workflows directed agents through interfaces designed for people, including consoles, configuration files and policy languages. That meant translating machine-generated reasoning into a human-facing format and then translating the resulting instructions back into machine code. Shirudo is designed to let agents work directly with code, a form they can generate and analyze effectively.

Isovalent co-founders Thomas Graf and Liz Rice describe agents as capable of absorbing large amounts of context and generating code, including from extensive assembly code. In practice, an agent can work from a newly disclosed vulnerability or search for vulnerabilities on its own. It can create mitigation code, reproduce and validate an exploit, and assess possible fixes. Once it identifies a workable shield, the system signs and distributes it to vulnerable nodes.

After deployment, Shirudo can count attempted exploits against the protection. Those hit counts give teams a way to investigate active attacks when needed. The mitigation process can run with different levels of autonomy, and monitoring continues as the system evaluates both protection and application health.

An open project with an operational test ahead

Shirudo is licensed under the BSD 2-Clause license, which permits use, modification and redistribution, including in commercial products. Its BPF programs are dual-licensed under GPL and BSD. The project invites developers, researchers and infrastructure operators to inspect the code, test its results and contribute.

The Elasticsearch demonstration shows how a temporary runtime shield could buy time without taking a service offline. The larger test will be whether teams can trust these protections across varied systems, workloads and attack conditions—and verify that automated mitigations stay safe as circumstances change. Shirudo's value will depend on that operational evidence, along with clear human control over deployment. For now, it offers a concrete model for shrinking the gap between discovering a vulnerability and getting a permanent patch into production.

Source: William Brown · www.csoonline.com