Skip to content
,

OpenAI and Cisco Shirudo Explained: AI-Written Shields That Block Exploits Without a Restart

10–16 minutes
Woman in a server room holding a tablet with the OpenAI logo, hook AI shields stop hacks

OpenAI and Cisco have open-sourced Shirudo, a Linux runtime that lets security teams drop small, signed “shields” onto a running server to block a vulnerability before the real patch is ready. No restart, no downtime.

Both companies announced it on 23 November 2026 (Cisco’s release went out at about 21:20 UTC). In a controlled test, a shield written with OpenAI’s Codex stopped a Java4Shell exploit against a live Elasticsearch server while it kept running.

This guide explains what Shirudo is, how shields work, what hardware and kernel it needs, how to try it today, how it compares with live patching and Tetragon, and what is still missing.

TL;DR

  • What: an open-source, eBPF-based security runtime for Linux from OpenAI and Cisco (with Cisco’s Isovalent team). The name is Japanese for “shield”.
  • Job: load small, signed mitigations (“shields”, called “upatches” in the docs) that block a vulnerable code path on a running system until a proper patch lands.
  • AI angle: agents such as Codex can find a bug, write a shield and test it; humans decide what gets deployed.
  • Licence: BSD-2-Clause (BPF programs dual BSD/GPL). Repo: github.com/shirudo-dev/shirudo.
  • Catch: pre-release. It needs a patched bpf-next kernel, TPM 2.0, systemd 256+ and a unified kernel image. No fallback for older kernels.
  • Try it: the docs include a quickstart test VM (Linux host with KVM on x86-64 or arm64), and Isovalent lists a free browser lab.

What Is Shirudo?

Shirudo (シールド, said “shee-roo-doh”) is an open-source runtime for Linux. Its repo calls it “a BPF-based security platform for Linux”. OpenAI and Cisco built it so defenders can protect systems in the gap between finding a bug and rolling out a fix.

That gap is the real problem. OpenAI President Greg Brockman put it this way: “finding a bug today doesn’t mean you can patch every system tomorrow.” AI tools now find bugs faster than teams can patch, restart and re-test every server.

Shirudo’s answer is a temporary shield. It is a tiny signed program that blocks the path an exploit needs, replaces the vulnerable code, or adds visibility so you can spot an attack. The service keeps running while the permanent patch is prepared.

Fact Detail
Made by OpenAI and Cisco (Isovalent, the Cilium and Tetragon team, wrote the technical post)
Announced 23 November 2026
Type eBPF-based security runtime for Linux, one-shot CLI, no permanent daemon
Licence BSD-2-Clause; BPF programs dual-licensed BSD/GPL
Code github.com/shirudo-dev/shirudo, docs at docs.shirudo.dev
Status Pre-release (“no format carries a compatibility promise yet”)
Lineage Isovalent calls it “a rewrite of Tetragon designed for agents”
Price No paid tier announced; the code is open source

Naming note: OpenAI and Cisco say “shield”. The repo and docs say “upatch” (BPF upatches, Java upatches). They mean the same thing. This guide uses “shield” in prose and “upatch” in commands.

The Java4Shell Demo, Step by Step

The launch demo used Java4Shell, which Isovalent describes as “a recent vulnerability discovered in OpenJDK”. None of the launch pages gives a CVE number or affected Java versions, so check your Java vendor’s advisory for those.

According to OpenAI and Isovalent, the controlled test went like this:

  1. Target: a running Elasticsearch 9.5.5 node.
  2. Shield written by Codex: it added an input check to Java’s Base64 decoder (java.util.Base64$Decoder.decode0), written as Java bytecode.
  3. Attach live: the shield was attached straight to the running Elasticsearch process. No restart.
  4. Attack: an exploit attempt sent a malicious Base64 input.
  5. Result: the guard rejected the input and logged it. Elasticsearch kept running.

The two log lines Isovalent published are about 22 ms apart: “Base64 guard installed on java.util.Base64$Decoder.decode0 (classfile)” and “Base64 guard rejected candidate: length=65, padding=1, remainder=1, alphabet=standard”.

