Shirudo mitigates in the kernel without a reboot; in Java, its demo took another path
On November 23, 2026, OpenAI and Cisco introduced Shirudo, an open source runtime for Linux. The idea is to protect a running system while the real patch arrives, without restarting the service.
The announcement comes with a concrete demo. According to OpenAI, in a controlled test a mitigation generated by Codex blocked an attempt to exploit Java4Shell against a running Elasticsearch, with no restart.
I read the announcement, the Isovalent technical post, the repository README, a good part of the documentation and the package that mitigates Java4Shell. The kernel part is serious. In Java there are two paths with different guarantees, and it pays to know which one the demo used before thinking about deploying it.
What exactly is Shirudo?
Shirudo is a platform that decides which BPF code can be loaded on a machine and keeps a record of every change. According to its security model, only loaders signed with the operator’s key can install BPF code, root included.
The pieces that get deployed are called upatches, micro patches. A kernel upatch is a BPF program written in C that hooks into a point in the kernel and blocks the path a vulnerability needs. There are also Java upatches, which are agents that modify JVM bytecode.
The operator signs each upatch with an ML-DSA-87 key, a post-quantum algorithm, and publishes it to an OCI registry. The protected machine downloads it; for BPF upatches, the kernel checks the signature against a sealed keyring, and Java ones are verified by Shirudo in user space. A TPM register records every load and unload.
Afterwards, shirudo attest returns TPM-signed evidence that the operator verifies offline.
There is no daemon and no open port. According to the FAQ, every operation is a command that runs once, by hand or from a systemd timer.
Where does it come from and why now?
It does not come out of nowhere. The Isovalent post, signed by Thomas Graf and Liz Rice, explains that Shirudo is a rewrite, designed for agents, of Tetragon, the eBPF platform Isovalent released in 2022. The design was presented earlier at Linux Plumbers Conference 2026, held in Prague from October 5 to 7.
The underlying thesis is that agents work better with code than with policy languages designed for people. That is why there is no configuration language: the mitigation is a small program that an engineer or an agent can read, generate and maintain.
The reason for the urgency is also written down. Isovalent argues that a critical fix takes days, weeks or months to reach most systems, and that more and more flaws are exploited before they are disclosed. That last one is the authors’ claim, not a fact I have been able to verify.
What happened in the Java4Shell demo?
Java4Shell is CVE-2026-114938, a memory corruption in the OpenJDK Base64 decoder. Calif published it on November 17, 2026 with a score of 9.2 in CVSS 4.0, the same day as Oracle’s patch and the CISA alert.
The flaw is in a routine optimized for x86-64 with AVX-512 VBMI. According to Calif, in recent versions an input of 64 “A” characters followed by an ”=” is enough to write outside the destination array; ARM processors are not affected.
Isovalent says it fed the vulnerability information to a control plane running Codex. The result was a mitigation written in Java bytecode, not eBPF, that validates the input before the decoder writes. They tested it against Elasticsearch 9.5.5 and the log shows the guard installed and an input rejected, dated November 18.
It is a test by the authors themselves in their own lab. I do not know of an independent reproduction, and the post says the mitigation “appears to be effective”, not that it has been validated against every variant of the exploit.
Why do I say that in Java the demo took another path?
Because the repository includes that same mitigation, the java-base64 package, and its README explains that it reaches a JVM in two different ways.
The first is the Shirudo way. The upatch is signed, measured in the TPM and applied with -javaagent through the JAVA_TOOL_OPTIONS variable. The Java agents documentation is explicit: a JVM reads that variable at startup, and one that is already running keeps its agents until it restarts.
On top of that, only JVMs started by a systemd user manager after the upatch is loaded see it. A system service, a container or a session that does not go through that manager needs the -javaagent on its own command line.
Even on the signed path, the documentation marks the scope: a Java agent is a mitigation inside the application, not a boundary enforced by the kernel. Root, or whoever starts the JVM, can start it without the agent.
It is worth reading next to what Cisco says: every signed mitigation can be verified before it runs even if the attacker has administrator access. Verification does hold on the signed Java path: the jar is checked and sealed. What does not hold against root is that the mitigation is applied, because root can start the JVM without the agent; only the BPF path gives that guarantee.
The second is for JVMs that Shirudo does not start, such as those in a container. The same jar is attached to a running process with java -jar java-base64.jar <pid>, the JVM attach API.
OpenAI and Isovalent say so openly: the mitigation was attached to the running Elasticsearch process. The demo log is consistent with it, with the guard installed from the Attach Listener thread, which is the one that mechanism uses.
The jar is signed, but the README does not say that the attach path verifies that signature or measures it in the TPM, as the documentation describes for the first. It presents it as the path for processes that Shirudo does not manage.
The live patching tutorial promises to close a kernel vulnerability and Java4Shell without restarting the kernel or the JDK. I read that as the JDK not being upgraded: the agent stays in JAVA_TOOL_OPTIONS for JVMs that start from that moment on, and the tutorial’s test launches a new JVM.
My reading: the no-restart demo in Java is real and disclosed. What remains open is whether that attach path carries Shirudo’s signing and measurement guarantees. The path that does document them requires the JVM to start.
What options did someone with Java4Shell have last week?
I put it in a table because the differences are easier to see side by side. Everything comes from the linked pages; where a source does not say, I note it.
| Option | Requires starting the JVM? | Signed and measured by Shirudo? | Source |
|---|---|---|---|
| Upgrade to the fixed OpenJDK or Oracle version | Yes | Not applicable | Calif, CISA |
Start with -XX:-UseBASE64Intrinsics or -XX:UseAVX=2 | Yes | Not applicable | Calif |
Shirudo Java upatch via JAVA_TOOL_OPTIONS | Yes; automatic only for JVMs launched by a systemd user manager, the rest add -javaagent by hand | Yes, verified in user space | Shirudo documentation |
Same jar attached with java -jar java-base64.jar <pid> | No | The README does not say | java-base64 README |
| Compensating controls: validate and limit Base64 input, restrict unauthenticated access | Depends on the application | Not applicable | CISA |
My own table, built from the Shirudo documentation and README, the Calif publication and the CISA alert. It is not a lab test.
Calif warns that -XX:UseAVX=2 should only be used on x86-64, because OpenJDK on ARM does not recognize the flag and fails to start. The java-base64 README insists that a patched JVM is the durable fix and that the agent is a mitigation in front of it.
What does the kernel part cover?
Here the model is cleaner, because eBPF does allow changing kernel behavior without rebooting it. A BPF upatch hooks into a point in the kernel, the eBPF verifier checks it and the program blocks the vulnerable path while the system keeps running.
The documentation includes a tutorial that goes from a kernel fix to an upatch, and the repository ships example packages for a kernel CVE, observability and application sandboxes. The FAQ is clear about the scope: an upatch covers the time until the machine boots a kernel with the fix. It does not replace the patch.
The security model is also honest about its limits. The intended adversary is root without the signing key: a compromised admin account, a container escape or a persistent implant. The FAQ adds that root with a path inside the kernel itself, such as a kernel exploit or a module signed with a trusted key, bypasses every check.
There are two more limits I find relevant for operating this.
First: until the key is revoked, any artifact it has ever signed can be loaded, so its custody is the real boundary. Revoking it takes a signed configuration image.
Second: a registry can withhold or replay old signed content.
Can I deploy it today?
Not in production, and the project says so. The README defines it as prerelease, and the FAQ answers that there are no stable releases or supported branches.
The requirements are demanding. The protected machine needs a bpf-next kernel with the signed loaders ABI and the Shirudo patches; according to the system requirements, the test kernel identifies as 7.4.0-rc1-bpf-next+. It also needs a TPM 2.0, with no fallback mode.
There is a side effect worth knowing before a pilot. The FAQ says that Cilium, Falco or bpftrace do not work as is on a machine with Shirudo, because only BPF loaded by signed loaders is allowed. Their logic would have to be packaged as signed upatches.
The repository was created on October 13, 2026 and, when I checked it on November 24, its only published tag was a test kernel prerelease from November 23. It is early, and that is not a flaw: it is the moment when it pays to read the design.
What changes when the author of the mitigation is an agent?
The OpenAI announcement describes a future in which agents research a vulnerability, write the mitigation and validate it against real exploits and workloads, while the security team decides what gets deployed. Cisco goes further: mitigations, it says, are only activated when the evidence indicates they are safe.
In the documentation I read, I did not find the agent that writes the mitigations. What is published is the platform that signs, loads, measures and verifies.
In the demo, according to Isovalent, the control plane was Codex. The repository does include instructions for coding agents that contribute to the Shirudo code itself, which is something else.
I think the design gets something important right: it does not trust the agent. It requires a signature, leaves a trail in hardware and lets you check afterwards what was loaded.
But the signature proves who approved the code, not that the code is correct. The question left for each team is who reviews a machine-written kernel mitigation before signing it, and with what tests.
What does the evidence not establish?
- That Shirudo stops Java4Shell in general. There is one lab test by the authors against Elasticsearch 9.5.5, with no independent replication that I know of.
- That the Java path without a restart has the same guarantees as the signed path. The
java-base64README does not claim it. - What it costs in performance. The documentation has an overhead page, but I have not seen independent figures.
- That it is ready for ordinary fleets. It requires a patched kernel and
TPM 2.0, and the project declares itself prerelease. - That an agent reliably writes correct mitigations. The demo shows one case; there is no published series of cases with hits and misses.
What would I do today?
- Apply the November 17 patch: Calif and CISA ask all Java users to do so, and it is urgent on x86-64 with AVX-512 VBMI. If you cannot, start with
-XX:-UseBASE64Intrinsics, the Calif mitigation. Shirudo does not change that priority. - If Shirudo interests you, try the quickstart in a virtual machine, which uses a software TPM. It is the right place to understand it.
- Before any pilot, inventory which eBPF tools already run on those nodes. According to the FAQ, they will stop working as is.
- Decide who holds the signing key and who reviews each upatch. That process is what turns a fast agent into a reliable mitigation.
Frequently asked questions
Does Shirudo replace patching?
No. The FAQ itself says so: an upatch covers the time until the machine runs a kernel with the fix. In Java, the package README calls the patched JVM the durable fix.
Is it the same as kernel live patching?
Not exactly. The documentation presents it as a complement to traditional live patching, with faster deployment. It also covers user space applications, like the Java case.
Do I need to know BPF to write an upatch?
It helps. Kernel upatches are BPF programs in C, and the documentation includes a guide to writing the first one. In the Linux Plumbers Conference talk, its authors say the natural author of those patches is an agent working in a close loop with the operator.
Does it work on ARM?
Shirudo targets x86-64, arm64 and riscv64, with different levels of testing according to the README. Java4Shell, on the other hand, only affects x86-64 with AVX-512 VBMI, according to Calif.
Sources
- OpenAI, OpenAI and Cisco introduce Shirudo, November 23, 2026.
- Isovalent (Thomas Graf and Liz Rice), Cisco and OpenAI introduce Shirudo, November 23, 2026.
- Cisco, Cisco and OpenAI Launch Shirudo, A New Project to Safeguard Agentic AI, November 23, 2026.
- Repository shirudo-dev/shirudo and package
java-base64, accessed November 24, 2026. - Shirudo documentation: FAQ, security model, Java agents, system requirements, live patching tutorial and quickstart.
- Linux Plumbers Conference 2026, shirudo: BPF live-patching infra for the agentic era.
- Calif, Java4Shell (CVE-2026-114938), November 17, 2026.
- CISA, Critical Java Vulnerability Requires Immediate Patching, November 17, 2026.