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

Proving Vulnerability Management Works: MTTR Metrics, Maturity Models, and Real-World Testing

This article explains how organizations can measure the effectiveness of their vulnerability management programs using key metrics like MTTR, coverage, and maturity levels. It emphasizes that without proper measurement, even advanced scanners and skilled teams cannot confirm whether the process is functioning or stalling. The piece highlights MTTR as the primary metric for executive discussions because it directly correlates with real-world exploit timelines. Industry benchmarks from Verizon DBIR 2026, Edgescan 2025, Bitsight 2024, and Qualys show that remediation often takes months, far exceeding regulatory requirements such as FSTEC Order 117. A five-level maturity ladder is presented, ranging from chaos to continuous CTEM, to help teams assess progress. The article concludes that simulated attacks and red team exercises provide the most honest validation of VM effectiveness beyond dashboard numbers.

Security NEXT•Vulnerabilities & Exploits

WordPress Core Update RCE Vulnerability CVE-2026-119977 Actively Exploited, CISA Adds to KEV Catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added a critical remote code execution flaw in WordPress to its Known Exploited Vulnerabilities catalog after confirming active exploitation in the wild. The vulnerability, tracked as CVE-2026-119977, resides in the core update mechanism and allows attackers to predict temporary file paths created during package updates, enabling unauthorized code execution from external sources. Wordfence assigned the flaw a CVSS v3.1 base score of 8.1 and reported blocking over 13,000 exploitation attempts targeting its customers within a single 24-hour period. The issue was addressed in the WordPress 7.1.4 release on October 28, 2026, with backports now being rolled out to all branches from version 4.7 onward. CISA has set a three-day remediation deadline of November 6, 2026, for U.S. federal agencies and instructed them to investigate potential compromises. Security researchers note that the attack leverages predictable temporary file locations during the update process, making it particularly dangerous for unpatched installations.

Security NEXT•Vulnerabilities & Exploits

Barracuda ESG Hit by High-Severity Vulnerabilities Allowing Chained Root Access

Barracuda Networks has released patches for multiple products after disclosing two high-severity vulnerabilities that affect the Email Security Gateway (ESG). CVE-2026-116606 is a pre-authentication authorization bypass in ESG that permits an attacker with network access to the management interface to import a malicious backup file and alter device configuration without credentials. CVE-2026-111560 is an OS command injection flaw in timezone configuration handling that requires administrator login but grants root-level command execution. The command injection issue also impacts Load Balancer ADC, Message Archiver, WAF Control Center, Web Application Firewall, and Web Security Gateway. The vendor published its advisory on November 2, 2026, and urges immediate application of the fixes to prevent potential full system compromise through chained exploitation.

BoletimSec•Vulnerabilities & Exploits

WordPress Patches Race Condition in Core Update Process Enabling Unauthenticated Remote Code Execution

WordPress addressed a critical race condition vulnerability in its core update mechanism on October 28, 2026, that could allow remote code execution without authentication. The flaw affects the automatic update process used by the majority of installations, exposing a temporary installer during file extraction to a predictable folder. Wordfence recorded 60,471 exploitation attempts within the first 24 hours after disclosure. The issue was discovered by researcher Umut Bayram and fixed across multiple branches including version 7.1.4, which bundles 22 security patches. Mitigations include immediate updates, restricting public access to the wp-content update directory, and ensuring application firewall coverage. Versions 4.6 and earlier receive no further security updates.