Shirudo eBPF Explained: OpenAI and Cisco's Pre-Patch Linux Shields
OpenAI and Cisco's Shirudo loads signed eBPF and Java "shields" that block an exploit on a running Linux server until the real patch lands. Here is how it works, what the Java4Shell demo showed, and why stock Ubuntu and RHEL servers cannot run it yet.

Status: Shirudo eBPF runtime from OpenAI and Cisco launched Nov 23, 2026 as a pre-release project; not yet usable on stock distro kernels.
Shirudo eBPF is an open-source Linux runtime from OpenAI and Cisco that loads small, signed "shields" into a running system to block an exploit while teams test and roll out the real patch. OpenAI announced it on November 23, 2026. Almost nobody can run it in production yet: the project calls itself pre-release and needs a patched development kernel plus a TPM 2.0 chip.
This article explains what a shield is, how one travels from an AI model into the kernel, what OpenAI's Java4Shell demo did and did not show, and how Shirudo's requirements compare with a typical Ubuntu 24.04 or RHEL 9 server. It also compares shields with kernel live patching and WAF rules, and ends with what Linux admins should do now. Facts come from OpenAI, Cisco, the project's GitHub README and documentation, and Isovalent, the Cisco-owned company whose engineers build it. Outside reaction is labeled as reaction.
What Shirudo eBPF does, and who can run it today
OpenAI describes Shirudo as a runtime that applies temporary protections, which it calls shields, to systems that keep running. In the code and docs, a shield is a "upatch": either a signed eBPF program for the kernel or a signed Java agent for a JVM, according to the project README. The code is BSD-2-Clause licensed, and its BPF programs are dual-licensed BSD/GPL.
Signing is central to the design. Cisco says every shield is cryptographically signed, so a host can check it before running it, even if an attacker has gained administrator access. SecurityWeek reports that Isovalent describes the project as an AI-focused rewrite of Tetragon, its existing eBPF runtime-security tool.
Who can use it today is a short list. The README says plainly that "shirudo is pre-release." Production targets need a kernel with a new signed-loader interface, Shirudo's own kernel patches and a TPM 2.0. The system requirements page adds that "shirudo has no compatibility mode and no fallback for an older kernel." SecurityWeek's report states that it is not ready for production use. In practice, Shirudo is for kernel developers, security researchers and teams willing to build a lab.
The gap Shirudo targets: bug found, server not yet patched
Every admin knows the gap between a fix being published and every server running it. Kernel fixes need a reboot. Java and PHP fixes need a restart inside a maintenance window. Some legacy boxes cannot be touched at all. OpenAI president Greg Brockman put it this way at launch: "finding a bug today doesn't mean you can patch every system tomorrow."
AI is widening that gap from the attacker's side, because models now find flaws faster than teams can patch them. ByteMuni covered one example in the Linux kernel flaws found in OpenAI's 948-LPE audit. Kernel developers have looked at the same gap. According to a Cloud Security Alliance (CSA) research note, stable-kernel co-maintainer Sasha Levin proposed a "killswitch" patch in May 2026. It would let admins disable specific vulnerable kernel functions at runtime. Reviewers worried about collateral damage and about attackers who already hold root.
How does Shirudo eBPF stop an exploit without a reboot?
eBPF is a Linux feature that lets small programs run at defined points inside the kernel. Before a program runs, the kernel's verifier checks it for memory safety, so a bad program is rejected instead of crashing the machine. A Shirudo eBPF shield is one of these programs, aimed at the one operation an exploit needs.
The system requirements page lists the attach points a Shirudo eBPF upatch can use:
BPF LSM hooks (Linux Security Module): checkpoints where the kernel asks whether an action is allowed, such as opening a file. A BPF program attached here can answer "no."
fentry and fexit: trampolines that run a program at the entry or exit of a kernel function. These need nothing beyond Shirudo's required kernel options.
fmod_ret: changes a function's return value, for example to return an error. It needs extra options such as
CONFIG_FUNCTION_ERROR_INJECTION.kprobes and uprobes: optional probes on kernel functions and on user-space functions.
One launch example, as described by i-SCOOP's analysis, shows how narrow a shield can be. It refuses a single splice into an AF_ALG socket, the step an exploit needs, inside a kernel security hook. Every other use of that socket keeps working.
The trust chain from operator to kernel
Shields are not loaded by whoever has root. The docs and the Isovalent write-up describe this chain:
Build and sign. An operator machine builds the shield and signs it. ML-DSA-87, a post-quantum signature scheme, is the only certificate and signature type Shirudo accepts.
Distribute. Per Isovalent, shields ship as signed
.beepackages through an OCI registry, the same kind of registry that stores container images. Targets pull them and check each signature.Kernel verifies. BPF upatch loads go through loaders that the kernel checks against a sealed
.bpfkeyring, according to the README.TPM records it. Shirudo reads TPM PCRs 9 and 11 and a config PCR, and extends PCR 9 and the config PCR. An operator can request evidence with
shirudo attest --challenge.

