Habr•November 4, 2026•🇷🇺Translated from Russian

Negative Specifications: How Bug History Strengthens AI Agent Code for Ginux Kernel

Security researcher sgordey has published an in-depth analysis of how negative specifications derived from historical bugs can dramatically improve the quality of code produced by AI agents. The work focuses on his vulnerability research into Ginux, a Linux-compatible operating system kernel written independently in Rust by Gregory Kurtzer, the creator of CentOS and founder of Rocky Linux.

Kurtzer developed Ginux using the HDAE (Human-Directed Agentic Engineering) approach, where humans define architecture and acceptance criteria while agents generate, verify, and fix the code. sgordey initially used his tools rust-in-peace and reproof to hunt for vulnerabilities but repeatedly found issues at system boundaries where core properties were only partially implemented.

Examples include memory limits that failed to account for socket queues and overlay filesystems, a background Linux domain able to seize the management controller through an infinite loop without system calls, and the SO_REUSEADDR flag that could be set and read back yet had no effect on bind() behavior. These findings prompted the author to advocate for explicit negative requirements stating what must never occur under any conditions.

The article recommends studying real-world failures such as SACK Panic and SACK Slowness in TCP/IP before writing specifications. From each historical case, teams should derive concrete requirements covering resource accounting, partial operation rollback, and protection that does not break legitimate protocol behavior. sgordey outlines ready-to-use agent tasks named failure-history and challenge-spec that extract requirements, map them to implementation points, and generate tests.

Guidance is provided for popular frameworks including BMAD, OpenSpec, Kiro, and Superpowers, showing where to insert historical bug analysis so that negative cases become enforceable acceptance criteria rather than forgotten documents. The author concludes that every project already possesses a rich bug tracker in the public history of its domain; the cost of ignoring it far exceeds the price of a model subscription.

Related articles

Habr•Vulnerabilities & Exploits

Top 5 Cybersecurity Events of the Week: Barracuda Root Exploits, cPGuard Supply-Chain Attack, APT Flaw, Xen Escape Bugs, and OpenSSH Authentication Bypass

This week’s Jet CSIRT roundup highlights five critical security issues affecting widely deployed infrastructure. Two high-severity vulnerabilities in Barracuda Email Security Gateway and other appliances allow unauthenticated attackers to obtain root access via authorization bypass and command injection. A supply-chain compromise of cPGuard versions 5.88.12–5.88.19 enabled theft of password hashes, database files, and SSH keys from at least 32 customer servers before the malicious update was removed. A flaw in the APT package manager (CVE-2026-109518) lets network attackers substitute malicious packages that execute with root privileges on Debian and Ubuntu systems. Two Xen hypervisor bugs (CVE-2026-102703 and CVE-2026-102704) permit a compromised guest VM to read and write memory belonging to dom0 and other guests. Finally, an OpenSSH authentication bypass on musl-based Alpine Linux distributions allows passwordless login to key-only accounts when long password hashes trigger a crypt() return value of “*”.

BoletimSec•Vulnerabilities & Exploits

CISA and FBI Warn of Global Cyber Attacks on Industrial Refrigeration and Cold Chain Controllers

CISA, the FBI, and multiple U.S. agencies issued a joint advisory on November 5 detailing malicious cyber activity targeting industrial refrigeration systems and cold chain monitoring equipment worldwide. Attackers are exploiting unpatched or internet-exposed temperature controllers in supermarkets and cold storage facilities through authentication bypass, arbitrary code injection, and weak configurations. Once inside the control panels, threat actors force units into continuous heating and defrost cycles, the opposite of their intended function, while also causing denial of visibility that prevents operators from seeing real equipment status. The advisory highlights risks including reduced system lifespan, fire hazards, stock loss, and potential consumer harm from spoiled products stored outside safe temperature ranges. Sectors most affected include public health, chemical manufacturing, food and agriculture, and refrigerated transportation. Recommended mitigations focus on network segmentation, removal of remote access from the public internet, strong authentication, firmware updates, and regular offline backups.

BoletimSec•Vulnerabilities & Exploits

Critical Flaw in React Server Components Enables Unauthenticated Remote Code Execution

The React team disclosed security advisory GHSA-xqc2-xf4c-x3h3 describing a high-impact vulnerability in React Server Components that can lead to remote code execution. The flaw affects packages react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack across multiple version ranges from 19.0.0 through 19.3.0. Exploitation requires no authentication, privileges, or user interaction, allowing a remote attacker to execute code on the server by sending a specially crafted request containing multiple typed arrays alongside attacker-controlled data. No CVE identifier was assigned, and the advisory notes that the issue is distinct from the previously reported React2Shell vulnerability tracked as CVE-2025-55182. Affected applications are limited to those running React code on the server with supported frameworks and bundlers; client-only React usage is unaffected. Patches are available in versions 19.0.9, 19.1.10, 19.2.9, and 19.3.1, with immediate updates strongly recommended. The React team also linked similar typed-array handling issues in Next.js Cache Components, suggesting a broader class of errors.

Security NEXT•Vulnerabilities & Exploits

Plex Media Server Vulnerabilities Exploited in Wild via Plex2Shell Chain

Plex has disclosed active exploitation of four vulnerabilities in Plex Media Server versions 1.43.2 and earlier. The flaws, tracked as CVE-2026-96652, CVE-2026-96654, CVE-2026-96655 and CVE-2026-96656, allow unauthenticated remote code execution when chained together. Attackers are leveraging server-side request forgery and token-handling weaknesses to write arbitrary files on exposed servers. Proof-of-concept code named Plex2Shell was published on 16 October, after which CISA added the issues to its Known Exploited Vulnerabilities catalog. Compromised systems have been observed deploying cryptocurrency miners and proxy relays. The software is widely used both as a standalone media server and as an add-on for QNAP and other NAS devices, increasing the potential attack surface.