OpenAI and Cisco open-source Shirudo, agent-written eBPF shields for live Linux
- Source
- openai.com
- Author
- OpenAITop Viber
- Date

Context
Shirudo, an open-source project from OpenAI and Cisco, is meant to protect a vulnerable Linux service during the days or weeks before a patch is installed, without taking the service offline. In OpenAI's announcement, the difficulty is that an exploit and a legitimate request may rely on the same operating-system operation, so blocking that operation outright can break the service. Shirudo's answer is a shield: a temporary, targeted safeguard that teams can test to confirm it stops the behavior the exploit needs while letting normal requests through, and then deploy on the running system once an operator approves it.
The runtime is built on eBPF, a Linux feature that lets small programs run at specific points inside the operating system, where they can observe activity or block it. The kernel's eBPF verifier checks each such against safety rules before it loads. OpenAI and Cisco say they are designing Shirudo so that agents get programmable controls to investigate a vulnerability, write a shield and validate it against exploits and real workloads, while security teams decide what is deployed. Shields are cryptographically signed and checked before loading, and a Trusted Platform Module, a hardware security chip, supports a verifiable of which protections were loaded or removed.
The one agent-generated shield the announcement shows in action was not an eBPF program. OpenAI says its Codex agent generated a shield for a vulnerability called Java4Shell that added an input check to Java's Base64 decoder and attached it to a running Elasticsearch , which then rejected the exploit attempt without a restart. The write-up of that test on Isovalent's blog describes the result as a mitigation written as Java bytecode injected into the . In that write-up, the system picks a mitigation point such as eBPF or the Java runtime and uses bytecode changes for vulnerabilities that are not suited to eBPF protections. The write-up says the mitigation appears to be effective, and OpenAI's announcement reports no measurements of performance cost or of legitimate requests wrongly blocked.
What exists now is an open runtime, under the BSD 2-Clause license with its eBPF programs also available under the GPL, plus one reported test of an agent-generated shield. Agent-written shields deployed widely, and tested shields published alongside vulnerability disclosures, are goals OpenAI states for the project rather than results. The code is on GitHub.
- Shirudo targets a specific tradeoff: an exploit and a legitimate request can rely on the same Linux operation, so blocking it outright can take a service offline. A shield is tested to block only the vulnerable behavior while legitimate requests still pass.
- Shields are eBPF programs, small programs that run at specific points inside the operating system, so they can block a vulnerable code path without restarting the service. Teams can watch how a proposed shield affects applications before enforcing it.
- In OpenAI's Java4Shell example, Codex generated a shield that added an input check to Java's Base64 decoder and attached it to a running Elasticsearch process. The shield rejected the malicious input while Elasticsearch kept running.
- Trust is layered: shields are cryptographically signed and verified before loading, Linux's eBPF verifier checks each program against its safety rules, and a TPM keeps a verifiable record of protections loaded or removed that operators can check against security requirements.
- Shirudo is BSD 2-Clause licensed, with its BPF programs dual-licensed BSD and GPL. The companies say the goal is to publish tested shields alongside vulnerability disclosures as temporary protection while permanent patches are prepared.
- Program — A set of instructions stored so that a computer can run it.
- Record — One unit of data in a file or table, such as one supplier's quote; distinct from a line of text.
- Process — A running instance of a program, with its own working memory, open files and identity.
- Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
Checking sign-in…
Loading comments…