Java shields work differently. A Java agent upatch is a standard java.lang.instrument agent jar, signed by the operator and measured into the TPM log. The threat model notes that no kernel check covers a Java upatch, because it has no loader. Shirudo verifies it in user space instead.
The Java4Shell demo on Elasticsearch: what the shield did
OpenAI's headline example targets Java4Shell, which ByteMuni covered in its Java4Shell (CVE-2026-114938) explainer. Using Codex, its coding agent, OpenAI's team generated a shield that added an input check to Java's Base64 decoder. OpenAI says the shield was attached to a running Elasticsearch process. It rejected the malicious input, and Elasticsearch kept running without a restart. OpenAI calls this a "controlled test."
Isovalent's post adds detail. The guard was installed on java.util.Base64$Decoder.decode0 in Elasticsearch 9.5.5. Isovalent says the mitigation "appears to be effective" based on that single test, and that it is a stopgap until OpenJDK itself is patched. Neither company published performance numbers, failure modes or rollback behavior for the demo.
Running JVM or JVM startup? The sources differ
The Java docs and the demo describe two different paths. Readers should know which one they would actually get:
| Who says it | What they say |
|---|---|
| OpenAI launch post | The shield was attached to a running Elasticsearch process, with no restart. |
| Isovalent blog | The guard was installed by a thread named "Attach Listener," which is the name of the JVM's live-attach thread. Isovalent does not state the mechanism. |
| Shirudo docs (Java agent upatches) | A load adds -javaagent: to JAVA_TOOL_OPTIONS. "A JVM reads JAVA_TOOL_OPTIONS when it starts." A JVM that is already running keeps its old agents until it restarts. The page documents no attach-by-PID. |
A likely explanation is that the demo used the JVM's live-attach feature, outside the documented managed path. A DEV Community write-up says the java-base64 shield's own README offers java -jar java-base64.jar <pid> for this. ByteMuni has not confirmed that in the project files. Plan for the documented behavior: the managed path protects JVMs started after the load, and only those whose environment carries Shirudo's options.
There is a trap as well. GitHub issue #299 reports that once the java-base64 upatch is loaded, a JVM older than release 24 cannot load the agent and refuses to start. The issue gives an example: on a host running a Java 17 service and a Java 25 service, shielding the Java 25 one stops the Java 17 one at its next restart.
Cisco's post says Shirudo-written code also blocked exploit attempts against a PHP flaw. Cisco does not name the CVE, and neither OpenAI nor Isovalent mentions PHP.
Shirudo eBPF requirements vs a typical Ubuntu 24.04 or RHEL 9 server
This is where most readers stop. The table compares Shirudo's documented target requirements with what each distribution ships, using Canonical's and Red Hat's release notes.

