R243 · AI-built software and its verification › Security scanning for AI-written code

Shirudo: agent-written eBPF shields that hold the line until the patch lands

Read the original

Authors OpenAI, Cisco

securityebpfvulnerability-mitigationagents-in-opsopen-sourcevendor

Sources: OpenAI, "OpenAI and Cisco introduce Shirudo" (2026-11-23), https://openai.com/index/introducing-shirudo/ ; OpenAI company post, https://lnkd.in/p/g4DVfJwP

TL;DR

Shirudo is an open-source Linux runtime from OpenAI and Cisco for temporary, targeted mitigations ("shields") that block an exploit's code path on a running system while a real patch is tested and rolled out. Shields are eBPF programs, so they attach to a live process or kernel hook without a restart. The pitch is that AI agents can investigate a vulnerability, write a candidate shield, and validate it against both the exploit and real traffic, while humans approve what gets deployed. In a controlled demo, a Codex-generated shield added an input check to Java's Base64 decoder inside a running Elasticsearch and rejected a Java4Shell exploit attempt without downtime. BSD-2-Clause, with the BPF programs dual BSD/GPL.

The problem it targets

The window between disclosure and full patch rollout is days to weeks. Blunt mitigations (block a syscall, firewall a port) often break the service because the exploit and legitimate requests use the same operation. A shield aims to be narrow enough to stop the malicious input pattern and let everything else through.

How it works

Engineering read

Review checklist before adopting

  1. Who can generate, approve and load shields, and how are signing keys protected?

  2. Is there a mandatory observe-mode period with metrics on what would have been blocked?

  3. How is the validation workload built, and does it include rare but legitimate request patterns?

  4. Does every shield carry a CVE reference, owner and expiry, with alerts when the patch has shipped?

  5. What is the measured latency overhead on the hooked path?

  6. Are TPM attestations actually checked by something, or just recorded?

  7. What is the rollback path if a shield causes errors in production?

R163 (Java4Shell, the vulnerability in the demo), R030 (kernel-enforced sandboxes and verified policy for agents), R154 (open-source tools for agent security), R073 (security review of agent-written code).

Connections

See R243 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.