Breach Value Calculator

Shirudo eBPF Shields: OpenAI and Cisco's Stopgap for Unpatched Linux

Shirudo, from OpenAI and Cisco, shields running Linux systems until a patch lands. How it works, the Java4Shell test, its limits and what to check.

Shirudo is an open-source security tool, built on eBPF, that OpenAI and Cisco released on 23 November 2026. It puts a temporary "shield" in front of a known flaw on a running Linux system, so the flaw is harder to exploit while the real patch is tested and rolled out. It is a stopgap, not a fix. The patch still has to go in.

Sources checked 28 November 2026.

Most security teams know the uncomfortable stretch between "the fix is out" and "the fix is on every server". Testing, change windows and restarts all take time. OpenAI's announcement says a patch rollout can take days or weeks, and that blocking the risky behaviour crudely can take a service offline, because an exploit and a normal request may use the same Linux operation.

Shirudo is an attempt to narrow that stretch with targeted, signed, reversible protections. This post covers what it is, how a shield works, what the first public test showed, and what it does not do.

What is Shirudo?

Shirudo (Japanese for "shield", per OpenAI) is a runtime protection platform for Linux, built on eBPF. OpenAI describes eBPF as a way to run small programs at specific points in the operating system to observe activity and apply targeted protections. The Linux kernel checks each of those programs against safety rules before it runs.

A shield, in OpenAI's words, is a temporary safeguard that blocks the behaviour a vulnerability needs while letting legitimate requests through. The project's own documentation calls these packages "upatches".

Who built what:

  • OpenAI says it contributed frontier AI and security research. Its example uses Codex, its coding agent, to write a shield.
  • Cisco contributed infrastructure and security engineering. A companion post on the Isovalent blog, by Thomas Graf and Liz Rice, says Shirudo "has its roots in Tetragon", the eBPF security platform Isovalent open-sourced in 2022, and describes it as a rewrite of Tetragon designed for agents. The same post says Tetragon has been "the foundation for Cisco's Live Protect capability", which provides vulnerability mitigation in Cisco products.

The code is on GitHub under the BSD 2-Clause licence, with its BPF programs dual-licensed BSD and GPL. The README is direct about maturity: "shirudo is pre-release."

How do Shirudo eBPF shields work?

The Isovalent post lists three kinds of mitigation a shield can apply:

  1. Block the code path a vulnerability needs.
  2. Replace vulnerable code with fixed code.
  3. Watch: add visibility so attacks on that flaw can be detected.

A shield can also modify application bytecode or a user-space runtime, which is how the Java example works.

The delivery chain, as the sources describe it:

Step What happens Source
Build An engineer or an AI agent writes the shield, as an eBPF program or application bytecode Isovalent
Sign Shields are "cryptographically signed and verified before loading" OpenAI
Ship Signed packages go to targets through an OCI registry (the same kind of registry used for container images), each with an SPDX software bill of materials Isovalent, README
Approve "Once an operator approves the shield, it can be deployed while the service continues running" OpenAI
Record A Trusted Platform Module (TPM) keeps a verifiable record of protections being loaded or removed OpenAI

Two design choices stand out. Shirudo runs as a "one-shot CLI", so there is no permanently running daemon on the target or the operator's machine (Isovalent). And OpenAI says security teams "control what gets deployed": an agent can investigate a flaw and draft a shield, but a person approves it.

What did the Java4Shell test show?

Java4Shell is the Java Base64 decoder flaw we explain in our post on Java CVE-2026-114938. The Shirudo test used it as a live example.

OpenAI calls it a controlled test. Codex generated a shield that added an input check to Java's Base64 decoder. The team attached it to a running Elasticsearch process without a restart. When an exploit was attempted, in OpenAI's words, "the shield rejected the malicious input, blocking the attack while Elasticsearch continued running."

The Isovalent post adds the detail:

  • Version tested: Elasticsearch 9.5.5.
  • Mechanism: Java bytecode injected into the application, adding validation on Base64 input. This shield worked at the Java level, not as a kernel eBPF hook.
  • Evidence: the log shows "Base64 guard installed on java.util.Base64$Decoder.decode0 (classfile)", then "Base64 guard rejected candidate: length=65, padding=1, remainder=1, alphabet=standard".
  • Wording: the authors say the mitigation "appears to be effective". That is a careful claim, and a fair one for a single test.

Calif.io, the researchers who reported the flaw to Oracle, list Elasticsearch among products where they showed code execution after login, not before it. So the test protected a real, affected product, but not one of the six that Calif found open to attack without a login in default setups.

What are Shirudo's limits?

