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

Telegram's 30-Engineer Team Struggles with AI-Driven Updates, Widespread Crashes, and Silent RCE Patch

Telegram's once-praised native client has deteriorated in 2026 under the pressure of eight major releases handled by roughly 30 engineers across six platforms. New AI features such as Cocoon-powered summaries and text editors with styles like Biblical and Viking have introduced severe usability problems, including blocked message input fields and accidental activations during voice recording. Critical bugs now affect core functions like chat scrolling on iOS, right-click actions on Desktop, and media forwarding for files older than specific dates. Researchers at NebuSec disclosed a remote code execution flaw in the tgcalls library affecting Android versions 8.6.2 through 12.10.3, which Telegram fixed quietly in 12.10.4 without issuing a CVE or user warnings. The same redesign push known as Liquid Glass forced users onto vulnerable builds, while a long-standing input bug fix submitted in 2025 remains unmerged. These issues illustrate a shift toward rapid feature deployment at the expense of regression testing and transparent security practices.

AntiMalware•Vulnerabilities & Exploits

METASCAN Launches Public Bug Bounty Program with Rewards Up to 500,000 Rubles

Russian vulnerability detection vendor METASCAN has opened a public bug bounty program on the Standoff Bug Bounty platform. Independent security researchers can now test the company's own resources and receive payments of up to 500,000 rubles for confirmed vulnerabilities. Prior to the public launch, METASCAN ran a closed program under Standoff Hacks that produced 34 reports and approximately 350,000 rubles in rewards within two days. The company specializes in scanning IT infrastructure, analyzing third-party software, and developing detection rules for both zero-day and one-day vulnerabilities. METASCAN CEO David Ordian noted that the experience of researching external software helps the firm appreciate the value of external researchers. Standoff Bug Bounty head Roman Prikhodko emphasized that external testing should accompany product development to catch issues missed internally.

BoletimSec•Vulnerabilities & Exploits

Attackers Exploit Critical Cisco Expressway Flaw CVE-2026-76466 for Root Access and Lateral Movement

Cybercriminals have actively exploited a critical vulnerability in Cisco Expressway-C and Expressway-E appliances deployed in clusters. The flaw, tracked as CVE-2026-76466 with a CVSS score of 9.8, resides in the database service and allows unauthenticated remote code execution as root when persistent cookies and TLS verification mode are enabled. Attackers leveraged the issue to compromise internet-facing nodes running version X15.5.3, then pivoted to internal cluster members. The campaign targeted a Russian organization and featured custom Python scripts that scanned for open SMB shares, interacted with SQL Server and WinRM, and searched GitLab repositories for credentials. Evidence suggests the scripts were partially generated with AI assistance. Cisco released fixed version X15.5.20, while CISA added the vulnerability to its Known Exploited Vulnerabilities catalog, mandating urgent remediation for U.S. federal agencies.

BoletimSec•Vulnerabilities & Exploits

Critical Insecure Deserialization Flaw in Idunno.AntiCsrf Allows Remote Code Execution on ASP.NET WebForms Servers

A critical vulnerability tracked as CVE-2026-131914 with a CVSS score of 9.3 has been identified in the third-party Idunno.AntiCsrf library used by ASP.NET WebForms applications. The flaw stems from unsafe deserialization of CSRF tokens via an unauthenticated ObjectStateFormatter instance that lacks any encryption key, message authentication code, or signature verification. Attackers can achieve full remote code execution with a single HTTP POST request by supplying an arbitrary non-empty CSRF cookie value and a Base64-encoded gadget chain in the form field. The affected versions are 0.9.1.0 and 0.9.1 Beta; the open-source project has received no updates since December 2008 and offers no patch. Exploitation runs in the context of the IIS worker process, resulting in complete compromise of the application server. Organizations are advised to immediately discontinue use of the library and migrate to maintained alternatives such as System.Web.Helpers AntiForgery or ASP.NET Core IAntiforgery.