// ai security

OpenAI Shirudo: Agent-Written eBPF Shields Before the Patch

OpenAI Shirudo cover: terminal loading a signed eBPF shield package on a live Linux host before patching

OpenAI and Cisco announced Shirudo on November 24, 2026, an open-source Linux runtime in which AI agents write temporary eBPF shields that block an exploitable code path on a live service until the patch ships. An operator approves each shield, and hosts load it only as a signed .bee package verified with a TPM. With one controlled demo and no repository, version or license, Shirudo is a design to evaluate, not a control to deploy.

Key takeaways

  • OpenAI and Cisco announced Shirudo on November 24, 2026: an open-source Linux runtime where AI agents build temporary eBPF or bytecode shields that block exploitable code paths without a restart.
  • Shields are monitored before enforcement, need operator approval, ship as signed .bee packages via an OCI registry and are verified with TPMs on targets.
  • The only evidence is one controlled test: a Codex-written shield blocked a Java4Shell attempt on a live Elasticsearch service. No version, repo, license or independent validation was published.
  • Shirudo builds on Isovalent's Tetragon (open-sourced May 2022) but makes the agent the operator and injects mitigations rather than only enforcing policy.
  • Treat shields as short-lived compensating controls: test variants and normal traffic, canary with a kill switch, and do not count them as patch completion.

What is OpenAI Shirudo, and what did Cisco add?

OpenAI Shirudo, Japanese for “shield,” is an open-source Linux runtime plus an architecture for letting AI agents place short-lived exploit mitigations on production hosts. OpenAI’s one-line pitch on X: “It lets agents write dynamic eBPF controls to shield systems from exploits, giving defenders more time to test and roll out patches.”

That is the whole value proposition. Shirudo does not fix a bug. It buys time between disclosure and the moment a tested patch reaches the box, which in most fleets is the longest part of vulnerability management.

OpenAI called the project a “first step” toward “self-defending infrastructure” that adapts to new threats without disrupting services. Cisco’s contribution comes through Isovalent, and the runtime builds on Isovalent’s Tetragon.

The pitch rests on speed. Thomas Graf, named in The Hacker News report as CTO of Cisco Security, and Liz Rice, chief open source officer at Isovalent, wrote that AI models “have become incredibly good at finding and exploiting software vulnerabilities,” while critical fixes still take days, weeks or months to reach most systems.

“That timeframe is no longer acceptable,” they wrote, “given that the mean time to exploitation has become negative.” They gave no dataset or method, and “negative” depends on the clock you pick: disclosure, patch release or private discovery. Zero-days beat disclosure by definition. The direction is real anyway. We have covered AI agents going from API map to working exploit in 11 minutes.

What the announcement, as reported by The Hacker News, leaves out:

  • No release version or repository URL.
  • No license.
  • No compatibility details: kernel versions, distributions or supported application runtimes.
  • No word on which models besides Codex the agents can use.

You cannot pilot what you cannot pull. Until code and a license appear, treat Shirudo as a design document with one demo attached.

How does a Shirudo shield move from a finding to enforcement?

A shield starts with a vulnerability the agents discover or read about in a vendor advisory. It only starts blocking after an operator approves it and validation shows it is safe. Cisco describes the intake plainly: “Agents scan open-source code and take in vendor disclosures.”

The stated pipeline runs in five steps:

  1. Intake. Agents discover a flaw in open-source code or ingest a vendor advisory.
  2. Mapping. They trace the vulnerability to the assets running the affected code and the attack paths that reach it.
  3. Reproduction. The exploit is reproduced and validated on the operator machine.
  4. Build. Shirudo produces a small, targeted shield made of eBPF or application bytecode.
  5. Graduation. A central guardian agent manages the shield. Teams watch its effect on the application in monitor mode, and an operator approves enforcement.

Cisco’s summary of the lifecycle: “The shield only graduates to active blocking when the evidence says it’s safe, and it retires when the real patch lands.” Agents are supposed to verify two things: the shield covers the exploit, and the service keeps working.

Two parts stay vague. The write-up does not describe the validation environment on the operator machine, or the technical criteria that count as “safe.” Those gaps decide whether monitor-before-enforce earns trust or quietly ships a false positive.