The sources are open about these, and they matter more than the demo.

  • It is pre-release. The README says production targets "require a Linux kernel with the signed-loader ABI and shirudo's kernel patches, plus a TPM 2.0." Our reading: that rules out installing it on most existing servers today. It is something to trial in a lab first.
  • A shield is not a patch. It covers one known flaw on one code path. The vendor's update fixes the bug itself. The Isovalent post says the Java shield protects the application "until OpenJDK itself has been patched."
  • Signing proves origin, not correctness. The threat model says it plainly: "shirudo establishes provenance, not correctness." A signed shield written by an AI agent can still be wrong, so it needs testing like any other change.
  • It trusts the kernel. The documentation says that if an attacker gets code execution or arbitrary writes in the kernel, "nothing that runs inside the kernel can police it."
  • It is not a replacement for built-in hardening. The docs say upatches "do not replace mitigations built into the kernel that make memory corruption hard to exploit."
  • No performance figures yet. None of the Shirudo sources we read publishes overhead or latency numbers.
  • Platform support is still settling. The docs say Shirudo "runs on x86-64, arm64 and riscv64", while the README says riscv64 target validation is pending.

Should your team trial Shirudo?

  1. Patch first. For Java4Shell, install your Java vendor's 17 November 2026 update and restart. A shield is for the gap before that, not instead of it.
  2. Trial it away from production. The project links a VM quickstart and an Isovalent self-guided lab.
  3. Decide your shield policy before you need it. Who may approve a shield, how long it may stay, who removes it when the patch lands, and where that is recorded.
  4. Treat every shield as a change. Test it against normal traffic, keep the unload step ready, and log both events.
  5. Ask your vendors whether their products will ship or accept shields, and how they will tell you when a shield is no longer needed.

Going deeper: for security and IT teams

Trust chain. Shirudo's core control is admission: per the documentation, "BPF is admitted only through loaders signed against the sealed BPF keyring", and "every load and unload is a signed loader the kernel verifies before it runs." Java upatches are verified in user space instead (README). On the target, the control plane is itself an eBPF program loaded during boot (Isovalent). shirudo init attaches boot-time guards from the initrd, shirudo status reports state, and shirudo attest returns TPM-signed evidence of the measured upatch state (README).

Who it defends against. The threat model page names root on the target as "the main adversary" and says "Root is not trusted because it is root." It also lists what stays open against root, which is the part to read before any deployment decision:

  • "No hook refuses signals, so root can also stop a running command."
  • dm-verity "does not protect process memory."
  • Any root process can extend the configuration measurement register, and the page rates detection of that as "none reliable."
  • There is a boot window before init attaches the gates, and "There is no fallback mode."
  • Without CONFIG_MODULE_SIG, the kernel "asks nothing and loads any module", so kernel module signing has to be on for the model to hold.

Key compromise. For a stolen operator signing key, the page states the blast radius: "every target whose .bpf keyring holds the key loads any loader it signed" until a configuration revokes it. It also notes that "every directive ever published is root's to apply at any time", meaning old unload directives can be replayed. Keep the signing key in hardware, separate signing from building, and rehearse revocation.

What the TPM proves. "A TPM 2.0 is mandatory and there is no unmeasured mode." But the page is precise about scope: the TPM authenticates the quote over the measurement register, and the rest of the attestation document is "the target's own account." Verify attestation from a separate system, not from the host being checked.

Signals to watch. The Isovalent post describes a hit count for attempts against shielded flaws. The threat model warns that "A counter is evidence of an attempt, not of a compromise" and "Zero does not mean that nobody tried." The README lists keepalive records sent to an OpenTelemetry collector, so a target that stops reporting is itself a signal. For a Java shield, application logs like the Elasticsearch lines quoted above are the most direct evidence; collect them centrally.

In practice: two stopgaps compared. For Java4Shell, a JVM start-up flag that disables the fast Base64 code was already a published workaround, covered in our Java post. That flag needs a restart. The Shirudo shield was attached without one. Calif rates the flaw 9.2 out of 10 under CVSS 4.0, and its published timeline runs from a crash report in an Adoptium support issue on 9 June 2026 to Oracle's fix on 17 November 2026. Shields aim at the next gap: the days between a fix being released and it being running on every host.

Questions for the project and your vendors. Which kernels and distributions will carry the signed-loader patches, and when? What is the measured overhead per shield? Who reviews an AI-written shield, against what test set? How is a shield retired once the patch is installed, and how does that show in attestation?

Key takeaways

  • Shirudo, released by OpenAI and Cisco on 23 November 2026, applies signed, temporary shields to running Linux systems until a patch is installed.
  • In a controlled test, a Codex-written Java shield blocked a Java4Shell exploit attempt on Elasticsearch 9.5.5 without a restart. The authors say it "appears to be effective".
  • It is pre-release. Production use needs Shirudo's kernel patches and a TPM 2.0.
  • Its own threat model says it proves where a shield came from, not that the shield is correct, and that it trusts the kernel.
  • Patch first. A shield only covers the gap before the fix is installed.

Learn more

Sources

Spotted a mistake? Report a correction.