← All AI resources

AI infrastructure security · Shirudo eBPF security evaluation guide

Shirudo gives AI-generated defenses a signed path into Linux

OpenAI and Cisco released a pre-release runtime that packages temporary eBPF or Java protections, requires operator signing, and records deployed state with TPM evidence.[1][3][4] It can buy patching time, but it does not make generated security code safe by default.

Published by Learnetto team · Published November 24, 2026

Temporary Linux mitigation Code generation stays outside the trust root
1Agent draftsUpatch + reproducer
→
2Operator signsEvidence + approval
→
3Host verifiesSealed trust path
→
4TPM recordsAttestable state
Shirudo separates mitigation generation from deployment authority. Signing, verification and TPM evidence make the approved state inspectable, while testing still determines whether the code is safe and effective.

Shirudo is an open-source, pre-release security platform for protecting running Linux workloads while permanent patches are prepared. An agent can investigate a vulnerability and draft a small mitigation, but an operator controls signing and deployment. Targets verify signed packages, and TPM measurements provide evidence of the loaded state.[1][3][4] In a controlled test, a Codex-based workflow generated a Java-bytecode shield that blocked a Java4Shell exploit attempt against Elasticsearch without restarting the service.[1][3] That is a useful end-to-end demonstration, not evidence that arbitrary AI-generated shields are ready for production. Current production targets require a patched Linux kernel, Shirudo's signed-loader ABI and a TPM 2.0.[4] The useful idea is a governed bridge between disclosure and patching: reproduce the exploit in isolation, generate the narrowest mitigation, test legitimate traffic, observe before enforcing, sign only reviewed artifacts, deploy gradually, and remove the shield after the permanent fix is verified.[1][3][4]

Status
Open source · pre-release
Mitigations
eBPF and Java upatches
Trust controls
Operator signatures · TPM evidence
License
BSD 2-Clause; BPF code BSD/GPL

What OpenAI and Cisco released

Shirudo addresses the interval between learning about a vulnerability and completing a permanent patch rollout. OpenAI and Cisco describe a runtime that can place a targeted protection on a running Linux host, observe its effect and then enforce it without restarting the protected service.[1][2]

The project calls these small protections upatches. A BPF upatch can observe or block behavior at kernel hooks.[3][4]

A Java upatch can modify application bytecode when the vulnerable path is better handled inside the runtime. Packages are distributed through OCI registries and loaded through a signed path controlled by the operator.[3][4]

The repository is public under the BSD 2-Clause license, with BPF programs dual-licensed under BSD and GPL terms.[4]

The project is pre-release.[4][5]

Its security policy says there are no stable releases or supported release branches yet.[4][5]

How a shield reaches a running host

The proposed workflow starts with evidence, not a free-running defensive agent. A team supplies a disclosure or asks an agent to investigate, builds a reproducer, confirms the exploit in a controlled environment, chooses a mitigation point and generates a narrowly scoped upatch.[1][3]

Before blocking traffic, operators can run the shield in observation mode and compare exploit coverage with normal application behavior.[1]

The reviewed package is signed on the operator side and published to an OCI registry. A target pulls the package and verifies it against trusted signing material before loading it.[1][3][4]

On production targets, Shirudo initializes its guards during boot. The repository says BPF program loads and unloads go through loaders checked against a sealed keyring. Every update to the active upatch set is recorded in a per-boot TPM register, and the attest command returns evidence that an operator can verify offline.[4]

These controls split jobs that are often collapsed in AI-security demos.[1][3][4]

A model may propose code, a test harness may gather evidence, an operator authorizes the artifact, the host enforces the signature, and the TPM records state.[1][3][4] A capable model does not receive the signing key merely because it wrote the patch.

The Java4Shell test is evidence, not production proof

The launch demonstration fed Java4Shell vulnerability information into a Codex-based control plane. The workflow produced Java bytecode that validates Base64 input before the vulnerable overwrite, attached the mitigation to a running Elasticsearch 9.5.5 process and then attempted the exploit.[3]

OpenAI and Isovalent report that the attempt failed without a service restart.[1][3]

That test proves that the released architecture can connect investigation, code generation, deployment and blocking for one controlled case. Cisco also says Shirudo generated detections and protections for a recent PHP flaw.[2]

The published material does not provide a broad independent comparison across applications, kernel versions, traffic mixes or adversarial bypass attempts.[1][2][3]

A mitigation can block the known reproducer while missing a variant. It can also disrupt legitimate behavior that reaches the same hook or bytecode path. Teams need negative tests, representative traffic, latency measurements, bypass attempts and an explicit rollback trigger. Vendor reports about one exploit should seed that evaluation, rather than replace it.