Cisco’s release adds that Shirudo also detected and blocked attempts to exploit “the PHP flaw”. It does not name that flaw, so treat it as unconfirmed detail for now.

Keep it in proportion: this is one exploit in one lab setup, reported by the companies that built the tool. No independent benchmark exists yet.

How Shields Work Under the Hood

Isovalent describes a four-step loop with an agent such as Codex as the “control plane”:

  1. Discover the vulnerability and which nodes are affected.
  2. Generate the mitigation: build a reproducer, validate the exploit, pick the mitigation point (eBPF, Java runtime and so on), then validate the shield.
  3. Roll out the signed shield to affected nodes.
  4. Monitor “hit” counts to see whether anyone is trying to exploit it.

On each machine, the trust chain is the interesting part:

  • Boot-time guards. shirudo init runs from the initrd and attaches 48 BPF LSM programs on 39 kernel hooks. After that, even root cannot load BPF programs without the operator’s signing key.
  • Signed loads only. Shields are verified against a sealed .bpf kernel keyring. Signatures use ML-DSA-87, a post-quantum algorithm. The Linux eBPF verifier also checks each program.
  • Java shields. Java upatches are verified in userspace, and configured JVMs load them.
  • TPM record. Every load or unload extends a TPM register (anchored in PCR 9). shirudo attest produces evidence you can verify offline.
  • Pull, not push. Targets pull signed .upatch packages from an OCI registry and send telemetry to OpenTelemetry. Nothing listens for connections on a target.

Why this matters: an AI agent that can push code into your kernel is scary. Shirudo’s design means the agent proposes, but only something signed with your key, and recorded in the TPM, can run.

Requirements: Kernel, TPM, Distros

This is where most readers will stop. Shirudo is built for modern, locked-down fleets, not for the Ubuntu server you set up in 2023.

Requirement What the docs say
Kernel A bpf-next kernel with the signed-loader ABI plus Shirudo’s carried patches. No minimum version number; “no compatibility mode and no fallback for an older kernel”. Test kernels report 7.3.0 / 7.4.0-rc1 bpf-next.
Kernel config CONFIG_BPF_LSM, CONFIG_BPF_JIT, CONFIG_DEBUG_INFO_BTF, CONFIG_CRYPTO_MLDSA, CONFIG_TCG_TPM, CONFIG_DM_VERITY and more
Boot line bpf.keyring_unsealed=1 dm_verity.keyring_unsealed=1 and bpf in lsm=
TPM TPM 2.0 at /dev/tpmrm0 with a SHA-256 PCR bank. “There is no mode without a TPM.”
Userspace systemd 256+, dracut-built systemd initrd, unified kernel image via systemd-stub, root
CPU x86-64 and arm64 tested; riscv64 listed, but target validation is “pending”
Build tools clang/LLVM 23, OpenSSL 3.5+, libcurl 7.75+, tpm2-tss 4.0+
Distros No official support list. Docs mention Debian unstable and Fedora 45 (ship clang 23); Ubuntu 24.04 needs apt.llvm.org

You can check whether a kernel is ready with shirudo init --check-only, which reads the ABI from BTF.

How to Try Shirudo (Quickstart VM)

