ReleaseAPI / Product · ActionableOpenAI Blog→ original

OpenAI and Cisco Release Shirudo: A Codex-Written Shield Stopped a Java4Shell Attack Without a Restart

When a service has a hole, patches take days to test, and the dangerous function cannot simply be shut off, because ordinary requests would stop working along with the attack. OpenAI and Cisco have released Shirudo as open source: Codex wrote a small eBPF program, a "shield," that was attached to a running Elasticsearch instance. In the test, the shield rejected the malicious input of a Java4Shell exploit, and the service was never restarted. Operators get temporary protection while the real patch is being prepared.

AI-processed from OpenAI Blog; edited by Hamidun News
OpenAI and Cisco Release Shirudo: A Codex-Written Shield Stopped a Java4Shell Attack Without a Restart
Source: OpenAI Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceOpenAI Blog ↗
Editor-in-Chief
Key metric #1The shield added input validation to Java's Base64 decoder on the fly
Key metric #2The operator approves the shield after a trial run against applications
The code is open sourceBSD 2-Clause license, with the BPF part under BSD and GPL

Imagine this: a vulnerability is found in your production service, an exploit is already moving across the network, and the patch has to be tested, approved, and rolled out. That takes days or weeks. You cannot shut the service down, and blocking the dangerous operation entirely is risky, because attackers and ordinary clients both use it. On November 23, 2026, OpenAI and Cisco presented Shirudo (Japanese for "shield"), an open project that targets exactly this window between "hole found" and "patch installed."

What the shield is and what problem it solves

In the project's terms, a shield is a temporary, targeted protection. It does not fix the bug in the code itself. Instead, it blocks the program behavior that the exploit uses to reach the vulnerability, while letting normal requests through. The difficulty is that a malicious and a legitimate request sometimes use the same Linux operation. If that operation is banned outright, the service crashes, so the rule has to be narrow.

The workflow goes like this. The security team first checks whether the shield blocks the dangerous behavior and whether it breaks ordinary requests. The operator then reviews how the proposed shield will affect applications and only after that approves it. Once approved, the shield is switched on while the service keeps running. When the real patch ships, the protection can be removed.

How it works: eBPF, signatures, and TPM

Technically, Shirudo is built on eBPF. This is a Linux mechanism that lets small programs run at designated points inside the operating system. It can be used to observe suspicious activity and attach protection to already running processes without a reboot.

The authors describe four pillars of the project:

  • Protection on a running system. Shields block vulnerable code paths without a restart, and their effect can be assessed in advance.
  • Working at machine speed. Shirudo is designed to give AI agents programmable tools: they study the vulnerability, prepare a shield, and test it against exploits and real load. Security specialists decide what gets deployed.
  • Trusted loading. Shields are cryptographically signed and verified before loading. The eBPF verifier built into Linux checks the program against its safety rules, and kernel mechanisms restrict unauthorized changes.
  • Hardware-level verification. A TPM module helps keep a verifiable log of which protections were loaded and removed. Using it, an operator can confirm that the system meets requirements.

The Java4Shell test

The illustrative example in the announcement is the Java4Shell vulnerability. Using Codex, the team generated a shield that adds input validation to Java's Base64 decoder. The shield was attached directly to a running Elasticsearch process. When an attack attempt was made, the shield rejected the malicious input, and Elasticsearch kept running without a restart.

Importantly, this was a controlled test, not a recorded attack in the wild. It shows the approach is feasible, but it does not prove it will work equally well on any service or vulnerability.

Open code and plans

Shirudo is released under the BSD 2-Clause license, and the BPF programs are dual-licensed under BSD and GPL. You can try it through a quick-start on a virtual machine, which shows how to sign, load, and verify a test shield. There is also a self-paced lab from Isovalent and a technical walkthrough from the Linux Plumbers Conference. A deep-dive webinar is scheduled for December 15.

The companies' goal is to publish verified shields alongside vulnerability disclosures, so operators can quickly assess and enable temporary protection. As OpenAI president Greg Brockman put it, a defense found by one team should not force everyone else to start from scratch. Next on the roadmap are hardening the kernel and core services, automatically generated policies that restrict application privileges, safer updates and recovery, and hardware attestation.

What to do in practice

Infrastructure teams should consider separating "protection" from "fixing." A temporary signed shield with a TPM-backed log buys time for proper patch testing. For those building AI agents, this is an example of a task where the model produces not a report but a concrete artifact that a human reviews and approves.

The caveats are obvious. The project is at an early stage, and autonomous vulnerability investigation by agents is currently described as a design goal. Only one test scenario has been shown publicly, so shields will need to be validated independently on your own services.

Story

Key Questions Answered

What the shield is and what problem it solves?

In the project's terms, a shield is a temporary, targeted protection. It does not fix the bug in the code itself. Instead, it blocks the program behavior that the exploit uses to reach the vulnerability, while letting normal requests through. The difficulty is that a malicious and a legitimate request sometimes use the same Linux operation. If that operation is banned outright, the service crashes, so the rule has to be narrow. The workflow goes like this.

How it works: eBPF, signatures, and TPM?

Technically, Shirudo is built on eBPF. This is a Linux mechanism that lets small programs run at designated points inside the operating system. It can be used to observe suspicious activity and attach protection to already running processes without a reboot. The authors describe four pillars of the project: Protection on a running system. Shields block vulnerable code paths without a restart, and their effect can be assessed in advance. Working at machine speed.

What are the key details on The Java4Shell test?

The illustrative example in the announcement is the Java4Shell vulnerability. Using Codex, the team generated a shield that adds input validation to Java's Base64 decoder. The shield was attached directly to a running Elasticsearch process. When an attack attempt was made, the shield rejected the malicious input, and Elasticsearch kept running without a restart. Importantly, this was a controlled test, not a recorded attack in the wild.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Hands-On AI Engineering · Hamidun Academy

Build & Ship Production AI Agents Without Boilerplate Code

Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.

Start 72h Free Trial →Vibe-Coding Intensive
What do you think?
Loading comments…