Shirudo Lets AI Agents Shield a Running Linux Server. First It Locks Down Every BPF Load
OpenAI and Cisco's open-source runtime blocks exploits on live machines with signed eBPF "shields." Here is what it does, what it asks of your servers, and how to try it this week.
Finding a security bug has gotten fast. Coding agents read code all day, and every few weeks another critical flaw lands with a catchy name. Fixing the bug on every machine that runs the vulnerable code has not gotten faster at all. Testing and rolling out a patch still takes days or weeks, and some servers can't be restarted on short notice.
That gap between "we know" and "we're patched" is where attacks happen. On November 23, OpenAI and Cisco shipped a tool aimed straight at it.
Shirudo is an open-source runtime (software that runs on each server) built for exactly that window. It lets you attach a small, signed safeguard to a running Linux machine that blocks the vulnerable behavior while the real patch is on its way, without a restart. In OpenAI's controlled test, a shield written with Codex, OpenAI's coding agent, stopped an exploit attempt against a live Elasticsearch server.
The pitch is agents writing mitigations at machine speed. The catch is what Shirudo has to control on a machine before it can safely load anything an agent wrote. The repository was #4 on Trendshift's daily board this morning, so plenty of people are about to find that out.
What Shirudo is, in plain terms
Shirudo (Japanese for "shield") is built on eBPF. eBPF lets you run small programs inside the Linux kernel at chosen points, such as when a process starts or a network packet arrives, without changing the kernel itself. Security tools like Falco and networking tools like Cilium use it heavily.
Shirudo calls its safeguards "shields" in the announcement and "upatches" in the code and docs. The FAQ defines a upatch as "a signed BPF program that shirudo loads into the running kernel without a reboot." There are also Java upatches, which guard application code inside configured Java virtual machines, per the README.
Here is the problem a shield solves. An exploit and a normal request often use the same operation. Block that operation everywhere and you take your own service offline. A good shield blocks only the bad pattern.
OpenAI's example shows the idea. For a flaw it calls Java4Shell, the team used Codex to generate a shield that added an input check to Java's Base64 decoder, attached it to a running Elasticsearch process, and the malicious input was rejected while Elasticsearch kept serving.
The part the agents don't touch
OpenAI's post lists four design goals, and two of them matter most here.
The first is "defense at machine speed." Agents get programmable controls to investigate a vulnerability, draft a shield, and test it against exploits and real workloads. Then, in the post's words, "security teams control what gets deployed."
The second is trusted deployment. Every shield is cryptographically signed and verified before it loads. The kernel's own eBPF verifier checks it for safety, and a TPM keeps a record of every shield loaded or removed. (A TPM, or Trusted Platform Module, is a small security chip in most servers and laptops that can sign evidence about what a machine is running.)
Put those together and you get the real design. The agent can be wrong, or tricked, and nothing loads without a signature from a trusted operator key. Teams can put a human review in front of that signature. Shirudo doesn't force one, and a signature proves who signed, not that anyone read the shield. The signature is the gate, and the TPM record is the receipt.
This is the useful mental model for agent-written infrastructure changes in general: let the agent draft fast, make loading require a signature, and keep a tamper-resistant log of what loaded. Shirudo just applies it at the kernel level.
What Shirudo takes over first
Signing only works if nothing unsigned can sneak in. So Shirudo locks down BPF on the whole machine. The README says that after boot it "restricts BPF program loads from userspace to signed loaders," and its guards protect Shirudo's own state "from root on the target without the operator's signing key."
That is a strong property. It also has consequences you should know before you get excited.
Your existing eBPF tools stop working. The FAQ is direct: Cilium, Falco and bpftrace can't run on a Shirudo target "as they are," because "tools that load their own programs fail at their first map or program." Their logic can be repackaged as signed upatches. If your Kubernetes networking runs on Cilium today, that is a project, not a setting.
You need a patched kernel. Production targets need a kernel with the "signed-loader ABI" (a new kernel interface from the bpf-next development tree) plus Shirudo's own kernel patches. Because those pieces come from a development tree and from Shirudo itself, expect to build or source a special kernel rather than use your distribution's stock one.
Every target needs a TPM 2.0. The FAQ says there is "no mode without one."
Signing keys are post-quantum only. Shirudo signs with ML-DSA-87 and refuses any other key, so your existing signing setup doesn't carry over.
Root is not fully stopped. Root can't load unsigned BPF or switch Shirudo off without the key. But the FAQ says root "with a way into the kernel itself, such as a kernel exploit or a module signed with a key the kernel trusts, goes around every check made in that kernel."
It is pre-release. The FAQ answers "Is shirudo ready for production?" with "Not yet," and it has no stable releases or supported release branches. The only tagged release on GitHub when checked on November 24 was a test-kernel build.
There is good news in the same FAQ. Shirudo runs no daemon and opens no port. Every operation is a one-shot command, targets pull signed packages from an OCI registry (the same kind of registry that stores container images), and it "sends nothing" unless you configure an endpoint. If the registry goes down, loaded shields keep running.
Who should care right now
Three groups get real value this month.
Security engineers who write mitigations can read the upatch concepts and the tutorial that turns a real kernel fix into a upatch. The FAQ says a upatch is "plain BPF C," so this is learnable without a new language.
Platform teams running fleets with slow update cycles, including embedded and edge devices, which the README names as a use case, can start mapping which machines could ever meet the kernel and TPM requirements.
Teams building AI security agents get a concrete target format. The README says upatches are "small logically contained programs that engineers and agents can read, generate and maintain," and that commands take and produce structured data. That is an invitation for agents to write them.
If you run a typical cloud fleet on stock Ubuntu with Cilium, the honest answer is: watch it, try it, don't plan around it yet.
Put this into practice
Option 1: The browser lab (nothing to install locally). Isovalent, Cisco's eBPF team, runs a self-guided Shirudo lab. It is the fastest way to see a shield get signed, loaded and verified.
Option 2: The local test VM (an afternoon). The quickstart builds Shirudo from a checkout, boots a protected test VM with a software TPM, and walks one upatch through signing, loading, TPM verification and unloading.
What you need on the host: Linux on x86-64 or arm64 with KVM, a locked-memory limit of unlimited, clang and LLVM 23 with the BPF target, OpenSSL 3.5 or later, Docker or Podman, QEMU and a software TPM (swtpm), plus a long list of build libraries the quickstart spells out. Root is not required. On a Mac, the FAQ says you need an M3 or later on macOS 15 or later and a Lima VM, with the test VM running inside that.
The core of the flow, from the quickstart:
# fetch the pinned test kernel, then build
testing/vm/kernel-artifact.sh fetch
make
make shirudo-build
export PATH="$PWD:$PWD/tools/shirudo-build:$PATH"
# boot a protected test target and open a shell on it
make -C testing vm VM_NAME=quickstart
make -C testing vm-ssh VM_NAME=quickstart
What to expect: the first VM boot "takes a while" because it builds an Ubuntu disk image and a bundle. Inside the VM, shirudo status prints a report with conditions such as LsmAttached and KeyringSealed, and a "Tamper attempts" section counting BPF loads the policy has already refused. One handy detail for scripts: shirudo status --json exits 0 whatever the verdict, unless you add --check, which makes it exit 1 when the target reports tampering.
Option 3: Learn it from the people who built it. The Linux Plumbers Conference talk walks through applying and verifying a shield, and OpenAI lists a December 15 webinar for a deeper session.
Honest limitations
The production requirements are the headline: a kernel with patches that are not in mainstream distributions, a TPM on every target, and replacing every eBPF tool that loads its own programs. For most teams that is a quarter of platform work, not a sprint.
Architecture support is uneven. CI runs every test tier on x86-64 and host tests on arm64, and the FAQ says no riscv64 target has booted yet.
The Java4Shell result is a vendor-reported controlled test by the people who built the tool, with no independent reproduction yet. It shows the mechanism works. It does not show how often agent-drafted shields are correct on messy real workloads, or how long a human review of each one takes.
And the human gate is only as good as the human. Shirudo makes sure nothing loads unsigned. It can't make sure the person holding the key reads the shield before signing it. A team that signs everything the agent drafts has automated approval with extra steps.
The license is friendly: BSD 2-Clause, with BPF programs dual-licensed BSD/GPL per the README.
The shift worth keeping
Patching used to have one speed, the speed of your rollout. Shirudo adds a second, faster lane: a narrow, signed, reversible block that buys time until the real fix lands. Agents make that lane cheap to fill.
You don't need to deploy Shirudo to use the idea. Ask where else in your stack an agent could draft a fix that a person signs and a machine records. Then try the lab, read the threat model, and decide whether your kernels could ever meet the bar.
Sources: OpenAI, Introducing Shirudo (November 23, 2026); Isovalent announcement (November 23, 2026); shirudo-dev/shirudo README (main branch, no stable releases, read November 24, 2026); Shirudo FAQ; Shirudo quickstart; Trendshift daily board, about 07:12 ET November 24.