{"slug": "openai-and-cisco-s-shirudo-explained-how-signed-ebpf-shields-guard-unpatched-it", "title": "OpenAI and Cisco's Shirudo explained: how signed eBPF shields guard unpatched Linux, what kernel it needs today, and what it does not protect", "summary": "OpenAI and Cisco released Shirudo on November 23, 2026, an open-source runtime under BSD-2-Clause that loads signed eBPF and Java shields to block a single exploit path while a permanent patch is tested. The pre-release project, hosted on GitHub under shirudo-dev with about 1.5k stars and 1,806 commits, requires a patched bpf-next kernel with a signed-loader ABI, TPM 2.0, systemd 256 and a unified kernel image, so stock distro kernels cannot run it yet. OpenAI's demo showed a Codex-written shield adding an input check to Java's Base64 decoder to block a Java4Shell exploit against Elasticsearch, with a human approving deployment, and the threat model states Shirudo proves where a shield came from, not that it is correct.", "body_md": "# OpenAI and Cisco's Shirudo explained: how signed eBPF shields guard unpatched Linux, what kernel it needs today, and what it does not protect\n\nOpenAI and Cisco open-sourced Shirudo, a runtime that loads signed eBPF and Java shields to block an exploit while a real patch is prepared. We read its docs and threat model: today it needs a patched bpf-next kernel, TPM 2.0 and a systemd 256 boot chain, so stock distro kernels cannot run it yet.\n\n**This explains reporting by**\n\n[OpenAI: Introducing Shirudo, published November 23, 2026](https://openai.com/index/introducing-shirudo/).\nRead the original first:\n\n[https://openai.com/index/introducing-shirudo/](https://openai.com/index/introducing-shirudo/)\n\n## In one minute\n\n- On November 23, 2026 OpenAI and Cisco released Shirudo, an open-source runtime (BSD-2-Clause, BPF programs dual BSD/GPL) that loads small signed programs, called shields in the launch posts and upatches in the docs, to block one exploit path while a permanent patch is tested.\n- AI agents can draft and test a shield, but a person approves what is deployed. In OpenAI's demo, a Codex-written shield added an input check to Java's Base64 decoder and blocked a Java4Shell exploit against Elasticsearch.\n- The project calls itself pre-release. Its target kernel must be a bpf-next tree with a signed-loader ABI and several extra patches, plus TPM 2.0, systemd 256 and a unified kernel image. The docs say a release number does not identify such a kernel.\n- The threat model is frank: Shirudo proves where a shield came from, not that it is correct, and it assumes the kernel and the signing key are trusted.\n\n## What happened\n\nOpenAI and Cisco published Shirudo on November 23, 2026. The name is Japanese for shield. The pitch is simple: when a new flaw is found, there is a gap between the disclosure and the moment a tested patch is on every machine. Shirudo tries to close that gap with a temporary block that targets the one behavior the exploit needs and leaves the rest of the service running.\n\nOpenAI's post describes a guardian agent that watches kernel and network activity, and AI agents that can investigate a flaw, write a shield and test it against the exploit and against real traffic. Security teams approve what goes live. Cisco's release says a shield goes live only when test evidence says it is safe.\n\nThe code is on GitHub under shirudo-dev. At the time we read it, the repository showed about 1.5k stars and 1,806 commits, and its README says plainly that Shirudo is pre-release.\n\n## What a shield is, in plain words\n\neBPF lets you load a small program into the Linux kernel and attach it to a hook, a named point where the kernel calls out. The kernel's verifier checks the program before it runs, so a buggy program cannot crash the machine the way a broken kernel module can.\n\nA Shirudo shield is one of those programs, packaged with a signature and metadata, pulled from an OCI registry (the same kind of registry that stores container images). Some hooks only let a program watch. Others let it say no. That split decides what a shield can actually stop.\n\nShirudo also ships Java shields. These are Java agents, code a JVM loads alongside the application, checked against the same signing keys. The Elasticsearch demo used this path.\n\n## Which hooks can block and which only watch\n\nShirudo's attach-kinds page lists what each hook type can do. We sorted them:\n\n- Can refuse an operation: BPF LSM hooks (a non-zero return refuses it), cgroup socket filters that drop packets, and netfilter hooks that return drop.\n- Can change a function's return value: fmod_ret, limited to security hooks, syscall entries and functions the kernel marks as safe for error injection.\n- Watch only: fentry and fexit, tracepoints, kprobes (which can override a return only on error-injection-listed functions) and uprobes on user programs.\n\nSo a shield cannot patch any line of code it likes. It can refuse an action at a security hook, drop traffic, or fail a call at a place the kernel allows. A bug deep inside a function with no such hook nearby may have no clean shield at all.\n\n## The trust chain\n\nThe interesting engineering is less the blocking than the proof. The threat model's main adversary is root without the signing key. Root is not trusted just because it is root.\n\n- Every BPF load must carry a signature that verifies against a sealed .bpf keyring in the kernel. Unsigned loads are refused at the bpf LSM hooks.\n- Signing uses ML-DSA-87 only, a post-quantum signature scheme.\n- Each load and unload extends a per-boot TPM register and appends to an event log, so a remote verifier can check what is loaded without trusting the machine's own report. The docs say there is no mode without a TPM.\n- Hooks block attempts to detach or replace enforcement programs, and protect Shirudo's own files and processes from tampering.\n\n## What it needs to run today\n\nThis is the part the launch coverage skipped. From the system requirements page:\n\n- A target kernel from bpf-next, the BPF development tree, with a signed-loader ABI. The test suite uses bpf-next commit 57fae4059380, and the page says a release number does not identify such a kernel.\n- Extra patches, including a tpm_command LSM hook and an mm_read_access LSM hook. Without either, init fails.\n- Kernel command line flags bpf.keyring_unsealed=1 and dm_verity.keyring_unsealed=1.\n- TPM 2.0 at /dev/tpmrm0, systemd 256 or newer, a dracut systemd initrd, and a unified kernel image booted through systemd-stub.\n- On the operator machine that builds shields, clang and LLVM 23 and OpenSSL 3.5 or newer with ML-DSA. The page notes Ubuntu 24.04 and Debian testing need an extra package source for clang 23.\n\nIn short, no mainstream distribution kernel we know of ships this today. The repository's test VM is the realistic way to try it now.\n\n## What it does not protect\n\nThe threat model lists its own limits, and they are worth reading before anyone calls this a patch replacement:\n\n- The kernel is assumed trusted. A kernel compromise is out of scope.\n- Anyone holding a signing key can load anything that key signed. Revoking a key takes effect only once a config that revokes it is active.\n- Correctness is out of scope. In the docs' words, shirudo establishes provenance, not correctness. A signed shield can still block the wrong thing or miss the exploit.\n- If init fails or is skipped, there is no fallback mode. The machine runs unprotected, and attestation is how you find out.\n- Physical attacks on the TPM and the boot window before init attaches are also out of scope.\n\nOpenAI's own post adds the practical catch: an exploit and a legitimate request can use the same Linux operation, so a shield that blocks one may break the other. That is why it suggests watching a shield's effect before enforcing it.\n\n## A gap worth asking about: the Java demo\n\nOpenAI says the demo shield was attached directly to a running Elasticsearch process and blocked the exploit with no restart.\n\nShirudo's Java agent page says agents are delivered through JAVA_TOOL_OPTIONS, which a JVM reads when it starts, and that a JVM already running keeps the agents it started with until it restarts. It does not mention attaching to a running JVM.\n\nBoth can be true if the demo used a path the docs do not cover yet, such as the JVM's own dynamic attach. Neither page says which. For anyone counting on no-restart protection for Java services, that is the first question to ask the maintainers.\n\n## How it compares to what you use now\n\nKernel live patching, such as kpatch or Livepatch, swaps in fixed kernel functions, but each patch is built by the vendor and covers only the kernel. A web application firewall rule can block an exploit string at the network edge, but it sees only traffic that passes through it and can be bypassed by encoding tricks. Shirudo sits on the host, can cover both kernel paths and Java code, and adds signing and remote attestation that neither of the others has. The price is the custom kernel and boot chain above.\n\n## Who is affected\n\n| Case | Status | \n|---|---|\n| Linux servers on stock distribution kernels | Cannot run Shirudo targets today. The docs require a bpf-next kernel with a signed-loader ABI and extra patches. | \n| Machines without TPM 2.0 | Not supported. The docs say there is no mode without a TPM. | \n| Java services already running | Unclear. The docs say a running JVM keeps its agents until restart; OpenAI's demo says it attached to a running process. | \n| x86-64 and arm64 test VMs | Supported for trying it out. riscv64 target validation is pending. | \n\n## What to do\n\n- Treat Shirudo as a preview of a patching model, not a tool to roll out this quarter.\n- If you want to try it, use the project's VM quickstart rather than a production host.\n- List which of your Linux hosts have TPM 2.0 and a UKI boot path. That inventory is useful for measured boot work whether or not you adopt Shirudo.\n- Keep your normal patch process. A shield is temporary by design and the threat model says it does not prove correctness.\n- Watch the December 15 deep-dive webinar for answers on the Java attach path and on supported kernels.\n\n## What is still unknown\n\n- Which Linux distributions will ship a kernel with the signed-loader ABI, and when. The docs name only a bpf-next commit.\n- How the Java demo attached to a running Elasticsearch when the docs describe startup-only loading.\n- How often shields block legitimate traffic. Neither OpenAI nor Cisco published false-positive rates, timings or a sample size.\n- The two exploits named in Cisco's release (Java4shell and a PHP flaw) are the only validation described, and both results come from the vendors themselves.\n- Who will sign and publish shared shields for public vulnerabilities, and how a signing key compromise would be handled in practice.\n\n## Sources\n\n[AI News Report](https://theainewsreport.com/)· every headline, every morning.", "url": "https://wpnews.pro/news/openai-and-cisco-s-shirudo-explained-how-signed-ebpf-shields-guard-unpatched-it", "canonical_source": "https://theainewsreport.com/2026-11-24-shirudo-ebpf-shields-unpatched-linux-what-it-needs.html", "published_at": "2026-11-24 16:50:29+00:00", "updated_at": "2026-11-24 17:14:14.436658+00:00", "lang": "en", "topics": ["ai-safety", "ai-agents", "artificial-intelligence", "developer-tools"], "entities": ["OpenAI", "Cisco", "Shirudo", "Codex", "Elasticsearch", "GitHub", "Java4Shell", "Linux"], "also_reported_by": [], "takeaway": "Shirudo shields can only refuse an operation at BPF LSM hooks, drop packets via cgroup socket filters or netfilter, or fail a call at fmod_ret-allowed functions; fentry, fexit, tracepoints, kprobes and uprobes are watch-only.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/openai-and-cisco-s-shirudo-explained-how-signed-ebpf-shields-guard-unpatched-it", "markdown": "https://wpnews.pro/news/openai-and-cisco-s-shirudo-explained-how-signed-ebpf-shields-guard-unpatched-it.md", "text": "https://wpnews.pro/news/openai-and-cisco-s-shirudo-explained-how-signed-ebpf-shields-guard-unpatched-it.txt", "jsonld": "https://wpnews.pro/news/openai-and-cisco-s-shirudo-explained-how-signed-ebpf-shields-guard-unpatched-it.jsonld"}}