Why signed code and TPM evidence matter

AI-generated security code creates two separate questions: whether the code works, and whether a host should trust it. Shirudo does not answer the first question automatically.[1][4]

Its signing and attestation design gives operators a stronger answer to the second.[1][4]

A signature binds deployment to an operator-controlled authorization step. The target can reject an unsigned package even if an attacker has reached an ordinary administration path.[1][4]

TPM measurements let another system check which upatch state the host reports. This is evidence about loaded state, not a proof that the upatch is correct or that the host is otherwise uncompromised.[1][4]

Keep the signing key outside the agent's environment.[1][4] Require reproducible package construction, review the source and bytecode, record the tests tied to the signature, and define who can revoke a package. Attestation is useful only when a verifier compares the evidence with an approved state and reacts to a mismatch.[4]

What Shirudo does not replace

  • Permanent patching. A shield is a temporary compensating control. Remove it only after the fixed software is deployed and verified.[1][3]
  • Asset inventory. Teams still need to know which hosts, kernels, runtimes and applications are affected before choosing or deploying a mitigation.[1]
  • Conventional live patching. Shirudo complements kernel live-patch systems and can also address user-space paths, but each mechanism has different coverage and support boundaries.[3][4]
  • Isolation and least privilege. A signed mitigation does not justify broader agent credentials, direct signing-key access or uncontrolled registry publication.[1][4]
  • Application tests. The eBPF verifier checks program safety properties, not business correctness, exploit coverage or the absence of false positives.[1][3]
  • Incident response. Exploit-hit counts can guide investigation, but responders still need logs, evidence preservation, credential rotation and recovery procedures.[3]

A safe evaluation plan

  • Use Shirudo's local VM and software TPM first.[4] Do not begin on a production host. Record the exact repository commit, kernel patches and build inputs.[4]
  • Choose one disclosed vulnerability with a safe reproducer, a fixed version and representative legitimate traffic. Define success and rollback conditions before generation.
  • Run the exploit without the shield to prove the lab is valid. Then apply the shield in observation mode and inspect which hooks, processes and requests it would affect.[1]
  • Review generated source and compiled artifacts. Keep signing keys outside the model session, require a named approver and link the signature to the evidence bundle.[1][4]
  • Test exploit variants, false positives, throughput, latency, CPU use, memory use, service restarts and shield removal. Include failure cases where the target cannot verify the package.
  • Canary on disposable or non-critical hosts. Compare TPM attestation with the approved upatch set and rehearse revocation before widening the trial.[4]
  • Deploy the permanent vendor patch through the normal process. Verify the fixed version, remove the temporary shield, attest the new state and retain the test as a regression case.

Who should evaluate Shirudo now

Kernel, eBPF, platform-security and incident-response teams can learn from the project now. It offers a concrete design for separating generated code, authorization, host enforcement and attestation.[1][3][4]

Researchers can contribute exploit reproducers, compatibility tests and false-positive cases.[1][4]

Most application teams should not treat this as a drop-in patching product. Current production targets need a Linux kernel with Shirudo's signed-loader ABI and kernel patches, plus TPM 2.0.[4] The repository also says riscv64 target validation remains pending and the project lacks stable supported branches.[4][5]

The adoption question is therefore staged. Study the trust model, reproduce the VM lab, test one narrow case, and wait for stable releases, broader kernel support and independent operational evidence before placing it in a critical patch path.

Frequently asked questions

  • Does Shirudo patch the vulnerable software? Not necessarily. It can block or replace a vulnerable path temporarily while the permanent vendor patch is prepared and rolled out.[1][3]
  • Can an AI agent deploy a shield by itself? The architecture can support different automation levels, but OpenAI and Cisco state that security teams control deployment.[1][3] A safe evaluation keeps signing and approval outside the agent.
  • Does every shield use eBPF? No. The Java4Shell example used Java bytecode because that was the appropriate mitigation point. Shirudo also supports BPF upatches.[3][4]
  • Is Shirudo production-ready? The repository and security policy call it pre-release, with no stable releases or supported release branches.[4][5]
  • What does the TPM prove? It provides signed evidence about measured upatch state.[4] It does not prove that a generated mitigation is correct or complete.[4]
  • What should teams watch next? Stable releases, upstream kernel support, documented compatibility, independent bypass and false-positive testing, package revocation behavior and evidence from varied production-like workloads.

Keep learning on Learnetto

Sources

[1] OpenAI: OpenAI and Cisco introduce Shirudo

[2] Cisco: Cisco and OpenAI launch Shirudo

[3] Cisco Isovalent: Shirudo architecture and Java4Shell demonstration

[4] Shirudo repository and documentation

[5] Shirudo security policy