Shirudo: OpenAI and Cisco's AI Shields Patch Linux Without Rebooting

OpenAI and Cisco have open-sourced Shirudo, a Linux runtime that lets AI agents write temporary eBPF shields to block live exploits while services keep running.
A shield for the gap between disclosure and patch
OpenAI and Cisco have released Shirudo, an open-source security runtime that lets AI agents generate targeted protections for running Linux systems. Human operators review and approve each protection before it is signed and loaded, so vulnerable services can stay online while teams test and deploy a permanent patch.
The runtime targets the patch gap: the period between a vulnerability disclosure and a completed rollout, when teams often face exploit attempts against production systems while they validate application behaviour, compatibility and rollback plans.
How a shield works
Shirudo calls each temporary protection a shield. A shield blocks the observable input, syscall pattern or code path tied to an exploit while letting legitimate traffic through.
The workflow runs in five steps. A guardian agent uses eBPF instruments to inspect relevant kernel, process and network activity, then writes a small eBPF program tailored to the vulnerability and the affected workload. Operators run the proposed shield in observe-only mode to measure matches and spot false positives. A human reviews the code and its observed effect before enforcement. Finally, Shirudo signs, verifies and loads the shield into the running system without restarting the protected service, and operators remove it after the permanent fix reaches production.
A real test against a live service
OpenAI and Cisco demonstrated the approach with Java4Shell, a Log4Shell-style vulnerability in which crafted input can trigger dangerous behaviour in a Java service. An AI coding agent generated a shield that added an input check at Java's Base64 decoder and attached it to a running Elasticsearch process. In the controlled test, the shield rejected the exploit attempt while Elasticsearch kept serving traffic without a restart.
Built-in safety checks
Shields are cryptographically signed, verified by the eBPF verifier, and attested via TPM hardware. Linux's extended Berkeley Packet Filter, or eBPF, allows small programs to run at approved hooks in the kernel and around application processes, so security tools can enforce narrow controls without building or loading a conventional kernel module.
The design keeps humans in the loop: deployment requires human approval, observation can run before enforcement, and the kernel verifier checks program safety before loading. The signing chain establishes each shield's origin and integrity, and TPM support lets operators verify the state each host reports.
What shields cannot do
Temporary shields work best when an exploit has a stable signal that available eBPF hooks can observe, such as a distinctive input pattern or syscall sequence.
The kernel's eBPF verifier checks memory access, execution bounds and other structural safety properties, but it cannot tell whether a valid program expresses the intended security policy. A verifier-approved shield can still block legitimate traffic, miss an exploit variant or add unacceptable overhead, so observe-only testing and human review are central. Production teams should also verify kernel compatibility, false-positive rates, overhead under peak load, rollback behaviour, and signing-key ownership and revocation.
Try it in a VM
The source code is available under the BSD 2-Clause license, with its BPF programs dual-licensed under BSD and GPL so they can load into the mainline Linux kernel. A documented VM quickstart covers signing, loading and verifying a test protection in isolation, and Cisco's Isovalent team, which develops Cilium and helped design Shirudo, has published a hands-on lab.
Publishing tested, signed shields alongside vulnerability disclosures could one day give operations teams a reusable mitigation during patch rollout. That model still needs trusted publishers, signature revocation, kernel compatibility data and clear expiration policies, so Shirudo is currently an open implementation and controlled proof of concept, with automated identification, validation and fleet-wide deployment as longer-term goals.
Comments (0)