SIAgentNews.com
← All news

OpenAI and Cisco release Shirudo to let AI agents patch Linux systems

The new open-source runtime allows AI agents to create temporary 'shields' that block exploits without requiring a full system restart.

4 min readMade with AI

9.2CVSS score of the Java4Shell exploit

The short version

  • Shirudo uses eBPF to run small, verified programs at hooks inside the Linux kernel to block exploits.
  • AI agents can use Codex to discover bugs, build exploit reproducers, and iterate on 'shields' until they work.
  • The system uses TPM 2.0 to record every load and unload, providing a secure audit trail for security mitigations.
  • A test showed a Codex-generated shield successfully blocked the Java4Shell exploit on a running Elasticsearch node.
  • Current requirements include a specific bpf-next kernel and five additional patches not yet in the main kernel.

Closing the patch window

When a new security vulnerability is discovered in a software system, it often takes days or even weeks for engineers to test and deploy a permanent fix. During this time, the system remains exposed to potential attacks. Shirudo is a new open-source Linux runtime designed to shrink this window by providing immediate, temporary protection.

The project was developed by the Isovalent team at Cisco in collaboration with OpenAI. It allows AI agents to write small pieces of code called 'shields' that block the specific behavior an exploit needs to work. This means a team can stop a known threat immediately without having to shut down the service or restart the entire application.

Because many exploits share the same code paths as legitimate user requests, simply blocking an entire operation is often too risky for production environments. Shirudo aims to be more surgical by targeting only the vulnerable code path. This allows legitimate traffic to keep flowing while the security team prepares a real patch.

Why it matters

For security teams, this reduces the risk of 'patch windows' where systems remain vulnerable for days or weeks. It provides a way to neutralize specific threats instantly while developers work on permanent fixes.

How the eBPF shield works

Shirudo is built on eBPF, a technology that allows developers to run small, verified programs at specific hooks inside the Linux kernel. The name Shirudo is Japanese for 'shield.' The architecture splits the work between an operator machine and a target node to maintain security and performance.

The operator machine acts as a one-shot command-line tool rather than a persistent background service. It builds and signs the shields, then pushes them to a registry. This ensures that the signing code, which holds sensitive keys, never actually reaches the target machine where the application is running.

On the target node, the control plane is an eBPF program that loads at boot time. It pulls the shields from the registry and verifies their signatures before loading them into the kernel. These shields, which the documentation calls 'upatches,' can block a bug, replace vulnerable code, or provide extra visibility into a specific area of the system.

The AI agent workflow

The project envisions a specific loop where AI agents, specifically using OpenAI's Codex, handle the heavy lifting of mitigation. The process begins with discovery, where the agent identifies a bug or ingests a new vulnerability disclosure from the public. The agent then moves to the mitigation phase to build an exploit reproducer and pick the correct kernel hook.

Once the agent finds a working shield, it moves to the rollout phase. The system pushes the signed shields and monitors them against a security score and the overall health of the application. Operators have the ability to approve these shields before they are enforced, and they can observe the impact of a shield before it actually starts blocking anything.

Finally, the system provides a monitoring stage that tracks how many times an exploitation attempt was blocked. This gives security teams a clear hit count of how often the shield is being tested by malicious actors. This automated loop is intended to make responding to zero-day threats much faster than manual coding.

Security and trust models

Trust is enforced through a multi-layered approach involving hardware and software verification. The Linux kernel checks each loader's signature against a .bpf keyring to ensure the code is authentic. Simultaneously, the eBPF verifier checks the program to ensure it is safe and won't crash the system.

To provide a secure audit trail, a TPM 2.0 chip records every time a shield is loaded or unloaded. It also signs attestation evidence to prove that the mitigations were applied correctly. The test bundle for Shirudo even uses an ML-DSA-87 signing key, which is a post-quantum algorithm designed to be resistant to future quantum computing threats.

The registry traffic also utilizes TLS 1.3 with a hybrid post-quantum key exchange. These measures ensure that the shields cannot be intercepted or tampered with while being moved from the operator machine to the target node. By combining hardware roots of trust with modern cryptography, the system aims to provide a highly secure way to deploy dynamic code.

Performance and requirements

While the project is promising, it currently has very strict system requirements. To run Shirudo, a system must have a bpf-next kernel with a specific signed-loader ABI. The test kernel used by the developers was 7.4.0-rc1-bpf-next+, and users also need five additional kernel patches that are not yet included in the bpf-next distribution.

The hardware requirements include a TPM 2.0 chip, systemd 256 or newer, and a unified kernel image. For the operator machine, developers need clang and LLVM 23, along with OpenSSL 3.5 or newer. There is currently no fallback option for older kernels or systems without a TPM.

In a disclosed test, a Codex-generated shield successfully blocked the Java4Shell exploit on a running Elasticsearch 9.5.5 node. This exploit, which has a CVSS score of 9.2, affects OpenJDK 17.0.6 and newer on x86-64 CPUs. While the test was successful, the developers have not yet published specific data regarding overhead or false-positive rates.

What to watch

  • Whether the required kernel patches will be merged into the main bpf-next distribution.
  • Public performance benchmarks regarding latency and system overhead.
  • How many other CVEs are successfully mitigated using the Codex-generated shields.

Try it

Check the Shirudo GitHub repository to view the pre-release code and the VM quickstart example.

Sources

The reporting and documents this story is built from. Each link opens the original.

Read the original at MarkTechPost

First reported by MarkTechPost. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

More AI news