Once you start running property-testing swarms at scale, discovery stops being the bottleneck. The scarce resources are patch safety, maintainer patience, and your own reputation. This post is an attempt to distill the defender-side verification and reporting workflow I’ve been using with my held-back vulnerability pipeline1.
Fix the broken invariant, not just the failing test
Proving a bug exists takes one example. When you ship a fix for a security-relevant bug, this also serves as an implicit promise that you’ve hardened every sibling path across that security-relevant surface2.
Stock LLMs often confuse silencing a failing test via a small diff with fixing the broken invariant—and stay blind to unintended side effects3.
As Linus Torvalds noted, subtle bugs that survived unnoticed imply nontrivial fixes, with the risk of introducing new bugs. Property test suites let you hammer candidate patches across thousands of scenarios, providing a higher degree of confidence in their correctness as compared to making a single failing test pass, or a single vuln repro fail.
That’s why I’ve included root-and-branch as part of my larger property testing campaign skillset: it attempts to find the underlying cause and prompts the LLM using it to fix the class of bug, hardening sibling paths across the security-relevant surface4.
Draft the report in a fresh context, not the debugging session
Ask a forty-turn debugging session to polish itself into an issue or pull request and it writes like a student showing its work for partial credit—seventy-line writeups of ruled-out hunches and CYA checklist sign-offs5.
write-reports keeps raw investigation logs on disk and drafts the outward report in a fresh context from the minimal repro, using the project’s native terminology. Putting a passing call right above the failing one—varying a single input on published APIs—lets a maintainer see valid setup and the broken guarantee at a glance.
Try to disprove your own finding before filing
Showing up in an unfamiliar codebase means flagging upfront that you aren’t a domain expert. I’ve found that running a best-effort approximation of its maintainers’ triage pipeline helps build credibility.
For this, I like to use another model family—usually DeepSeek—heavily prompted towards skepticism6, and iterate against that maintainer-facing draft until it can reproduce every finding cold and confirm the claims match7. False positives drop out locally, and the drafts that survive regularly carry straight into published advisories.
-
Ten advisories have cleared upstream release so far across Traefik, NATS, cargo-nextest, Nuxt, Twig 1 and 2, FrankenPHP 1 and 2, cdxgen, and yopass. Roughly another ten confirmed issues from the same runs are moving through upstream release queues. ↩︎
-
Google Project Zero’s mid-2022 in-the-wild 0-day review found that half of the 0-days tracked in the first half of 2022 were variants of previously patched vulnerabilities where the original fix addressed only the narrow reported PoC rather than sibling paths across the surface. ↩︎
-
On coding agents passing narrow PR regression slices while missing sibling paths or breaking existing behavior, see UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench, Are “Solved Issues” in SWE-bench Really Solved Correctly?, and Yin et al.’s OS study How Do Fixes Become Bugs?. ↩︎
-
If a bug came from formatting a typed identifier into a string and reparsing it later, grepping for the type name finds only its direct callers; grepping for
.contains(orstrip_prefix(turns up the same mistake under three unrelated names. ↩︎ -
See LLMs Get Lost In Multi-Turn Conversation and Saito et al. on Verbosity Bias in Preference Labeling by LLMs. ↩︎
-
On cross-family verification outperforming self- and intra-family review—especially with GRPO reasoning post-training—see When Does Verification Pay Off? (ICLR 2026), Cross-Model LLM Code Review (KDD 2026), Self-Preference Bias in Rubric-Based Evaluation of LLMs, and LLM Evaluators Recognize and Favor Their Own Generations (NeurIPS 2024). ↩︎
-
Of the 45 claimed vulnerabilities reported to curl, maintainers confirmed five low-severity issues, reclassified 36 as ordinary non-security bugs sent to the wrong queue, rejected three as non-bugs, and noted one whose suggested patch would have introduced the vulnerability it warned about. Passive judging alone isn’t enough: even separate models share correlated blind spots without adversarial pressure (Kim et al., ICML 2025), and prompted LLM critique reliably fails without external execution feedback (Kamoi et al., TACL 2024). ↩︎