The easiest route is the official quickstart. It builds a test VM with the right kernel and a software TPM, so your own machine stays untouched. You need a Linux host with KVM on x86-64 or arm64.

  1. Clone and build the repo (github.com/shirudo-dev/shirudo), then the operator tools:
    make
    make shirudo-build
    export PATH="$PWD:$PWD/tools/shirudo-build:$PATH"
  2. Fetch the test kernel and start the VM:
    testing/vm/kernel-artifact.sh fetch
    make -C testing vm VM_NAME=quickstart
    make -C testing vm-ssh VM_NAME=quickstart
  3. Inside the VM, set the alias the docs use: alias shirudo=shirudo-runtime
  4. Build a sample shield on the operator side. The sample is a harmless no-op that hooks do_nanosleep:
    shirudo build testing/fixtures/basic.bpf.c --keys-dir "$KEYS" --vmlinux vendor/linux/vmlinux.h -o basic.upatch
    shirudo upatch info basic.upatch
  5. Load it on the target and check status:
    shirudo upatch load basic.upatch
    shirudo upatch list
    shirudo status

    A healthy system shows Status: ok with checks such as LsmAttached, KeyringSealed, ChainIntact and TpmMeasured all OK.

  6. Unload with a signed unload package built from the payload hash (shirudo build --unload basic --payload-sha256 "$PAYLOAD" ...), then shirudo upatch unload basic.unload.upatch.
  7. Prove it: run shirudo attest --nonce=<nonce> on the target and shirudo attest verify on the operator. It ends with verdict: ok.

No VM host? Isovalent’s announcement links a “Shirudo getting started” lab on labs.isovalent.com, which runs in the browser. Isovalent’s labs are listed as free; sign-up rules for this lab were not shown when we checked.

Installing the Operator and Target Packages

For real machines there are two roles, and each host holds only one. Both packages install /usr/bin/shirudo, so they conflict.

Package Runs on Does
shirudo-operator Your build/signing machine Builds and signs shields; needs clang 23, LLVM, veritysetup
shirudo-target Every protected server Static binary, systemd units and timers; holds no key or config

There is no apt or dnf repository yet. You build packages from a checkout (needs dpkg-dev or rpm-build):

make -C packaging bindeb-pkg      # .deb packages
make -C packaging binrpm-pkg      # .rpm packages
apt install ./shirudo-target_<version>_<arch>.deb
dnf install ./shirudo-target-<version>-<release>.<arch>.rpm

After installing the target package, shirudo.service is enabled and runs shirudo init early on the next boot. The docs warn that starting the service by hand does nothing until the initrd and boot setup are in place.

Common setup problems

  • Kernel check fails: a stock distro kernel will not pass shirudo init --check-only. You need the bpf-next kernel with the carried patches.
  • Service enabled but nothing enforced: enforcement only starts after an initrd boot built with shirudo-gen-initrd and a unified kernel image.
  • No TPM: there is no TPM-less mode. Cloud VMs need a vTPM enabled.
  • bcc or bpftrace stopped working: on enforcing targets, other BPF tools are blocked unless shipped as signed upatches. That is by design.

Performance Overhead (Official Numbers)

The docs publish overhead from one test VM (AMD Ryzen 9 3950X host, 4 vCPU guest, software TPM). Other hardware will give other numbers.

Measure Result (vendor-reported)
Target binary 17.0 MiB built, 3.8 MiB xz-compressed
Boot step (shirudo-initrd.service) 1.17 s
Load or unload a small shield 0.50 to 0.51 s, 29.7 MiB peak RAM
shirudo status 72 ms
Guard cost per fork + exec 3.2 µs
Guard cost per open/read/close 0.15 µs
Idle CPU 0.71% of one vCPU
Locked memory for guards 196 KiB

The docs also warn that “a badly written upatch can slow the target down”. The shield code you load matters more than Shirudo itself.

Shirudo vs Live Patching, Tetragon and WAFs

Shirudo Kernel live patching Tetragon WAF / virtual patch
Fixes Kernel and app code paths (eBPF, Java bytecode) Kernel code only Observes and enforces runtime policy Network requests only
Restart needed No No No No
Signed + TPM-attested Yes, required Signed modules Not its focus No
Built for AI agents Yes No No (Shirudo is its agent-era rewrite) No
Runs on stock kernels No Yes (distro-supplied) Yes Yes
Maturity Pre-release Mature Mature, open source since 2022 Mature

The docs are clear that Shirudo “complements kernel live patching”. It holds the line until a live patch or a fixed kernel arrives. It is not a replacement for patching.

Who Should Care (and Who Should Wait)

  • Platform and infra teams running large Linux or Kubernetes fleets that cannot restart everything at once.
  • Security and detection teams who want TPM-backed proof of what was loaded.
  • Embedded and edge makers with slow update cycles.
  • Teams running AI agents in containers who want hard limits around what those workloads can do.

