Cisco and OpenAI release Shirudo to shield Linux flaws before patching
Cisco and OpenAI released Shirudo, an open-source tool that uses AI-written eBPF programs to protect Linux systems from the 100,000-plus flaws reported this year until patches arrive.
Photo: The RegisterKey points
Cisco and OpenAI released Shirudo, an open-source tool that lets AI agents write eBPF kernel programs to protect Linux systems until patches arrive.
Cisco and OpenAI have released an open-source tool called Shirudo to implement compensating controls in Linux, potentially improving security for users who cannot quickly patch newly discovered software flaws. The tool relies on eBPF, the technology that makes it possible to run sandboxed programs in the Linux kernel. Shirudo arrives as organisations face a flood of 100,000-plus software flaws reported this year, many after the debut of AI-powered bug finders. The increased volume of flaws, and patches to fix them, is a problem for many organisations which already struggle to test fixes or find change windows in which to implement them.
That problem has driven interest in compensating controls: changes to applications or infrastructure that harden them against flaws or malware without requiring a patch. Cisco and OpenAI argue that the privileges eBPF programs enjoy make them a fine way to implement such controls for Linux, and that agents should scan infrastructure for vulnerabilities and then use tools like OpenAI's Codex to write the controls as eBPF programs at machine speed.
Why eBPF matters here
eBPF programs are effectively kernel plug-ins but do not get unrestricted access to system resources. Developers have mostly used eBPF to create network functions that enable things like the open source Kubernetes observability and security tool Cilium, a Cloud Native Computing Foundation project. Shirudo is a new development of Tetragon, the security software Isovalent released as open source in 2022 and which Cisco acquired in 2024.
Tetragon uses a fixed language to define security policies; with Shirudo, AI agents can write program code directly for tailored protections. “Shirudo” is apparently the Japanese word for “shield,” so Cisco and OpenAI have called the eBPF programs the tool creates “shields.” The two companies envision humans checking every shield Shirudo creates before putting it into production.
The Java4Shell demonstration
The companies demonstrated Shirudo against the recently disclosed Java4Shell vulnerability in OpenJDK, which can let attackers run malicious code remotely. OpenAI's coding agent Codex generated Java bytecode that added an extra input check to the Base64 decoder to prevent exploitation. Developers activated the shield in a running instance of the search engine Elasticsearch, and a subsequent attack attempt failed according to Cisco while the service kept running without a restart.
That no-restart result is not always possible. The loading procedure for Java shields described in the documentation requires a restart when Java virtual machines are already running. Operators can watch how protections would affect running operations before activation, and they decide how far deployment is automated; the AI agents can then monitor application state and investigate attack attempts.
To stop the injection of manipulated or unauthorised programs, Shirudo uses cryptographic signatures that are checked before loading. The Linux kernel's verifier subjects the eBPF programs to an additional security check. With a Trusted Platform Module, operators can reliably trace which protections were loaded or removed, OpenAI and Cisco write.
What production requires
Shirudo is open source and available on GitHub under the BSD-2-Clause licence, with the BPF programs dual-licensed under BSD and GPL. It does not require a particular AI model and is still at an early stage of development. Production use requires a Linux kernel with special extensions and TPM 2.0, and interested users can already try Shirudo in a virtual machine or an interactive test lab.
Cisco and OpenAI are not alone in advocating compensating controls. Third-party software maintenance outfits like Rimini Street have used them for years to protect software when clients no longer have the right to access patches. VMware has introduced “virtual patching,” and Palo Alto Networks and Rapid 7 also like the approach and offer automation to develop controls.
Where Cisco and OpenAI differ is their decision to make Shirudo open source and their ambition that other players adapt and advance it. That offer is not entirely altruistic: if Shirudo takes off it could create more demand for Codex. Cisco's angle comes from owning Isovalent, an early champion of eBPF and the creator of both Cilium and the Tetragon sub-project on which Shirudo is based.
The security researcher Quang Luong of Calif independently discovered the same Java4Shell vulnerability in October using Codex, so the coding agent was used both to find and to shield the flaw. Shirudo's source code and test environment are published on GitHub, where the project's next step is adoption by operators willing to run it in a virtual machine or test lab before production.
Frequently asked questions
What is Shirudo?
Shirudo is an open-source security tool from Cisco and OpenAI that lets AI agents write and test temporary eBPF programs, called shields, to protect vulnerable Linux systems until regular security patches are installed.
How does Shirudo block attacks without a patch?
It uses eBPF to run sandboxed programs inside the Linux kernel. In the Java4Shell demonstration, Codex-generated Java bytecode added an input check to the Base64 decoder, and an attack on a running Elasticsearch instance failed while the service kept running.
What does Shirudo require for production use?
Production use needs a Linux kernel with special extensions and TPM 2.0. The source code is on GitHub under the BSD-2-Clause licence, the BPF programs are dual-licensed under BSD and GPL, and the project is still at an early stage of development.


