LLM-validated auto-generated detection rules cut false positives by 67%
RuleForge reduces false positives by 67% while achieving an AUROC of 0.75 for CVE detection rules
AI/ML arXiv 2 Apr 2026 Method Real-world evidence
Published as “RuleForge: Automated Generation and Validation for Web Vulnerability Detection at Scale”
Why it matters
The approach can dramatically lower false-positive noise for security analysts while scaling rule creation to match the rapid influx of new CVEs.
Summary
RuleForge’s LLM-as-a-judge confidence validation cuts false positives by 67% and reduces rules with no IP matches by 71% while keeping true-positive detection unchanged, achieving an AUROC of 0.75. The evidence comes from a production deployment that compares the new validation pipeline against a synthetic-test-only baseline.
What they found 2
- The confidence-scoring pipeline reduces false positives by 67% without losing true positives.
“The confidence scoring and feedback mechanism generated the same number of true positive rules as the baseline while achieving a 67% decrease in false positives and a 71% decrease in rules matching no IPs.”
- The LLM-as-a-judge confidence scores have good discriminative power (AUROC 0.75) and calibration (ECE 0.17).
“The system achieves AUROC of 0.75 and ECE of 0.17 on 100 test examples.”
Caveats 7
- Synthetic test cases may be incorrect, limiting reliability of the first validation stage.
- LLM reasoning only matches human reasoning in 6 out of 9 evaluated rules, and in the other three the LLM is overly confident, missing limitations.
- Using the same Claude model family for both rule generation and confidence evaluation may introduce self-preference bias.
- However, the dependency on Nuclei templates introduces two limitations: (1) the template format lacks expressiveness for certain complex vulnerability types, and (2) only a subset of CVEs are converted to Nuclei templates by the security research community, constraining the system’s coverage.
- One limitation of this approach is that the synthetic nature of the test cases means the generated tests may be incorrect.
- The LLM reasoning matched human reasoning in six out of nine rules evaluated. In the remaining three, the LLM was overly confident, missing limitations identified by human reviewers.
- A limitation of this approach is that the same model family (Claude) is used for both rule generation and confidence evaluation, which may introduce self-preference bias [11];
What’s new here 4
- Automated generation of JSON detection rules from structured Nuclei templates using LLMs.
- A confidence-scoring validator (LLM-as-a-judge) that estimates sensitivity and specificity and provides reasoning feedback.
- Systematic feedback loop with up to five iterative refinements per candidate and a 5×5 parallel-candidate strategy.
- Extensions to generate rules from unstructured vulnerability descriptions and a proof-of-concept agentic workflow for multiple event types.