Shirudo: what it is and how to try OpenAI's Linux shield
2026-11-24 · 4 min read
Shirudo is an open-source Linux security tool from OpenAI and Cisco that lets an AI agent write a small, signed "shield" and attach it to a running server, so a known exploit gets blocked before the real patch is installed and without a restart. It came out on November 23, it is free under a BSD-2-Clause license, and the project's own README calls it pre-release.
@OpenAI announced it on X, saying the controls agents write are about "giving defenders more time to test and roll out patches." OpenAI president @gdb described it as a Linux runtime "built for the agentic era." The name is Japanese for shield.
What Shirudo does
The problem is the gap between a vulnerability going public and your server getting patched. We wrote about how fast that gap is closing when a free model started writing working exploits. Shirudo gives the defending side an agent of its own.
It is built on eBPF, the Linux feature that runs small verified programs inside the kernel without changing kernel source. Isovalent, the Cisco team behind it, calls Shirudo a rewrite of its Tetragon project "designed for agents." According to the OpenAI, Cisco and Isovalent posts, the loop goes like this:
- An agent reads a disclosure, works out which machines are exposed, and reproduces the bug.
- It writes a shield that blocks the path the exploit needs while letting normal requests through.
- It checks that the shield stops the exploit and that the service still runs.
- An operator approves it. The shield is signed, packaged, and pulled onto the affected machines.
- Operators watch hit counts, and the shield is unloaded when the real patch lands.
The repo calls these shields "upatches." The kernel refuses any that are not signed with the operator's key, and a TPM chip records every load and unload so you can prove later what ran.
The demo
OpenAI's example used Codex as the agent. It wrote a shield that added an input check to Java's Base64 decoder and attached it to a running Elasticsearch process. The Java4Shell exploit attempt was rejected and Elasticsearch never restarted. Isovalent's write-up says the mitigation "appears to be effective," which is a careful way to put it. None of the posts say how long the agent took or which model sat under Codex.
How to try Shirudo
The code is at github.com/shirudo-dev/shirudo, and the docs have a quickstart that runs everything inside a test virtual machine, so nothing touches a real kernel.
| What you need | Detail |
|---|---|
| Host | Linux on x86-64 or arm64 with KVM (on a Mac, a Lima VM) |
| Toolchain | clang and LLVM 23, OpenSSL 3.5+, libcurl, tpm2-tss, LuaJIT |
| Production targets | A kernel with Shirudo's patches and a TPM 2.0 chip |
| Cost | Free, BSD-2-Clause |
From a checkout of the repo, the quickstart builds the tool and boots the test VM:
testing/vm/kernel-artifact.sh fetch
make
make shirudo-build
make -C testing vm VM_NAME=quickstart
make -C testing vm-ssh VM_NAME=quickstart
Inside the VM, shirudo status --show-full confirms the setup. You build a sample shield on the host with shirudo build, then load and remove it on the target:
shirudo upatch load basic.upatch
shirudo upatch unload basic.unload.upatch
That covers the plumbing (build, sign, load, unload) but not the agent part. The docs do not say whether you need an OpenAI key or whether other models can drive it. Cisco and OpenAI are holding a deep-dive webinar on December 15.
Is Shirudo ready to use?
Not on a server you depend on. I like the idea, and Cisco says the Isovalent engineers on the team helped create eBPF, so the people know the territory. But the project is pre-release and production machines need a patched kernel, which rules out most real servers for now.
There is also a fair worry about the concept. BleepingComputer quotes security researcher Marcus Hutchins (@MalwareTechBlog on X) as seeing "so much runtime exploit mitigation potential with eBPF," and reports that he also doubts it is a good idea to let AI agents write rules that can affect the kernel. Operator approval is supposed to answer that, but none of the posts show what approving a shield looks like in practice. We ran into the same gap when AI started writing a sixth of Linux kernel patches: somebody still has to review the machine's work.
What it means if you run a business
Most small companies will never type a Shirudo command. If it reaches you, it will be inside a managed hosting plan or a security product. Until then the practical point is about patching. OpenAI already has a hacking model that defenders apply to use, free models write exploits, and the time between a disclosure and an attack keeps shrinking. If your updates still depend on someone remembering to run them, fix that first.
New Face Design's free process audit looks for work like that. We map where your business depends on someone's memory and show what can run on its own.