← Lab /Software

MAS-SZZ identifies vulnerability-inducing commits with up to 65.22% higher F1

MAS-SZZ achieves up to 65.22% F1-score improvement over the best existing SZZ algorithm

Software arXiv 27 Apr 2026 Method Prototype evidence

Published as “MAS-SZZ: Multi-Agentic SZZ Algorithm for Vulnerability-Inducing Commit Identification”

Why it matters

More accurate VIC identification can improve downstream security tasks such as affected-version analysis and vulnerability severity assessment.

Summary

MAS-SZZ achieves up to a 65.22% absolute F1-score gain over the best prior SZZ algorithm for identifying vulnerability-inducing commits. It uses multi-agent collaboration, intent-driven anchor selection, and iterative backtracking, and shows the largest gains on three benchmark datasets, though its recall on one Java subset (V-SZZ-j) is not better than the best baseline.

What they found 4

  1. MAS-SZZ gains up to 65.22% absolute F1-score over the best prior SZZ algorithm.

    “achieving F1-score gains of up to 65.22% over the best-performing SZZ algorithm.”

  2. With Gemini-3.1-pro, MAS-SZZ reaches precision 0.73, recall 0.75, and F1 0.74 on the C/C++ dataset.

    “Gemini-3.1-pro demonstrates superior performance, achieving a precision of 0.73, a recall of 0.75, and an F1-score of 0.74”

  3. Removing intent-oriented anchor selection drops precision by up to 59.52% across datasets.

    “without the intent-oriented anchor statement selection, the precision on the three datasets drops by 8.96%, 59.52%, and 3.12%, respectively.”

  4. Ablating the agentic backtracking reduces F1 by up to 54.17% on the C/C++ dataset.

    “MAS-SZZ improves the F1-score by 54.17%, 20.83%, and 8.57% on the three datasets, respectively.”

Caveats 1

  • It is observed that MAS-SZZ outperforms all the baselines on the three datasets in terms of recall and F1-score, with the exception of recall on V-SZZ-j.

What’s new here 4

  • Introduces a multi-agent architecture that coordinates LLMs for root-cause summarization and backtracking.
  • Uses a step-forward prompting strategy to infer change intent of each patch hunk for more accurate anchor selection.
  • Implements autonomous iterative backtracking guided by the identified root-cause statements.
  • Combines evidence-grounded root-cause analysis with LLM-driven repository exploration.