| Requirement | What Shirudo needs | Ubuntu 24.04 LTS | RHEL 9 |
|---|---|---|---|
| Kernel | bpf-next kernel with the signed-loader ABI and Shirudo's carried patches. The test kernel reports 7.4.0-rc1-bpf-next+. | 6.8 kernel at release | 5.14-based (RHEL 9.4 ships 5.14.0-427.13.1) |
| Fallback for older kernels | None | Not usable as shipped | Not usable as shipped |
| TPM | TPM 2.0 at /dev/tpmrm0; no mode without a TPM | Depends on hardware or VM | Depends on hardware or VM |
| systemd | 256 or newer | 255.4 | 252 |
| Boot | Unified kernel image (UKI) booted through systemd-stub; in production the command line is part of the signed image | Check your boot chain | Check your boot chain |
| Signatures | ML-DSA-87 only (CONFIG_CRYPTO_MLDSA) | Needs the patched kernel | Needs the patched kernel |
| Operator compiler | clang and LLVM 23 with the BPF target | Defaults to LLVM 18; docs say add Debian unstable or apt.llvm.org | Not covered by the docs |
| Privileges on target | root | root | root |
Every stock distro kernel fails the first row of the Shirudo eBPF checklist, so the rest only matters once you build a custom kernel. To see how far a server is from the target, run these read-only checks:
uname -r # kernel version
systemctl --version | head -1 # systemd version (needs 256+)
ls -l /dev/tpmrm0 # TPM 2.0 resource manager present?
cat /sys/kernel/security/lsm # active LSMs; Shirudo needs "bpf" listed
grep CONFIG_BPF_LSM /boot/config-$(uname -r)If /dev/tpmrm0 is missing or bpf is not in the LSM list, that machine cannot be a Shirudo target. Even if every check passes, the server still needs the carried kernel patches. Once Shirudo is installed, shirudo init --check-only checks the ABI and LSM hooks properly.
For readers in India: Shirudo eBPF needs control of the whole machine. On shared hosting, and on most budget VPS plans, you cannot change the kernel, boot chain or TPM. Managed Kubernetes nodes run the provider's kernel. It is out of reach on all three until providers adopt it. ByteMuni found no hosting provider announcement about Shirudo support when it checked on November 25, 2026.
AI writes the shield: who approves it, and what a signature proves
OpenAI describes agents as the intended authors of shields over time. It says it is designing Shirudo so agents can investigate a vulnerability, develop a targeted shield and check it against exploits and real workloads. Humans stay in charge of deployment. In OpenAI's words, "Security teams control what gets deployed," and a shield goes out once an operator approves it. A Linux Plumbers 2026 talk by Isovalent's Daniel Borkmann and John Fastabend explains why there is no config language: agents work better with code directly.
The project is candid about what signing does not guarantee. Its threat model says that "shirudo establishes provenance, not correctness." A signature proves who approved a shield, not that the shield is right. The same page warns that a upatch does what its author wrote, "disabling enforcement included." Anyone holding the signing key can push loaders to every target that trusts that key until a config revokes it.
Reaction so far follows the same line. The CSA note warns of correlated failure. Shields roll out to every affected node at once, so one bad shield could take down a fleet, as CrowdStrike's 2024 faulty update did. CSA also calls the signing key a fleet-wide master key. It recommends lab-only use for now, staged ring rollouts, and keeping shield generation separate from validation. Amiram Shachar, CEO of cloud-security vendor Upwind, told SecurityWeek that "it needs to be tested, packaged and automated before anyone should trust it in production." Upwind sells competing runtime-security products. On Hacker News, commenters worried that shields could become a permanent excuse not to patch.
For background on how models find these bugs in the first place, see ByteMuni's hub on AI finding security bugs.
Shirudo vs kernel live patching, WAF rules and switching a feature off
Admins already have tools for the patch gap. The table compares them conceptually, with no benchmarks, because none have been published.
| Approach | What it changes | Restart needed? | Main trade-off |
|---|---|---|---|
| Kernel live patching (kpatch, Canonical Livepatch) | Redirects calls from a buggy kernel function to a fixed version, per the kernel docs | No reboot | Applies the actual fix, but only for kernel bugs and only on kernels the patch was built for |
| Shirudo eBPF upatch | Refuses one dangerous operation at a hook point | No reboot | Blocks the exploit path, not the bug. Per i10x's reading of the project's comparison page, it complements live patching and cannot replace a function body |
| Shirudo Java upatch | Adds a guard inside the JVM via a signed agent | JVM restart on the documented path | The application can undo it, and older JVMs may refuse to start (issue #299) |
| WAF or virtual patching | Filters HTTP requests before they reach the app | No | Sees only traffic that passes through it, and encoded payloads can slip past |
| Turning off the feature or module | Removes the vulnerable code path | Sometimes | Breaks anything that relied on the feature |
What Linux admins should do about Shirudo now
Keep patching on your normal schedule. Shirudo's own makers call shields temporary, and Isovalent calls the Java mitigation a stopgap.
Watch the Shirudo eBPF repo. Use GitHub's Watch, then Releases, on
shirudo-dev/shirudo, and read the open issues before trusting any shield.Try it in a lab, not on a server. The quickstart boots a local VM with a software TPM. Isovalent also runs an online getting-started lab linked from the README.
Run the checks above across your fleet. This shows how far each server class is from being a target.
If you plan a pilot later, decide the controls first: who holds the signing key, who approves a shield, and when it expires. CSA recommends HSM-held keys with dual control and an expiry date on every shield.
Follow the roadmap. Cisco lists a technical webinar on December 15.
My take on Shirudo
My read is that the signing and attestation design is the strongest part of the project, and the shield-writing agent is the least proven. The threat model is unusually honest. It says outright that a signature proves provenance, not correctness, so the hard problem moves from "can we load this safely" to "is this shield right."
That is a testing problem, and teams already struggle with it for ordinary code. A shield that blocks a call your app needs is an outage, and fleet-wide rollout makes it fleet-wide. I would treat any future shield like a production config change: canary first, watch hit counts, keep a tested unload ready. The Java issue also shows how a fix for one service can break another on the same host.
The bottom line on Shirudo
Don't plan a Shirudo eBPF production rollout. No stock Ubuntu or RHEL kernel can run Shirudo today, and the project says it is pre-release. If you run Linux at scale, spend an afternoon on the quickstart VM and track the repo, because the approach could shorten the patch gap once distros carry the kernel support. Until then, the fix for Java4Shell and every other CVE is still the vendor patch.
Frequently asked questions
Can I install Shirudo on Ubuntu 24.04 or RHEL 9 today?
Not as a protected target. Shirudo needs a bpf-next kernel with its signed-loader ABI and carried patches, and the docs say there is no fallback for older kernels. Ubuntu 24.04 shipped with a 6.8 kernel and RHEL 9 uses a 5.14-based kernel.
Does Shirudo replace patching?
No. OpenAI describes shields as temporary protections used while teams test and roll out patches, and Isovalent calls the Java mitigation a stopgap until OpenJDK is patched.
Do Java shields need a JVM restart?
On the documented path, yes. The Java agent docs say a JVM reads JAVA_TOOL_OPTIONS when it starts, and a running JVM keeps its old agents until it restarts. OpenAI's demo attached a shield to a running Elasticsearch process, apparently through the JVM's live-attach feature.
Who writes and approves a Shirudo shield?
In OpenAI's demo, Codex generated the shield. OpenAI says an operator approves a shield before deployment and that security teams control what gets deployed.
Can root on the server load an unsigned shield?
Not through Shirudo's gates. BPF loads must pass loaders that the kernel checks against a sealed keyring, and Cisco says hosts verify shields even if an attacker has administrator access. The threat model lists exceptions, such as classic BPF and programs loaded before Shirudo starts.
How can I try Shirudo safely?
Use the project's quickstart, which boots a local VM with a software TPM, or Isovalent's online getting-started lab linked from the README. Keep it away from production servers.
Concepts in this article
- Artificial intelligence
- Computer systems that perform tasks that normally need human intelligence.
- CVE
- The public identifier system for disclosed security vulnerabilities.
- Cloud security
- Securing cloud accounts, identities, storage and workloads under the shared-responsibility model.
- Data structures and algorithms
- The core toolkit of programming problems: how to store data and process it efficiently.
- Functions
- Reusable blocks of code; in JavaScript they are values that can be passed around and returned.
- GitHub
- A hosting platform for Git repositories, issues and CI.
- PHP
- A server-side scripting language behind much of the web, including WordPress.
- React hooks
- Functions such as useState and useEffect that add state and lifecycle to function components.



