Favia improves precision-recall for vulnerability-fix identification
Favia outperforms existing traditional and LLM-based methods on a large real-world commit dataset
Software arXiv 13 Feb 2026 Method Prototype evidence
Published as “Favia: Forensic Agent for Vulnerability-fix Identification and Analysis”
Why it matters
Agent-based forensic analysis can substantially reduce false positives and improve automated detection of vulnerability-fix commits in large open-source ecosystems.
Summary
Favia attains the strongest precision-recall trade-offs and highest F1-scores for vulnerability-fix identification under realistic candidate selection, preserving near-perfect recall (up to 0.98) and improving precision over prior LLM-based methods by up to 92%. The paper also shows that random-sample evaluations dramatically inflate performance, so the reported gains are based on a large 8 M-commit, 3,708-repo dataset.
What they found 2
- Favia achieves the highest F1-scores while preserving near-perfect recall and large precision gains over prior LLM approaches.
“Favia achieves the highest F1-scores across all tested models by preserving near-perfect recall (up to 0.98) while substantially improving precision over prior LLM-based approaches by up to 92%.”
- Across random-sample evaluation, Favia’s precision ranges 0.59-0.82, recall 0.86-0.93, and F1 0.72-0.87, outperforming all baselines.
“Favia achieves the strongest overall performance across models, with precision between 0.59 and 0.82, recall between 0.86 and 0.93, and F1-scores ranging from 0.72 to 0.87.”
Caveats 6
- In the random-sample setting, Favia’s precision caps at 0.82, indicating that precision is not near-perfect despite high recall.
- The reported precision improvement (up to 92%) depends on a specific realistic candidate set; under random sampling the absolute precision remains modest.
- The construction of realistic candidate sets relies on PatchFinder; alternative retrieval methods could change candidate distributions and affect performance.
- The dataset is skewed toward languages well supported by existing tooling, potentially limiting generalization to less-represented ecosystems.
- Evaluation is restricted to GitHub-hosted repositories and publicly disclosed CVEs, so proprietary codebases or undisclosed vulnerabilities are not covered.
- CommitShield’s language coverage remains limited despite extensions, which may affect comparative results.
What’s new here 4
- Combines a scalable ranking stage with a ReAct-based LLM agent that reasons iteratively over a pre-commit code environment.
- Performs evidence-driven code navigation to link commit changes to CVE root causes, handling indirect and multi-file fixes.
- Evaluates under realistic conditions where all repository commits are candidates, exposing the difficulty missed by random sampling.
- Introduces the CVEVC dataset (8 M commits from 3,708 real-world repos) for large-scale, realistic benchmarking.