Step three also means the system reproduces working exploits by design. That is an exploit lab inside your defensive tooling, and it requires dedicated access controls.

Why is the shared Linux operation the hard part?

The hard part is that an exploit and a legitimate request often look identical at the kernel level. Both open files, spawn threads, make network connections and load classes. A blunt rule that drops a syscall for a process stops the attack and the service with it, which defenders can already achieve by pulling the plug.

Shirudo’s design claim is that it targets the vulnerable behavior or code path instead. That explains why a shield can be eBPF or application bytecode. eBPF sees kernel events. Bytecode at the application layer can see which method gets called with which argument, often the only place an exploit differs from normal traffic.

Isovalent puts the underlying technology this way: “eBPF is a highly efficient, sandboxed virtual machine in the Linux Kernel.” eBPF programs run in the kernel without modifying system code or rebooting, and they can observe events and enforce policy.

One distinction should be on every pilot plan. The kernel’s eBPF verifier checks memory access, control flow and termination before a program loads. It ensures the program will not crash the kernel. It says nothing about whether the rule blocks every exploit variant or lets every legitimate request through. Kernel safety and mitigation correctness are separate problems, and the platform solves only the first.

Shirudo addresses the second with testing: each shield is evaluated on whether it blocks the behavior that exposes the vulnerability while legitimate requests still pass. The breadth of that legitimate-traffic corpus will decide whether shields hold up outside a lab.

What does the Elasticsearch Java4Shell demo prove?

The demo shows a Codex-generated shield stopping one exploit attempt against one running service without a restart. OpenAI says that in a controlled experiment, the shield blocked a Java4Shell exploit attempt against a live Elasticsearch service, which stayed up throughout.

That is a credible proof of concept for the mechanics. What OpenAI did not publish:

  • The Elasticsearch version or configuration.
  • The Codex model version.
  • How many exploit variants were tried, or any false-positive data against normal queries.
  • Independent validation or detailed results.

The Java4Shell link is also looser than it looks. A related Hacker News report identifies Java4Shell as CVE-2026-114938, a pre-authentication remote code execution flaw in Jira, Jenkins, Keycloak and more. The Shirudo report does not tie that CVE to the Elasticsearch test or list affected versions, so check vendor advisories for your own exposure.

From a pentest seat, blocking the exact exploit you just reproduced is the easiest test a mitigation will ever pass. Teams that shipped early WAF signatures for Log4Shell watched obfuscated lookups slip past them almost immediately. A shield keyed to one payload shape fails the same way those signatures did. Variant coverage is the number that matters, and nobody published it.

How is Shirudo different from Cisco's Tetragon?

Shirudo uses Tetragon as its foundation but changes who drives it and what it does. Isovalent built and open-sourced Tetragon in May 2022 as an eBPF platform for runtime observation and policy enforcement, with humans writing the policies.

Shirudo is aimed primarily at AI agents as the operator, and it uses eBPF to inject code mitigations rather than only watching events and enforcing rules. Put simply: the agent writes the policy, the policy targets one vulnerability, and it has a planned expiry.

Neither half is new on its own. Linux has patched running kernels for years through the upstream livepatch framework and tools such as kpatch and kGraft. WAFs, intrusion-prevention systems and runtime application self-protection products have done virtual patching of known attack patterns for over a decade.

Their failure modes are well documented: false positives, incomplete coverage of the vulnerable path, and policy drift as rules outlive their purpose. Shirudo’s claimed novelty is the combination of agent-generated, vulnerability-specific enforcement at the code path with a retirement trigger built in. That last part is worth more than it sounds. Almost every mature environment we test carries virtual patches nobody remembers adding.

What trust problem appears when an agent can load kernel code?

The biggest new risk is the delivery chain: anything that can get a shield approved and signed can put code into your kernel. Shirudo answers with signing and verification. Shields ship as signed .bee packages through an OCI-compliant registry, and the Shirudo layer on each target pulls them and validates signatures using Trusted Platform Modules before loading.

