Skip to content

OpenAI and Cisco Open-Source Shirudo: Agent-Written eBPF Shields That Block Exploits on Running Linux Systems

Shirudo lets agents like Codex write signed eBPF shields that block a vulnerable path on live Linux without a restart. How it works and what it needs to run.

MGMCSA Guru Team November 26, 2026 7 min read
A translucent shield of light in front of a running server rack, deflecting an attack while a robotic arm hands it a signed module

OpenAI and Cisco released Shirudo on November 23, 2026, an open-source runtime that blocks a vulnerable code path on a running Linux system while the real patch is still being tested. The protections are called shields. They are built on eBPF, they can be generated by coding agents such as Codex, and an operator has to approve each one before it is enforced.

OpenAI’s headline example is a Codex-generated shield that added an input check to Java’s Base64 decoder, attached to a running Elasticsearch process, and blocked a Java4Shell exploit attempt without a restart. Cisco says the project was also tested against “the PHP flaw” and blocked attempts to exploit both.

The project is pre-release. The GitHub README says production targets need a Linux kernel with the signed-loader ABI and Shirudo’s own kernel patches, plus a TPM 2.0, so this is not something you install on a stock distro kernel this week.

The problem Shirudo is built for

OpenAI’s announcement starts from a familiar gap: testing and deploying a patch can take days or weeks. Protecting the service in the meantime is hard because the exploit and a legitimate request may use the same Linux operation. Block that operation everywhere and the service goes down with it.

A shield is meant to sit in that gap. Teams test whether a temporary safeguard blocks the behavior that exposes a vulnerability while legitimate requests still get through. Once an operator approves the shield, it can be deployed while the service keeps running. OpenAI says the long-term goal is to publish tested shields alongside vulnerability disclosures, so operators can evaluate a stopgap while they prepare the permanent patch.

How a shield works

eBPF lets small programs run at specific hook points inside the Linux kernel without changing the kernel source. Shirudo uses those hooks to observe what a process is doing and to refuse the specific operation a vulnerability depends on.

The Shirudo repository calls the deployable units upatches, short for micropatches. There are two kinds in the README:

  • BPF upatches block vulnerable paths at kernel hooks. They can also enforce policies for containers, Kubernetes Pods and LLM agents.
  • Java upatches guard application code. Shirudo verifies them in userspace, and configured JVMs load them as Java agents at startup.

OpenAI describes four design goals for the project:

CapabilityWhat OpenAI says it means
Live protectionShields block vulnerable code paths without restarting the system. Teams can watch how a proposed shield would affect applications before enforcing it.
Defense at machine speedAgents get programmable controls to investigate a vulnerability, develop a targeted shield and validate it against exploits and real workloads. Security teams control what gets deployed.
Trusted deploymentShields are cryptographically signed and verified before loading. The Linux eBPF verifier checks each program against its safety rules.
Hardware-backed verificationA TPM keeps a verifiable record of shields being loaded or removed, which operators can use as evidence.

The trust chain, step by step

The README and the docs site describe how a shield gets from an operator’s laptop to a running target without trusting the target’s root user:

  1. Boot-time guards. On production targets, shirudo init attaches its guards from the initrd. From that point, BPF program loads from userspace are restricted to signed loaders, and the guards protect Shirudo’s runtime and state from root on the target unless that root also holds the operator’s signing key.
  2. Signed loads. BPF upatch loads and unloads go through loaders that the kernel verifies against the sealed .bpf keyring. Only the operator host holds the signing key.
  3. Pull-based delivery. Targets use one-shot commands to pull upatch packages from OCI registries and export telemetry to configured OpenTelemetry collectors.
  4. Measurement. Every change to the loaded upatch set extends a per-boot TPM register.
  5. Attestation. shirudo attest returns TPM-signed evidence that operators can verify offline. Only the target’s TPM signs that evidence.

That chain is why Cisco can say a host verifies every shield before it runs even if an attacker already has administrator access. The project also ships a threat model page that states where each of these mechanisms stops, which is the page to read before you plan around it.

What it takes to run today

The system requirements page is blunt. A missing requirement fails the build, shirudo init or the load, and Shirudo has no compatibility mode and no fallback for an older kernel.

