OpenAI and Cisco Open-Source Shirudo: eBPF Shields for the Patch Gap
On 23 November 2026 OpenAI and Cisco announced Shirudo, an open-source runtime for Linux that applies small, signed mitigations to a running system while the real patch is still being tested. Cisco's Isovalent team, which built Tetragon, published its own announcement the same evening and calls Shirudo a rewrite of Tetragon designed for agents. The code is on GitHub at shirudo-dev/shirudo under the BSD 2-Clause licence, with its BPF programs dual-licensed BSD and GPL.
The demo in both posts is the one most Java teams will care about this month. A shield that Codex generated for Java4Shell (CVE-2026-114938) rejected the malicious Base64 input to a running Elasticsearch process without a restart.
What happened
Shirudo calls each mitigation an "upatch" (the announcement says "shield"). An operator builds one, signs it, pushes it to an OCI registry, and the target pulls it. The kernel verifies the signature before it runs the loader, and a TPM records every load and unload so the operator can check later what a host was running. Here is what the README and docs say about each piece, read at commit 8a3b249 on 25 November:
| Piece | What it does | Where it stops |
|---|---|---|
| BPF upatches | Block a vulnerable code path at a kernel hook, or detect it | Needs a bpf-next kernel with Shirudo's patches (below) |
| Java upatches | A signed Java agent that guards one method, such as java.util.Base64$Decoder.decode0 |
A mitigation inside the app, "not a boundary against root" |
| Signed loaders | After boot, only signed loaders can load BPF programs | Enforced from the initrd by shirudo init |
| TPM measurement | Each load or unload extends a per-boot TPM register; shirudo attest returns evidence to verify offline |
Needs TPM 2.0 (the test VM uses swtpm) |
| Pull delivery | Targets pull packages from OCI registries and send telemetry to OpenTelemetry collectors | No push channel into the host |
The repository already ships examples: the java-base64 agent for Java4Shell, five kernel CVE packages (block or detect), an app-sandbox upatch whose tree entry names the PHP2Shell CVEs, and kernel-obs for process, network and privilege-change telemetry. The project says plainly that it is pre-release. The only GitHub release is a test kernel build tagged on 23 November, and VERSION reads 0.0.0-dev.
What changes for engineers
This is not something you can install on a fleet today. The system requirements say the target must run a bpf-next kernel with the signed-loader ABI plus several Shirudo kernel patches: a tpm_command LSM hook, an mm_read_access LSM hook, sleepable inode hooks and others. The page is blunt: "shirudo has no compatibility mode and no fallback for an older kernel." The kernel also needs ML-DSA certificate support, dm-verity root-hash signature checks and module signing if modules are enabled. No stock distribution kernel I know of ships that set today.
The Java4Shell shield is a Java agent, not eBPF. The OpenAI post says an "eBPF shield" protected Elasticsearch. The java-base64 README describes something different: a signed Java agent that rejects the dangerous input shape before decode0 writes, attached to a running JVM with java -jar java-base64.jar <pid>. That matters for planning. A Java upatch needs no patched kernel, but the README is clear that root can start a JVM without it and that a patched JVM is "the durable fix". It also only matters on x86-64 CPUs with AVX-512, the same condition as the bug itself.
The interesting part is the review step. Both posts keep a human gate in the loop: an agent proposes a shield, the team tests it against the exploit and against real traffic, then an operator approves it. If you already run Tetragon, Falco or KubeArmor policies, the model will feel familiar. What is new is that the mitigation is code an agent writes, rather than a policy file a person writes, and that the TPM record tells you afterwards which mitigations were live.
Supply chain risk moves, it does not vanish. A signed upatch is still code that runs in your kernel or JVM. Your signing key now protects production as directly as your deploy credentials do. Treat it that way before any pilot.
What I ran
I did not build or run Shirudo. Its packages come from a two-day-old CI pipeline, need privileged access to the kernel, and the docs say they will not load without the patched kernel anyway. Instead I checked how far a normal kernel is from the requirements. In a privileged container on Docker Desktop's Linux VM, I read the active LSMs and searched the kernel's BTF type data for a few names the signed-loader ABI and the Shirudo patches add:
# Inside a privileged Linux container; read-only checks
uname -r # 6.10.14-linuxkit aarch64
cat /sys/kernel/security/lsm # capability,bpf
for s in excl_prog_sha keyring_serial bpf_real_data_inode tpm_command mm_read_access; do
grep -aq "$s" /sys/kernel/btf/vmlinux && echo "$s: yes" || echo "$s: NO"
done
zcat /proc/config.gz | grep -E "CONFIG_CRYPTO_MLDSA|CONFIG_TCG_TPM|CONFIG_MODULE_SIG"
BPF LSM was active and BTF was present, so this kernel can run today's eBPF security tools. Every Shirudo-specific name was missing, and so were /dev/tpmrm0, ML-DSA support and module signing. The name search is only a rough check; the real one is shirudo init --check-only, which reads the same BTF. It still shows the gap clearly. A recent mainstream kernel meets the eBPF basics but none of the Shirudo-specific requirements.
What to do this week
- Patch Java4Shell the normal way. Shirudo does not change that plan; my bundled JDK patching guide still applies.
- If you want to try Shirudo, use the local VM quickstart. On a Mac it needs an M3 or later for nested virtualisation, Lima 2.2 or later, about 100 GiB of disk and 8 GiB of memory, per the macOS page in the repo.
- Read the threat model before you pitch a pilot. It states where each mechanism stops, which is the page your security team will ask about.
- List where you could use live mitigation today with tools you already run: BPF LSM is active on many current kernels, and Tetragon or KubeArmor enforcement covers some of the same ground without a custom kernel.
- Watch the AI agent security incident log and the Shirudo releases page. The first tagged release with packages is the point to test it again.
FAQ
What is Shirudo?
An open-source Linux runtime from OpenAI and Cisco that loads signed eBPF and Java micropatches, called upatches, to block or detect a vulnerable path on a running system until the real patch is deployed. It records loads in a TPM so they can be verified.
Can I run Shirudo on Ubuntu, EKS or GKE nodes today?
Not on production targets. The docs require a bpf-next kernel with Shirudo's own patches, a TPM 2.0 and several kernel options, with no fallback for older kernels. You can try it in the project's test VM.
Is Shirudo a replacement for patching?
No. The project's own Java4Shell README calls the shield a mitigation in front of a patched JVM, which remains the durable fix.
How is Shirudo related to Tetragon?
Isovalent says Shirudo has its roots in Tetragon and is a rewrite of it for agents, where the agent writes mitigation code instead of policy in a human-oriented language.
Related: Java4Shell: the OpenJDK Base64 bug, eBPF explained: Cilium and Tetragon, Falco runtime threat detection guide and the AI agent security incident log.
Spot an error or something out of date? Email me and I will fix it and log it on the corrections page.
I'm Ajay Kumar — I build and operate PandaStack, an open-source Firecracker microVM cloud for AI agents, and write about the infrastructure and tooling around it.
Need this kind of infrastructure work? See what I do or email hello@ajayk.sh.
Related
Google GTIG: Agents Now Turn Patches Into Exploits Unattended
Google's 17 November 2026 AI Threat Tracker reports exploit_agent, a framework that diffs patches and fires exploits with no human, LiteLLM CVE-2026-40217 used for LLMJacking, and a DPRK cluster planting backdoors in .claude/settings.json.
6 minNov 17, 2026GitHub Copilot Can Now Force MCP Servers Through Plugins
On 16 November 2026 GitHub added a managed setting that makes Copilot accept MCP servers, hooks, skills and agents only from plugins, and VS Code set February 2027 to remove its Local agent harness. What changed and what to check.
6 minNov 16, 2026wfx-loot: 4,837 Hijacked GitHub Accounts Pushed a CI Secret Stealer
From 10 November 2026 an attacker used stolen GitHub credentials to probe 61,764 repositories and run a secret stealer in at least 1,806 pipelines. What happened, what I counted on GitHub this morning, and what to check this week.
7 min