Laptops

Shirudo uses OpenAI Codex to shield Linux from attacks

A new open source security project from OpenAI and Cisco builds temporary shields to block exploits without restarting your servers.

Linux terminal displays firewall logs and blocked connections.

Security patches are the bane of any IT manager's life. Finding a bug today rarely means you can patch it tomorrow, according to OpenAI president Greg Brockman. Now, OpenAI and Cisco have launched an open source project called Shirudo to bridge that dangerous gap between a vulnerability being found and a permanent fix being ready.

The system uses the OpenAI Codex model to generate security shields that sit inside a running Linux system. In a demonstration reported by Interesting Engineering, the tool successfully blocked a Java4Shell exploit against an Elasticsearch service. Crucially, the application kept running throughout the attack, rejecting the malicious input without requiring a system restart or a full service shutdown.

How the kernel shields work

Shirudo relies on a Linux technology called extended Berkeley Packet Filter or eBPF. This allows the system to run tiny programs at specific points inside the OS kernel without changing the original source code. These programs observe network activity and can step in to block specific code paths that are known to be vulnerable.

To keep things secure, every shield is cryptographically signed and must be verified before it is loaded. The system also utilizes a Trusted Platform Module to keep a tamper proof record of every protection that has been added or removed from the system. This gives operators a clear audit trail to ensure their infrastructure meets security standards.

The catch for now

While the tech sounds like a silver bullet for zero day exploits, it is currently in its early stages. Shirudo is being released as an open source project to get more developers and researchers testing the runtime in virtual machines. Operators still have to manually approve a shield before it goes live, meaning it is not a fully autonomous robot guard just yet.

OpenAI and Cisco are looking for contributors to help build out more shields and test them against various Linux kernel builds. For those of us running older servers that cannot afford downtime for every minor patch, this could finally solve the headache of choosing between a vulnerable system and an offline one.

  • AI
  • Cisco
  • Coding
  • cybersecurity
  • Linux
  • OpenAI