AI disclosure: this post was drafted with AI assistance and reviewed and edited by the Rokkhe team. Every claim was checked against the linked public sources as of 24 Nov 2026.
What OpenAI and Cisco released on 23 November 2026, how Shirudo works component by component, how to try it from GitHub, and where it fits in a security program. Checked against the code and docs in the public repository as of 24 Nov 2026. By the Rokkhe research team.
TL;DR
- Shirudo is an open-source Linux runtime from OpenAI and Cisco (built by Cisco's Isovalent team). It loads small, signed protections into a running system so you can block an exploit path while the real patch rolls out, without a reboot (OpenAI, Isovalent).
- The announcements call these protections shields. In the code and docs they are upatches: signed eBPF programs for the kernel, or signed Java agents for JVMs (README).
- After boot, the kernel only accepts BPF from a loader signed with the operator's key. Root without that key cannot load its own BPF or detach a shield, and every change is measured into the TPM (What is shirudo).
- It is pre-release and needs a patched bpf-next kernel, a TPM 2.0 and a measured boot. Evaluate it in a lab now (FAQ).
- A shield buys time. It does not prove itself correct and does not replace the patch.
Repository: github.com/shirudo-dev/shirudo. Docs: docs.shirudo.dev. License: BSD 2-Clause, with BPF programs dual-licensed BSD/GPL.
What Shirudo is
On 23 November 2026, OpenAI and Cisco announced Shirudo (Japanese for "shield") as "an open-source runtime that helps operators protect running Linux systems without needing to wait for the patch or restarts" (OpenAI). Cisco and its Isovalent team published their own posts the same day (Cisco newsroom, Isovalent).
The repository describes itself more narrowly: "a BPF-based security platform for Linux. After boot-time initialization, it restricts BPF program loads from userspace to signed loaders. Operators ship signed micropatches, called upatches, and verify a target's measured upatch state with TPM-signed evidence" (README).
Some facts from the repository itself:
- Where: github.com/shirudo-dev/shirudo, created 13 October 2026. A second repo in the org holds the shirudo.dev website.
- Status: the
VERSIONfile reads0.0.0-dev. The only GitHub release is a test-kernel prerelease for CI.SECURITY.mdsays the project "does not currently have stable releases or supported release branches." - Who: the core maintainers are Daniel Borkmann, John Fastabend and Michi Mutsuzaki (Isovalent at Cisco), KP Singh, and Puranjay Mohan (Meta) (MAINTAINERS.md).
- Origins: Borkmann and Fastabend first presented it at Linux Plumbers Conference 2026 in Prague on 6 October, in the talk "shirudo: BPF live-patching infra for the agentic era" (LPC). Isovalent says Shirudo "has its roots in Tetragon," rewritten so agents can write mitigations as code instead of a policy language (Isovalent).
The problem it solves, and why teams need it
The docs state the problem plainly: "A kernel fix reaches a fleet only when every machine has booted a kernel that carries it. The fix is often public long before that, and for a fleet with a reboot cycle of days or weeks, that gap is when an attacker who reads the fix can use the bug" (What is shirudo).
OpenAI adds: "an exploit and a legitimate request may rely on the same Linux operation. Blocking that operation entirely could take the service offline." A narrow block at the exact code path is better, if you can deliver it safely.
eBPF can already do that. A BPF program attached to an LSM hook or a kernel function can refuse a dangerous call in a running kernel. The catch, which the docs spell out, is that "if root can load BPF, an attacker who gains root can load BPF too: to hide, to read kernel memory through tracing, or to detach the mitigation." So Shirudo does two jobs: deliver mitigations to running machines, and make sure nobody else can.
Why this matters to a security team in late 2026:
- The patch gap has not closed. We covered three cases this month alone: Java4Shell in OpenJDK, two nginx HTTP/2 bugs, and a PHP use-after-free. Each needed an upgrade plus a restart of every affected process, which takes time across a fleet.
- Mitigations need the same trust as code. A runtime block that root can quietly remove is weak after a compromise. Shirudo makes every mitigation a signed artifact with a measured history.
- Beyond patch gaps. The docs also target edge devices with long update cycles, and confining containers, Pods and LLM agents: what they may run, write and reach (Who is shirudo for).
Architecture, component by component
Figure 1. The life of a upatch, from source to a signed and measured load. Based on the docs pages "How it works" and "Architecture overview".
Shirudo splits the world into two roles. The operator holds the only secret, an ML-DSA-87 signing key, and builds, signs and publishes. A target holds only public certificates, enforces signatures and keeps the measurement in its TPM. The same shirudo binary serves both. Operator-only commands run in a separate helper, shirudo-build, which is never installed on targets (Architecture overview).
1. Operator host: build and sign
A upatch starts as BPF C source, "often a few lines that refuse the call a kernel fix closes" (How it works). Because libbpf rewrites a BPF object while loading, Shirudo signs a loader instead: shirudo-build compiles with clang, has libbpf generate a small BPF_PROG_TYPE_SYSCALL loader that performs the load inside the kernel, adds the attach metadata, and signs it with the ML-DSA-87 key (post-quantum; no other key type is accepted). Upatches attach to LSM hooks, fentry/fexit, fmod_ret, tracepoints, kprobes, uprobes, cgroup socket buffers, netfilter and XDP (Attach kinds).
2. Packages and an untrusted registry
shirudo bpm build packs upatches and their signed unload directives into a .bee package. shirudo bpm push uploads it to an OCI registry with a signed index, or shirudo bpm tree append publishes it in a signed "upatch tree" with selectors for which targets apply. The registry is not trusted. It "can withhold or replay what the operator published, but it cannot produce an index, a tree or a upatch that passes the target's signature checks" (How it works).
3. Target: pull, never push
No daemon, no listening socket, no push channel. systemd timers run shirudo bpm repo update, shirudo bpm upgrade and shirudo bpm tree sync about once a minute, checking signatures and digests each time.
4. The kernel decides what loads
Every path ends in shirudo upatch load. The kernel checks one signature over the loader's instructions and its frozen data against the sealed .bpf keyring, before the BPF verifier runs. Two of Shirudo's own BPF LSM programs bracket that check: lsm/bpf admits a userspace program load only for a signed loader, and lsm/bpf_prog_load admits it only when the kernel recorded the signature as verified. Then the loader creates the upatch's maps and programs, the verifier still checks each one, and Shirudo attaches them and pins them in a private BPF file system under /run/shirudo/bpffs/.
5. Measurement and attestation
Each load extends a per-boot TPM register and an eventlog. If measuring fails, the load is undone; unloads are measured before pins are removed. To check a machine, run shirudo attest --nonce=<hex> on the target for a TPM-signed quote and register certification. On the operator host, shirudo attest predict computes the expected register for what you shipped, and shirudo attest verify checks it, with no TPM needed.
Figure 2. What runs on a target. Based on "Architecture overview", "What is shirudo" and "Backend".
6. How the target protects itself
The binary embeds BPF LSM programs: bpf2 (BPF admission plus guards for bpffs, mounts, keyrings, TPM commands, kexec, lockdown) and seal (task marks and labeled state). shirudo init runs from the initrd of a measured unified kernel image, mounts a dm-verity runtime image and a signed config image, seals the keyrings, attaches the LSM programs and binds the TPM register. Only processes that executed the runtime-image binary get "runtime authority"; in the quickstart, even root gets Permission denied reading Shirudo's pins (Architecture overview, Quickstart).
7. Telemetry and the optional backend
When configured, timers export map contents and a status keepalive over OTLP. A reference backend in tools/backend/ adds a ClickHouse schema that checks each keepalive's TPM quote, a Trivy-based SBOM scan that matches advisories to nodes, a shield catalog and xtop, a terminal view (Backend). The docs are careful here: telemetry "carries no proof of origin." Only TPM-signed evidence checked with attest verify is proof.
Java agents: the one exception
For bugs in application runtimes, Shirudo can ship a signed Java agent upatch, verified in userspace and loaded through JAVA_TOOL_OPTIONS by JVMs started afterwards (Java agent upatches). The threat model is explicit that this is weaker: "A Java upatch is therefore a mitigation in the applications that start with it, not a boundary against root, which only a BPF upatch is" (Threat model, R24).
What the Java4Shell demo actually showed
OpenAI writes that "a Codex-generated shield blocked a Java4Shell exploit attempt against a running Elasticsearch service without requiring a restart." Isovalent's post gives the details: the team fed the vulnerability information into an agent control plane built on Codex, which produced "a mitigation written as Java bytecode" that validates Base64 input. They ran Elasticsearch 9.5.5, attached the shield to the running process, attempted the exploit, and the logs show Base64 guard rejected candidate (Isovalent).
The repo contains a matching package, upatches/java-base64. It guards java.util.Base64$Decoder.decode0 against the x64 AVX-512 tail underflow of CVE-2026-114938 and throws IllegalArgumentException for that input shape. For a JVM Shirudo did not start, such as one in a container, the same jar attaches to a running process with java -jar java-base64.jar <pid> (java-base64 README).
Three caveats before you repeat this claim internally:
- This shield is not eBPF. It is a Java agent. The root-resistance properties above apply to BPF upatches only.
- It was a controlled test. One Elasticsearch version, one exploit attempt, in a lab. A proof of concept, not a success rate.
- The agent loop is not in the repo. The repo is the runtime. It has
AGENTS.mdand skills for coding agents, but the Codex control plane that wrote and validated the shield is described in blog posts, not shipped.
Cisco says Shirudo also produced code that "detected and blocked attempts to exploit" the recent PHP flaw. The repo's app-sandbox package names the PHP2Shell advisories (CVE-2026-109618 and CVE-2026-109619) as fixes. Its README is more modest: the sandboxes "do not close the hole in PHP," but keep attacker code from writing PHP files, starting other programs or connecting out, and it tells you to upgrade PHP as well (app-sandbox README).
How to get started from GitHub
The project's own path is the VM quickstart: your host plays the operator and a QEMU VM with a software TPM plays the target. If you do not want to build anything, Isovalent runs a browser lab.
You need: a Linux host on x86-64 or arm64 with KVM, ulimit -l unlimited, clang/LLVM 23 as /usr/bin/clang, OpenSSL 3.5+, dev files for libelf, zlib, libcurl, tpm2-tss and LuaJIT, plus QEMU, swtpm, dracut and Docker or Podman. Root is not needed; Macs use a Lima VM. Commands below are from the quickstart, in order:
git clone https://github.com/shirudo-dev/shirudo cd shirudo # Fetch the pinned CI test kernel (SHA-256 checked) testing/vm/kernel-artifact.sh fetch # Build the binary and the operator-only signing helper make make shirudo-build export PATH="$PWD:$PWD/tools/shirudo-build:$PATH" # Boot a protected test target and open a root shell on it make -C testing vm VM_NAME=quickstart make -C testing vm-ssh VM_NAME=quickstart On the target, check that enforcement is live:
alias shirudo=shirudo-runtime shirudo status # expect "Status: ok" and every condition OK shirudo status --show-full cat /run/shirudo/bpffs/tamper # Permission denied, even as root Back on the operator host, sign the test upatch (a no-op on do_nanosleep) and its unload directive:
KEYS=/tmp/shirudo-test-vm-private-$(id -u)/operator-keys/keys shirudo build testing/fixtures/basic.bpf.c --keys-dir "$KEYS" \ --vmlinux vendor/linux/vmlinux.h -o basic.upatch shirudo upatch info basic.upatch PAYLOAD=$(shirudo upatch info --json basic.upatch | jq -r .payload_sha256) shirudo build --unload basic --payload-sha256 "$PAYLOAD" \ --keys-dir "$KEYS" -o basic.unload.upatch Load it on the target, attest, verify on the operator, then unload:
# target shirudo upatch load basic.upatch shirudo upatch list shirudo attest --nonce=<nonce> --output=/mnt/shirudo-out/ev.json # operator shirudo attest predict --cert="$KEYS/cert.der" --cert="$OWN" \ --event=load:basic="$PAYLOAD" shirudo attest verify --evidence="$EV" --nonce="$NONCE" \ --ak-name="$(jq -r .ak.name "$EV")" --expect-chain=<register-after-events> # target shirudo upatch unload basic.unload.upatch # operator, when finished make -C testing vm-stop VM_NAME=quickstart make -C testing vm-clean VM_NAME=quickstart The quickstart page sets NONCE, EV and OWN. Next come your first upatch and a kernel-fix tutorial that turns the fix for CVE-2026-63984 (IPv6 RPL header overflow) into a signed detector. For real hosts, the install page builds shirudo-operator and shirudo-target packages (.deb or .rpm) from a checkout.
What a target needs, and what it rules out
From the system requirements and FAQ:
- A bpf-next kernel with the signed-loader ABI and Shirudo's kernel patches. "No fallback for an older kernel," so stock distribution kernels do not qualify today.
- A TPM 2.0 (no mode without one) and a unified kernel image booted through
systemd-stubwith a dracut systemd initrd. - x86-64 and arm64 are tested; no riscv64 target has booted yet.
- Other BPF tools stop working. Cilium, Falco, bpftrace and agents that load their own BPF "fail at their first map or program" unless their logic ships as signed upatches.
- No fleet management: no inventory, push channel or remote management.
How it compares, from the project's own docs
The project publishes a comparison page. The short version:
| Approach | What it covers | Shirudo's position |
|---|---|---|
| Kernel live patching (kpatch, livepatch) | Replaces kernel functions with native code in a module | Complements it. A upatch cannot replace a function body, but it can refuse a call before it runs, is verifier-checked and is measured |
| IMA and IPE | Files the kernel executes, maps or loads | Complements them. Neither covers bpf() program loads |
| Policy engines on the BPF LSM (Tetragon, for example) | Runtime policies loaded through an agent | Takes the place of the engine's loader. Policies become signed upatches |
| Signed BPF and BPF tokens | A verdict on a loader's signature; delegation | Builds on signing. Refuses token creation |
| dm-verity and measured boot | What was on disk and what booted | Builds on both, and measures BPF state after boot |
| Security agents with daemons | Policy and code over a management channel | Replaces the daemon for BPF delivery |
Sources differ on one point. Isovalent says a mitigation can "replace the vulnerable code with fixed code," while the comparison page says "A upatch cannot replace a function body." Replacing code fits the Java agent path, which rewrites bytecode. For the kernel, think "refuse or observe".
Limits and open questions
The threat model is frank. Entries that matter most (Threat model):
- R6, a failed or skipped init leaves the target unprotected. The boot continues without enforcement; only
shirudo statusand attestation show it. - R16, any artifact ever signed loads at any time. No version floor or expiry, so root can roll back to an older signed upatch. Retiring one means revoking its key.
- R17, telemetry has no proof of origin. Root on a target can withhold or forge keepalives. Only
attest verifyis evidence. - R21, upatches can be neutralized by changing their targets, for example by replacing the binary a uprobe points at.
- R24, Java agents reach only JVMs started with them. Root can start a JVM without the agent.
- Correctness is on the author. "It does not judge what a upatch does." It also does not defend against a compromised kernel, verifier, TPM or hardware (What is shirudo).
Open questions we could not answer from public sources as of 24 Nov 2026:
- Observe before enforce. OpenAI says teams "can monitor how a proposed shield would affect applications before enforcing it." In the repo we found detector upatches that count hits, and
bpm tree sync --dry-run, but not a single documented switch that moves a shield from observe to block. - Shields alongside disclosures. OpenAI's stated goal is "tested shields available alongside vulnerability disclosures." There is no public shield feed yet beyond examples in
upatches/, and the bundled kernel CVE manifest marks its predicatessource_derived_unvalidated. - Release timeline. No date for a first stable release.
- Overhead. The docs have an overhead page; we have not seen independent measurements. A technical webinar is set for 15 December 2026.
How it fits a security program, and the Rokkhe take
Figure 3. Shirudo covers signing, delivery, enforcement and measurement. Finding affected hosts, reproducing the bug, proving the shield and retesting the patch stay with your team, tester or agent.
To pilot it: run the quickstart and kernel-fix tutorial on a VM that mirrors one of your images, pick one class of hosts where you control the kernel and boot chain, make attest verify output the record in your change ticket, and track each shield's unload date like any temporary exception.
We like the shape of this project. It treats a runtime mitigation as code that must be signed, measured and provable, and it says plainly where its guarantees stop.
It also makes one thing more important, not less: someone has to prove the shield works. Shirudo will load any correctly signed upatch, including one that blocks the wrong path, misses a variant or breaks a login flow. The docs are clear that correctness is the author's job.
That is the part Rokkhe does. Our AI pentesting runs the full loop on systems you own and authorize, from scope to retest:
- Scope. Which hosts actually run the vulnerable kernel, JDK, PHP or nginx build, and which are reachable.
- Prove the exploit path in a controlled way, so a shield has something real to be tested against.
- Test the shield both ways. Does it block the exploit and close variants of the same path? Do normal requests still pass?
- Test the deployment. Is enforcement really on (no silent init failure), are all JVMs running with the agent, and does attestation match what you think you shipped?
- Retest after the patch, then confirm the shield can be retired.
Offense and defense in one loop: the same engagement that finds the path checks the control that blocks it, and checks again when the permanent fix lands. Shirudo, if it matures, makes that loop faster. It does not remove it.
FAQ
What is Shirudo in one sentence?
An open-source Linux runtime from OpenAI and Cisco that loads signed eBPF programs and Java agents into running systems to block or observe vulnerable code paths without a reboot, with every change recorded in the TPM.
Is Shirudo an AI agent?
No. The repository is the runtime that agents or people use. The announcements describe Codex generating shields through an agent control plane, but that loop is not part of the open-source code.
Does it replace patching?
No. "A upatch covers the time until the machine runs a fixed kernel" (What is shirudo).
Can root turn it off?
Not without the signing key: root cannot load unsigned BPF, detach enforcement or change Shirudo's state. Root with a kernel exploit, or a module signed with a key the kernel trusts, goes around every check (FAQ).
Where do I start?
The VM quickstart or the Isovalent browser lab.
Book an evaluation
If you are weighing Shirudo, or any runtime mitigation, and want to know whether it actually closes the paths that matter on your systems, book an evaluation at rokkhe.com. For the bugs that set the context for this launch, see our posts on Java4Shell, nginx HTTP/2 and PHP tzcache.
Sources
Announcements
- OpenAI, "OpenAI and Cisco introduce Shirudo" (23 Nov 2026): https://openai.com/index/introducing-shirudo/
- Isovalent at Cisco, "Cisco and OpenAI introduce Shirudo" (Thomas Graf, Liz Rice): https://isovalent.com/blog/post/cisco-openai-shirudo/
- Cisco newsroom: https://newsroom.cisco.com/c/r/newsroom/en/us/a/y2026/m11/cisco-and-openai-launch-shirudo-a-new-project-to-safeguard-agentic-ai.html
- Cisco blog, "Expanding the Defender's Window with Self-defending Infrastructure" (Jeetu Patel): https://blogs.cisco.com/news/expanding-the-defenders-window-with-self-defending-infrastructure
Code and docs
- GitHub repository: https://github.com/shirudo-dev/shirudo
- Documentation: https://docs.shirudo.dev/
- Project site: https://shirudo.dev/
- What is shirudo: https://docs.shirudo.dev/start/what-is-shirudo.html
- How it works: https://docs.shirudo.dev/start/how-it-works.html
- Quickstart: https://docs.shirudo.dev/start/quickstart.html
- Architecture overview: https://docs.shirudo.dev/internals/architecture.html
- Threat model: https://docs.shirudo.dev/security/threat-model.html
- How shirudo compares: https://docs.shirudo.dev/concepts/comparisons.html
- System requirements: https://docs.shirudo.dev/operate/plan/system-requirements.html
- Java agent upatches: https://docs.shirudo.dev/upatches/write/java-agents.html
- java-base64 upatch: https://github.com/shirudo-dev/shirudo/tree/main/upatches/java-base64
- app-sandbox upatch: https://github.com/shirudo-dev/shirudo/tree/main/upatches/app-sandbox
Talks and labs
- Linux Plumbers Conference 2026, "shirudo: BPF live-patching infra for the agentic era" (Daniel Borkmann, John Fastabend): https://lpc.events/event/20/contributions/2437/
- Isovalent getting-started lab: https://labs.isovalent.com/#/lab/shirudo-getting-started
This post reflects the public repository and announcements as of 24 Nov 2026 (Asia/Dhaka). Shirudo is pre-release and changing fast; commands and requirements may change. We will update this post when the project ships a release.
Disclosure: this post was drafted with AI assistance and reviewed and edited by the Rokkhe team. Every claim was checked against the linked public sources as of 24 Nov 2026. Rokkhe is not affiliated with OpenAI, Cisco or the Shirudo project.