The target has to run a bpf-next kernel with the signed-loader ABI. The docs note that a release number does not identify such a kernel: the project’s test kernel reports 7.4.0-rc1-bpf-next+, and what matters is whether the ABI and the carried patches are present. Those patches add things like a tpm_command LSM hook and an mm_read_access LSM hook that shirudo init refuses to start without. The shirudo-dev/kernel repository builds the production kernel.

Architecture support, per the README:

  • x86-64: CI runs all test tiers.
  • arm64: CI runs host tests, and the test VM boots locally.
  • riscv64: target validation is pending, and no test VM runs on it.

The operator host and the target can be different architectures.

For a first look, OpenAI points to a VM quickstart that walks through signing, loading and verifying a test protection. The VM uses a software TPM, so you don’t need TPM hardware to try it. Isovalent has a self-guided lab, there is a technical walkthrough from the Linux Plumbers Conference, and OpenAI and Cisco are running a deep-dive webinar on December 15.

Before you plan around Shirudo

  • Read the Shirudo threat model page so you know where each mechanism stops
  • Check the system requirements: bpf-next kernel with the signed-loader ABI, the carried kernel patches and TPM 2.0 on production targets
  • Run the VM quickstart (software TPM) to sign, load and verify a test protection
  • Decide who holds the operator signing key and who approves agent-generated shields
  • Keep the permanent patch on its normal schedule; a shield is a temporary safeguard
  • Note the license: BSD-2-Clause, with BPF programs dual-licensed BSD/GPL

Where coding agents fit

The agent angle is the part most readers here will care about. OpenAI’s example used Codex to write the Elasticsearch shield. The Shirudo README says upatches are small, logically contained programs that engineers and agents can read, generate and maintain, and that its commands take and produce structured data. That design suits an agent that reads structured output and proposes the next change.

The same README lists LLM agents as something BPF upatches can sandbox. So the project points both ways: agents write protections, and protections can constrain agents. If you have been following OpenAI’s security work, our GPT-6 Cyber and Daybreak Red post covers the model side of the same push. For approval-gated agent workflows on the code side, Claude Ship’s PR approvals apply a similar rule: the agent drafts, a policy or a person approves.

Neither announcement claims Shirudo replaces patching. OpenAI calls it a first step toward infrastructure that adapts to new threats while staying reliable, and lists follow-up work on hardening the kernel and core services, limiting workload permissions and making updates and recovery safer.

Where this leaves Linux operators

Shirudo is a real, inspectable codebase with a clear security model: signed upatches, a sealed .bpf keyring, TPM-measured state and offline attestation. It is also pre-release and tied to a patched bpf-next kernel, so production use today means building and running Shirudo’s kernel on your targets.

The near-term value is in the VM quickstart and the published shields. If OpenAI and Cisco do ship tested shields next to vulnerability disclosures, operators will get a signed, reviewable stopgap for the days between an advisory and a finished rollout, with the patch still doing the permanent work.

Frequently asked questions

What is Shirudo?

Shirudo is an open-source, eBPF-based runtime from OpenAI and Cisco, announced on November 23, 2026. It deploys temporary safeguards called shields that block a vulnerable code path on a running Linux system while a permanent patch is prepared, without restarting the service.

Do AI agents deploy shields on their own?

No. Agents such as Codex can investigate a vulnerability, write a shield and validate it, but OpenAI says security teams control what gets deployed. Shields are cryptographically signed and only the operator host holds the signing key.

Can I run Shirudo on a normal Ubuntu or RHEL kernel?

Not for production targets today. The project is pre-release and requires a bpf-next kernel with the signed-loader ABI, Shirudo's carried kernel patches and a TPM 2.0. The docs say there is no compatibility mode or fallback for an older kernel. The VM quickstart uses a software TPM for testing.

Does Shirudo replace patching?

No. OpenAI and Cisco describe shields as temporary protection while teams build and roll out a fix. The permanent patch still has to be applied.

What license is Shirudo under?

Shirudo is licensed under BSD-2-Clause, and its BPF programs are dual-licensed under BSD and GPL. Each source file carries an SPDX license identifier.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.