The agent wrote kernel code. The verifier checked it.
Shirudo lets a coding agent write live mitigations for unpatched Linux servers. The interesting part is the chain of checks that lets you run its code in your kernel at all.
On 23 November OpenAI and Cisco released Shirudo — Japanese for shield — an open-source runtime that applies temporary mitigations to running Linux systems while permanent patches are prepared. In their demonstration, a shield written by OpenAI's Codex blocked an exploit against a live Elasticsearch service without a restart.
The reason that is interesting is not that an agent can write code. It is that the code ran inside a kernel, and that a chain of checks existed which made that safe enough to attempt.
The problem it is aimed at
Between disclosure and patch there is a window. Testing and deploying a fix can take days or weeks, and during that window an attacker and a legitimate user may need the same Linux operation. Block the operation outright and you take the service down yourself; allow it and you leave the hole open.
Shirudo's answer is a narrow mitigation rather than a blanket block: a small program that interrupts only the path the vulnerability needs. It is built on Tetragon, the eBPF security platform Isovalent open-sourced in 2022 and which underpins Cisco's Live Protect feature.
Why eBPF is the right substrate, and the wrong one
eBPF lets small programs load at defined points inside the kernel without changing kernel source, which is why it can protect a process that is already running. The kernel also verifies every eBPF program before it executes, which is the property that makes this more than a clever trick: an agent can write whatever it likes, and the verifier still decides whether it runs.
That is the same shape as the last two posts on this site. In the Gödel piece a model produced 663 theorems and Lean's kernel sorted them into true, repairable and false. In the coding-agent benchmark, tests separated partial delivery from finished work. Here the verifier is the thing standing between a language model and your operating system.
How it is built
There is no permanently running daemon. An operator machine builds a shield — eBPF bytecode, or application bytecode for a runtime like Java — and ships it as a signed .bee package through an OCI registry. Each target pulls the package, validates the signature, and uses a TPM to keep a verifiable record of what was loaded and removed. Kernel security controls restrict unauthorised changes.
The design is deliberately boring in the places that matter: signing, attestation, and a verifier that is not written by the agent. The novel part is the loop around it — an agent that can read a disclosure, reproduce the exploit, try a mitigation, test whether the service still works, and iterate until it does.
The demonstration
Java4Shell, tracked as CVE-2026-114938, is a vulnerability in OpenJDK's Base64 decoder. The team fed the disclosure to Codex, which produced a Java bytecode shield that adds validation to the decoder's input, and attached it to a running Elasticsearch 9.5.5 process. The exploit attempt failed. Elasticsearch's own log recorded the guard:
{"log.level": "WARN", "message": "Base64 guard installed on java.util.Base64$Decoder.decode0 (classfile)"}
{"log.level": "WARN", "message": "Base64 guard rejected candidate: length=65, padding=1, remainder=1, alphabet=standard"}
A rejected input, a service still answering, and an audit line that says what happened. For a security team that is the shape of a usable mitigation.
What it does not do
The limits are documented, and they matter more than the demo.
Every target needs a TPM 2.0. There is no mode without one, which excludes older servers and virtual machines that have no virtual TPM. The kernel has to be yours. The signed-loader support lives in the BPF development tree plus Shirudo's patches, so a protected machine runs Shirudo's kernel build or one you maintain yourself. Java shields attach at JVM start. The demonstration needed no restart because the guard was attached to a running process; the documented route for a fleet picks a new shield up at each service's next start, which is a different claim from the headline.
And the project is pre-release: no stable releases, no supported branches. Help Net Security also notes the obvious caveat that the people who built the tool ran the test and set its conditions — which is not a criticism, but it is a reason to treat the demonstration as a demonstration.
The objection worth taking seriously. A security practitioner quoted by Bleeping Computer said the runtime-mitigation potential of eBPF is genuine, but questioned whether it is a good idea to let AI agents write rules that affect the kernel. That is the right question, and Shirudo's architecture is an answer to it rather than a dismissal: signatures, a verifier, kernel controls and a TPM record do not make the agent trustworthy. They make its output checkable, and checkable is what you actually need.
Why this pattern will keep recurring
Every domain where AI output has to be trusted is converging on the same design: let the model generate freely, then put a mechanical checker between the output and the consequence. Lean for proofs. Tests for code. A verifier and an attestation log for kernel changes.
What changes from domain to domain is who writes the checker and how much of the work it can absorb. That is the question to ask of the next announcement like this one, and the one the coverage usually skips: not "can the model do it", but "what checks it, and can I inspect them".
Sources
- OpenAI and Cisco, Introducing Shirudo, 23 November 2026.
- Cisco Isovalent, technical write-up with the Java4Shell walkthrough.
- The Hacker News, AI-assisted Linux security tool, 24 November 2026.
- Bleeping Computer, practitioner reaction; MATT.security, what it covers and what it does not.