The design is sensible and still leaves work for the deployment owner:

  • The registry is plumbing, not policy. OCI standardizes storage and distribution. You still need defined signer identities, key rotation and revocation, admission policy, audit records and protection against rollback to an obsolete shield.
  • A TPM proves origin, not correctness. It protects keys and supports measured boot. It does not prove a shield is semantically safe, and a valid signature does not prove the host’s boot chain, kernel or application was clean to begin with.
  • Loading eBPF is privileged. Depending on kernel and program type, it needs combinations of CAP_BPF, CAP_PERFMON and CAP_SYS_ADMIN, and recent kernels disable unprivileged BPF by default. The guardian agent and loader live at that level.

The report does not say how the guardian agent authenticates, or what happens if it or a signing key is compromised. Ask before any pilot.

Then add the AI part. The agents read vendor disclosures and open-source code, both untrusted inputs. A poisoned advisory or crafted commit is a realistic way to steer an agent toward a shield that blocks the wrong thing, such as a health check or a login flow. Operator approval is the backstop, so the approval screen must show exactly what each shield hooks and drops.

Map these boundaries before rollout with agentic AI threat modeling, and scope what the agent may request using the patterns in our piece on AI agent least privilege.

What should security leads demand before a Shirudo pilot?

Practitioner’s note: when we test virtual-patching setups, the bypass rarely comes from breaking the control. It comes from a second route to the same vulnerable function the rule never considered: an admin API, a bulk import, a deserialization path behind another endpoint. Ask the agents for the attack paths they traced, then have humans hunt the ones they missed.

That is the core of AI agent penetration testing when the defender is itself an agent. Beyond that, treat a shield as a short-lived compensating control, never a patch substitute, and test it like any production security policy change.

Coverage evidence

  • Test the original exploit, close variants and alternate encodings, not only the proof of concept the agent reproduced.
  • Replay real business traffic: retries, async jobs, batch ingestion, odd client encodings.

Rollout discipline

  • Canary first, with a tested kill switch.
  • Record per shield: version, signer, approver, target assets, kernel and application versions, hook coverage, rollout time and retirement condition.
  • Alert on unexpected drops, latency and error spikes on shielded services.

Lifetime

  • Re-verify after kernel, service, Java runtime or agent upgrades. Hooks that matched one build can silently miss the next while the shield still reports as loaded.
  • Confirm retirement fires once the fix is installed, and audit for shields that outlive it.

Remediation status

A shield does not close a ticket. CISA KEV deadlines under BOD 22-01 bind US federal civilian agencies, and many private firms use the catalog to prioritize. A compensating control does not automatically satisfy a patch requirement, so document whether a shield changes remediation status and who approved that.

The idea holds up: block the vulnerable path, keep the service running, delete the shield when the patch arrives. Whether the implementation does is a question the code will answer, once there is code to read.

FAQ

What is OpenAI Shirudo?

Shirudo is a Linux runtime from OpenAI and Cisco that lets AI agents write temporary eBPF or application bytecode shields. A shield blocks a vulnerable code path on a running service until the permanent patch is installed.

What does Shirudo mean?

Shirudo is Japanese for “shield,” which is also the name for the temporary mitigations the runtime deploys.

Is Shirudo open source?

OpenAI and Cisco describe it as open source, but as of November 24, 2026, no repository URL, release version or license had been published.

How is Shirudo different from Tetragon?

Tetragon, open-sourced by Isovalent in 2022, runs human-written observation and enforcement policies. Shirudo sits on top of it and hands authorship to AI agents, which produce one-vulnerability mitigations with a planned expiry.

Did Shirudo stop a Java4Shell attack on Elasticsearch?

Only in a controlled experiment, according to OpenAI. The Elasticsearch service stayed up without a restart, but no versions, variant counts or false-positive data were released.

Can I use Shirudo instead of patching?

No. Cisco frames shields as stopgaps that expire once the permanent fix is in place, and a compensating control does not automatically satisfy patch-remediation requirements such as CISA KEV deadlines.

If you are about to hand an agent the keys to your kernel, test the agent first. agent::offense runs AI and LLM agent security testing that probes injection paths, approval flows and privilege boundaries before they reach production.


// get started

Work with AgentOffense

Tell us about your target and goals. We’ll reply with scope and a fixed-price quote — usually within one business day.

./request_engagement