A Java exploit hits a running Elasticsearch server, and a shield that was not there seconds earlier rejects the malicious input while the service keeps running. That is the demo OpenAI and Cisco used on 23 November 2026 to launch Shirudo. Two days later, an independent researcher published a study showing where Shirudo’s own telemetry stops seeing.
In short: Shirudo is an open-source Linux runtime that loads small, signed eBPF or Java programs, called upatches, to block a known vulnerable code path until the real patch lands, with a TPM recording every change. It is promising and well engineered, but it is pre-release, needs a bleeding-edge kernel, and its observability layer has documented blind spots that defenders should understand before they trust it.
- What is Shirudo?
- Why did OpenAI and Cisco build it?
- How does Shirudo work?
- What did the Java4Shell demo show?
- Who can run Shirudo today?
- Where are Shirudo’s blind spots?
- How does Shirudo compare with other approaches?
- How should defenders detect and monitor eBPF shields?
- What should teams do now?
- Open questions
- The bottom line
- Sources
What is Shirudo?
Shirudo is a BPF-based security platform for Linux. Its name is Japanese for “shield”, and its main job is what the industry calls virtual patching: stopping exploitation of a bug without changing the vulnerable software itself.
eBPF (extended Berkeley Packet Filter) is a Linux kernel feature that runs small, verified programs inside the kernel without loading a kernel module or rebooting. A TPM (Trusted Platform Module) is a hardware chip that can record measurements and sign them, so a remote party can check what a machine loaded.
Shirudo combines the two. Operators write upatches, sign them, and push them to Linux targets, and the target’s TPM keeps a tamper-evident record of what was loaded or removed.
The project at a glance
| Item | Detail |
|---|---|
| Announced | 23 November 2026, by OpenAI and Cisco |
| Repository | github.com/shirudo-dev/shirudo, created 13 October 2026 |
| Licence | BSD 2-Clause; BPF programs dual BSD/GPL |
| Main language | C |
| GitHub stars / forks | 2,566 / 276 (GitHub API, 30 November 2026) |
| Status | Pre-release, “not yet” production ready per its FAQ |
| Roots | A rewrite of Isovalent’s Tetragon, per Cisco |
| First public talk | Linux Plumbers Conference 2026, Prague |
Why did OpenAI and Cisco build it?
The problem they describe is the patch gap. OpenAI says testing and deploying a patch can still take days or weeks, and Cisco’s Isovalent post says fixes can take months to reach most systems. The Isovalent authors, Thomas Graf and Liz Rice, go further and argue that the mean time to exploitation has turned negative, meaning some bugs are exploited before they are public.
Blocking a risky operation outright is often not an option, because an exploit and a legitimate request may use the same Linux operation. A shield has to reject only the malicious shape of the input.
The second motive is AI. Isovalent argues that agents work best in code rather than consoles or policy languages, and Shirudo is designed so that an agent such as OpenAI’s Codex can write, test and propose a mitigation. OpenAI president Greg Brockman framed it as giving defenders better models and tools to find and fix vulnerabilities faster.
How does Shirudo work?
Shirudo is a one-shot command-line tool with no permanently running daemon, either on the target or on the operator’s machine. The target’s control plane is an eBPF program loaded during boot.
The upatch lifecycle
An upatch is a small, self-contained program, either BPF C for kernel hooks or a Java agent for application code. The operator builds it, signs it with an ML-DSA-87 key (a post-quantum signature algorithm), and publishes it as a signed .bee package to an OCI registry, the same kind of registry used for container images.
The target pulls the package. The kernel checks the loader against a sealed .bpf keyring before anything runs, and the TPM extends a per-boot register for each load, unload or revocation. The shirudo attest command then produces TPM-signed evidence that the operator can verify offline.
Three kinds of mitigation
Isovalent lists three things an upatch can do: block the path a vulnerability needs, replace vulnerable code with fixed code, or add visibility so attacks can be detected. For bugs that eBPF cannot reach well, Shirudo can push signed Java bytecode changes instead.
OpenAI adds that teams can watch how a proposed shield would affect applications before switching it to enforcement, which is the usual safe path for any inline control.
Protecting itself from root
The unusual part is the threat model. Most Linux security agents assume root is trusted. Shirudo’s documentation states plainly that root is not trusted just because it is root. Once its guards attach from the initrd, its LSM hooks refuse unsigned BPF loads and refuse attempts by userspace to detach or replace its programs.
What did the Java4Shell demo show?
The launch demo used Java4Shell, a heap corruption bug in OpenJDK’s Base64 decoder that we covered in Java4Shell: 65 characters that corrupt the Java heap.
According to Isovalent, Codex acted as the control plane. It reproduced the exploit, chose a mitigation point, generated Java bytecode that adds an input check to the decoder, and repeated until the mitigation worked. The shield was attached to a running Elasticsearch 9.5.5 process, and the exploit then failed.
The published Elasticsearch log shows the guard installed at 12:14:43.334 UTC on 18 November 2026 and a rejected input of length 65 about 22 milliseconds later. The service did not restart.
What the demo does not prove
Both vendors call it a controlled test, and Isovalent says the mitigation “appears to be effective”. Neither post gives the time it took Codex to produce the shield, a false-positive rate, or results against a variant of the exploit. One vendor-run demo on one bug is a proof of concept, not a benchmark.
Who can run Shirudo today?
Very few organisations, by design of the current release. The system requirements page lists:
| Requirement | Detail |
|---|---|
| Kernel | bpf-next with the signed-loader ABI; a release number does not identify it |
| Extra kernel patches | Carried patches for several LSM hooks plus upstream keyring and ftrace commits |
| TPM | TPM 2.0 is mandatory; “there is no mode without a TPM” |
| Boot | Unified kernel image via systemd-stub, dracut systemd initrd, systemd 256+ |
| Architectures | x86-64 and arm64 tested; riscv64 not yet booted |
| Operator host | OpenSSL 3.5+, clang/LLVM 23, LuaJIT |
The FAQ says the project plans a mode for older kernels and a no-TPM mode before the first release, for environments where root is trusted. Until then, the practical way to try it is the VM quickstart, which uses a software TPM.
If you want to check exposure in the other direction, the question is not whether you run Shirudo but whether you rely on any eBPF-based tool for detection. Its telemetry limits, below, apply in spirit to that whole class.
Where are Shirudo’s blind spots?
On 25 November 2026, a GitHub user published tatewari, a BSD-licensed study of what Shirudo’s bundled kernel-obs upatch records. kernel-obs is the observability package that tracks process executions, network peers and DNS lookups.
Its author’s thesis is that a metadata-only observer writes down traffic but does not interpret it. The README is careful to call it a demonstration against a model and a test target, not an attack on a live deployment.
The traffic plane
The first part models a reference agent sending data out through DNS names, port choice, request timing and HTTP parameters, while a Shirudo-style observer exports what it saw and a set of detectors judges the records.
Of 13 scenarios, five evaded the declared detectors, four were caught, three were judged inconclusive and one was stopped outright by a prevention shield. Tighter thresholds, such as a stricter DNS entropy rule or a lower per-peer byte budget, turned evasions into catches.
The evidence plane on a real target
The second part ran ten scenarios against Shirudo’s own test target, a CI kernel built on 23 November with kernel-obs loaded and measured. Eight claims held exactly as modelled. Two were wrong, and the author published the corrections.
Confirmed gaps include:
- DNS TXT answers: only A and AAAA records are parsed, so a TXT answer is counted as bytes but its name never reaches the table.
- Off-port DNS: answers are parsed only from the configured resolver port.
- NXDOMAIN: a failed lookup is never stored, so which names appear at all can carry information.
- Name eviction: four DNS names are kept per address, so a fifth lookup pushes out the oldest.
- Table capacity: with 1,040 peers offered, 1,024 were recorded and 16 counted only as overflow.
- Hash bucket limits: after eight colliding keys, one peer’s totals were split into two entries.
The two corrections matter too. A packet with no socket behind it was still recorded, just without an identity. And a partial export did not lose data on this target, because Shirudo’s own reader takes each interval in one pass.
Why this matters
None of this breaks Shirudo’s signing or its shields. It shows that kernel-obs is a counter, not a content inspector. Shirudo’s own threat model already says telemetry has no proof of origin beyond attestation quotes and that Java agents are a mitigation, not a boundary against root.
How does Shirudo compare with other approaches?
| Shirudo | Tetragon | Kernel live patching | |
|---|---|---|---|
| What it ships | Signed BPF or Java upatches | YAML TracingPolicy | Native replacement functions |
| Checked by a verifier | Yes, BPF verifier | Policy runs as BPF | No, per Shirudo FAQ |
| Kernel builds per patch | More than one | Not applicable | One |
| Policy at runtime | None accepted | Yes | Not applicable |
| Trusts root | No | Yes, per Shirudo FAQ | Not stated |
| Hardware attestation | TPM required | Not stated | Not stated |
| Production ready | No, per its FAQ | Basis of Cisco Live Protect | Widely used |
The project positions upatches as cover for the time between upgrades, not a replacement for them. Its FAQ says live patching and Shirudo complement each other.
For background on how attackers already target the gaps eBPF tools leave on Linux, see io_uring EDR evasion: the Linux blind spot. For an earlier look at what happens when evasion meets endpoint telemetry on Windows, see Process Parameter Poisoning: 4 EDRs, zero alerts.
How should defenders detect and monitor eBPF shields?
Whether you adopt Shirudo or not, eBPF is now both a defensive platform and an attacker target. Useful signals:
- BPF load events: audit
bpf()syscalls and BPF program loads (auditd or your EDR’s kernel telemetry). Unexpected loads outside your known tooling are high-value alerts. - bpffs and pins: watch for changes under BPF filesystem mounts; Shirudo keeps its own in a private bpffs under
/run/shirudo/bpffs. - Attestation drift: on Shirudo hosts, collect
shirudo attestevidence and alert when the measured upatch set differs from what you signed. - Silence: Shirudo sends nothing when no collector is configured, and root can withhold telemetry. A target that stops sending keepalives should be treated as an incident, not a quiet day.
- DNS beyond A and AAAA: since kernel-obs does not parse TXT or off-port answers, log those at your resolver or network layer.
Relevant MITRE ATT&CK techniques for the egress behaviours tatewari modelled include T1071.004 (DNS application layer protocol), T1048 (exfiltration over alternative protocol) and T1562.001 (impair defenses). These mappings are ours, not the tatewari author’s.
What should teams do now?
- Do not plan production rollouts yet. The project says it is not production ready, and its kernel requirements rule out standard distribution kernels.
- Try the VM quickstart if you run large Linux fleets with slow patch cycles. Learn the upatch format now, before the older-kernel mode arrives.
- Keep patching. Shirudo’s authors present upatches as a bridge to the fix, and the Java4Shell shield protects only until OpenJDK is patched.
- Treat agent-written shields like code. Review every upatch before signing; the signing key holder is the real security boundary.
- Protect the operator host and keys. The threat model excludes compromise of the operator host or signing key.
- Do not rely on kernel-obs alone for egress detection. Pair it with resolver logs and network inspection.
- Pressure-test your own eBPF observability the way tatewari did: model what your tools record and look for what they cannot interpret.
Open questions
- How fast can an agent write a safe shield? Neither vendor published generation times or failure rates for Codex-written upatches.
- Who will publish shields? OpenAI states a goal of shipping tested shields alongside vulnerability disclosures, but no vendor has committed to it yet. Small community repositories of upatches have already appeared on GitHub.
- What happens on older kernels? The planned no-TPM, older-kernel mode will trust root, which removes one of Shirudo’s strongest properties.
- Open gaps in the threat model: the docs list a failed initrd
initletting boot continue unenforced, and no version floor or expiry for old signed artifacts. - Independent testing of the shields: tatewari tested telemetry, not mitigation. No third party has yet published results on how well upatches block exploits.
The bottom line
Shirudo is a serious attempt to make virtual patching verifiable: signed, kernel-checked, TPM-recorded shields that AI agents can draft and humans approve. Today it is a pre-release project for labs, not fleets. Its own documentation and the tatewari study agree on the key lesson: a shield that blocks is stronger than a log that watches, so do not mistake the telemetry for the protection.
Sources
- OpenAI: Introducing Shirudo
- Isovalent (Cisco): Cisco and OpenAI introduce Shirudo
- GitHub: shirudo-dev/shirudo (README and GitHub API data)
- Shirudo docs: FAQ
- Shirudo docs: Threat model
- Shirudo docs: System requirements
- GitHub: maceip/tatewari
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.