Wait if you run a few servers on stock distro kernels, have no TPM, or need a stable release. The docs’ own “not a fit yet” list includes: no release yet, no fleet inventory or remote management, and one instance per host.

If you mainly use AI coding agents, our OpenAI Codex guide covers the tool that wrote the demo shield, and Codex vs Claude Code compares it with Anthropic’s agent.

Limits, Licence and Open Questions

  • Licence: BSD-2-Clause, so you can use, change and ship it commercially. BPF programs are dual BSD/GPL; some vendored files keep their own licences.
  • Pre-release: formats can change. Do not build production processes on it yet.
  • Heavy platform demands: patched kernel, TPM 2.0, UKI boot. Most fleets will need a new image to adopt it.
  • Demo details missing: no CVE id for Java4Shell and no name for the PHP flaw in the launch material.
  • Who writes the shields? OpenAI and Cisco want tested shields to ship alongside vulnerability disclosures. How that will work, and who signs them, is not yet explained.
  • Next step: Isovalent has a “Shirudo Virtual Panel” deep dive in mid-December (check the date on its events page).

For the AI-agent side of security, see our MCP security best practices and the Project Glasswing CVE breakdown, which shows how fast AI is now finding bugs.

My Take

Shirudo is the first big project I have seen that treats “AI finds bugs faster than humans can patch” as an engineering problem rather than a talking point. Pairing an agent that writes fixes with a kernel that only runs what you signed is the right shape for that problem.

The design choices are serious ones: post-quantum signatures, TPM attestation, no listening daemon, pull-only delivery. That is what you want before letting an AI anywhere near a running kernel.

But be realistic. Today it needs a bleeding-edge patched kernel and has no release. For most teams this is something to watch and try in the lab, not deploy. The moment it runs on stock distro kernels, it becomes a must-know tool. I will update this post when the first release lands.

FAQ

Is Shirudo free?

The code is open source under BSD-2-Clause, so there is no licence fee. OpenAI and Cisco have not announced any paid tier or hosted service for it.

Does Shirudo replace patching?

No. It is a stop-gap. A shield blocks the vulnerable path until you can install the real fix, and the docs say it complements kernel live patching.

Do I need OpenAI Codex to use it?

No. Codex wrote the demo shield, but you can write shields by hand in BPF C and build them with shirudo build. Any agent or human can propose a shield; only your signing key can deploy it.

Can I run it on Ubuntu 24.04 or my current distro kernel?

Not on a stock kernel. You need a bpf-next kernel with Shirudo’s carried patches. Ubuntu 24.04 can act as a build host if you add clang 23 from apt.llvm.org.

Does it work without a TPM?

No. The docs say there is no mode without a TPM. On cloud VMs, enable a virtual TPM.

Which CPUs are supported?

x86-64 and arm64 are tested. riscv64 is listed, but its target validation is still pending.

What is Java4Shell?

Isovalent describes it as a recent OpenJDK vulnerability. The launch material gives no CVE number or version range, so follow your Java vendor’s advisory and patch when a fix is available.

How is Shirudo related to Tetragon?

Isovalent says Shirudo has its roots in Tetragon, its open-source eBPF security tool from 2022, and calls Shirudo “a rewrite of Tetragon designed for agents”.

Sources

  • OpenAI: Introducing Shirudo (23 Nov 2026), openai.com/index/introducing-shirudo
  • Cisco Newsroom: Cisco and OpenAI launch Shirudo (23 Nov 2026)
  • Isovalent blog by Thomas Graf and Liz Rice: isovalent.com/blog/post/cisco-openai-shirudo
  • GitHub: github.com/shirudo-dev/shirudo (README, licence)
  • Shirudo docs: quickstart, install, system requirements, overhead, who-is-shirudo-for (docs.shirudo.dev)
Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Woman in a server room holding a tablet with the OpenAI logo, hook AI shields stop hacks