A Microsoft-built team of LLM agents scans whole code repositories for security holes, checks each find, and tries to prove it with a working trigger. The authors report 266 new CVEs from it.
| Target Project | Hyenas | Hyenas w/o code enrichment (Hyenasno-enrich) | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Project | Lang. | Audit Target | GT | Reports | TP | Found GT | Recall | Precision | Cost | Reports | TP | Found GT | Recall | Precision | Cost |
| curl | C | 22 files | 41 | 267.0 | 75.3 | 23.7 | 57.7% | 28.2% | $793.6 | 95.3 | 27.0 | 15.0 | 36.6% | 28.3% | $250.0 |
| (e65dc7f) | (43.1K LoC) | (718.0) | (111.0) | (28.7) | (69.9%) | (15.5%) | (209.3) | (37.3) | (16.0) | (39.0%) | (17.8%) | ||||
| Gitea | Go | 91 files | 123 | 640.7 | 181.0 | 76.0 | 61.8% | 28.3% | $914.5 | 411.3 | 116.0 | 67.0 | 54.5% | 28.2% | $472.7 |
| (ec75bdb) | (37.6K LoC) | (962.3) | (200.0) | (81.0) | (65.9%) | (20.8%) | (513.3) | (125.7) | (70.7) | (57.5%) | (24.5%) | ||||
| Jenkins | Java | 28 files | 32 | 178.3 | 36.0 | 15.0 | 46.9% | 20.2% | $525.4 | 103.3 | 19.0 | 11.7 | 36.5% | 18.4% | $220.7 |
| (65e05c0) | (25.4K LoC) | (437.3) | (44.3) | (18.0) | (56.3%) | (10.1%) | (153.7) | (23.0) | (14.3) | (44.8%) | (15.0%) | ||||
| MLflow | TS | 20 files | 27 | 487.0 | 31.0 | 12.7 | 46.9% | 6.4% | $879.4 | 284.7 | 14.0 | 9.7 | 35.8% | 4.9% | $385.4 |
| (c4d8b3a) | Python | (27.3K LoC) | (1,108.3) | (79.0) | (22.3) | (82.7%) | (7.1%) | (414.7) | (41.0) | (19.7) | (72.8%) | (9.9%) | |||
| Next.js | TS | 24 files | 23 | 124.0 | 44.7 | 15.3 | 66.7% | 36.0% | $487.3 | 66.0 | 30.7 | 11.0 | 47.8% | 46.5% | $334.9 |
| (c5de33e) | Rust | (14.0K LoC) | (287.7) | (52.7) | (16.0) | (69.6%) | (18.3%) | (98.7) | (36.0) | (13.7) | (59.4%) | (36.5%) | |||
| OpenSSL | C | 40 files | 48 | 308.7 | 91.7 | 35.7 | 74.3% | 29.7% | $1,117.9 | 157.7 | 58.0 | 31.7 | 66.0% | 36.8% | $336.4 |
| (c4da9ac) | (45.5K LoC) | (726.0) | (113.7) | (38.7) | (80.6%) | (15.7%) | (260.3) | (65.3) | (32.7) | (68.1%) | (25.1%) | ||||
| Total | 225 files | 294 | 2,005.7 | 459.7 | 178.3 | 60.7% | 22.9% | $4,718.0 | 1,118.3 | 264.7 | 146.0 | 49.7% | 23.7% | $2,000.0 | |
| (193.0K LoC) | (4,239.7) | (600.7) | (204.7) | (69.6%) | (14.2%) | (1,650.0) | (328.3) | (167.0) | (56.8%) | (19.9%) | |||||
Parenthesized results use all Scan candidates before Validate; unparenthesized results use only candidates classified as LIKELY by Validate.
TP counts GT-matched candidates (multiple candidates may match one GT); Found GT counts distinct matched GTs. Precision = TP / Reports; Recall = Found GT / GT.
Going deeper
A running example of Hyenas discovering CVE-2026-89788, a use-after-free vulnerability in Linux ksmbd.
| Tags | Requirements |
|---|---|
| PRECOND, INV, CONSTRAINT | Preconditions callers must satisfy, invariants on object state, and resolved value ranges |
| DATA-FLOW, INDIRECT | Value propagation across functions and indirect-call targets |
| OWNERSHIP, LIFECYCLE, ALLOC, BOUNDS, OVERFLOW | Ownership, object lifetime, allocation sizes, buffer bounds, and integer wraparound |
| LOCK, ERRPATH | Locking, reentrancy, and error-path cleanup |
Picture a building inspection. A huge office block, nobody knows where the faults are, and you have a team of inspectors: one generalist, one who checks for faults like past ones, and many specialists in wiring, gas or locks.
Sending every specialist into every room wastes the day, and each would study the floor plan from scratch. So one person goes first and pins a note in each room: what this room depends on, what the next room is meant to guarantee, what nobody has checked. The right few inspectors then read the notes and look.
A suspected fault is first argued on paper, then, if it holds up, someone tries to actually trip it in a fresh copy of the room. The busiest rooms are visited first, and promising faults jump the queue. The authors say this team has found 266 officially recorded faults.
The abstract, word for word, with the five densest phrases unpacked.
Agentic systems based on large language models (LLMs) have shown promise in vulnerability discovery. Extending them to entire repositories, however, requires examining code from multiple security perspectives, which raises three questions: which auditors to run on which code1, how to provide the program context each audit requires, and how to divide limited resources between auditing more code and validating vulnerability candidates. We present Hyenas, an agentic system for repository-wide vulnerability discovery with four stages: Prepare collects the audit scope, threat model, and historical vulnerabilities; Scan discovers vulnerability candidates; and Validate and Prove support them with static and dynamic validation, respectively. In Scan, Hyenas selects complementary auditors for each function and tracks their analyses with function-auditor audit units2. Before auditing, code enrichment3 constructs the cross-function context of each function once and shares it with all auditors and Validate, letting each focus on its own role without reconstructing it. Hyenas interleaves the tasks of this Scan-Validate-Prove funnel by priority to balance auditing more code against validating candidates. We integrated Hyenas into the Windows CI/CD pipeline and applied it to open-source projects, including the Linux kernel. Hyenas discovered previously unknown vulnerabilities that have been assigned 266 CVEs, 73.7% of which are rated critical or high4. Hyenas also achieved a 91% success rate on CyberGym and ranked first on the leaderboard as of August 20265.
Two lines of work feed this system. Each stop says what it showed and what this paper takes from it.
Read four parts of it, in this order.
Skip Sections II and X if you know LLM bug-finding work.
A sceptic should start with how findings are counted and judged.
Linux kernel. We ran Hyenas on Linux kernel commit 6916d57 with the Linux kernel prover, covering about 5% of the codebase so far, including networking, file systems, and security modules. Hyenas reproduced 621 cases with PoCs. Through iterative analysis with coding agents, we deduplicated these cases by root cause, reducing them to 355 distinct cases. We also excluded 163 cases with limited security impact and 133 cases that had already been reported or fixed upstream. We reported the remaining 59 cases with patches to the maintainers, leading to 33 new CVEs so far. Of these, 24 are rated critical or high, including CVE-2026-89788, described in §III-B. For eight of the 33 CVEs, we confirmed working local privilege-escalation (LPE) exploits, which we have not released publicly. For example, CVE-2026-64563 is a use-after-free in rhashtable iteration after resizing that enables LPE on both Linux and Android.
GT matching. We used three LLM-based judges (GPT-5.4, Claude Opus 4.6, and Claude Sonnet 4.6) to determine whether vulnerability candidates matched GT. For each candidate, we considered only GT entries in the file where the candidate reported a vulnerability. Each judge independently assessed whether the candidate and a GT entry described the same underlying vulnerability, based on their descriptions and locations. Matching did not require identical descriptions or line numbers and allowed different observation points for the same vulnerability. A match was confirmed when at least two judges agreed. Although LLM-based matching may occasionally be incorrect, using the same procedure supports consistent comparisons in component evaluations.
On the latest CyberGym leaderboard, other systems reported higher scores, but direct comparisons are difficult: they can use newer LLMs than those in our evaluation, and some CyberGym vulnerability descriptions do not clearly distinguish the intended vulnerability from other bugs in the same codebase. Nevertheless, Hyenas is listed as a leading system on the leaderboard, placing it among the state of the art in vulnerability discovery and PoC generation.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all