LLM4SAST tests security analysis tools with code variants and dynamic feedback

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

A research framework called LLM4SAST aims to systematically uncover faults in static application security testing (SAST) tools. It combines large language models with dynamic feedback, and the researchers report finding 66 distinct faults across six SAST tools. The work addresses a reliability issue: tools designed to inspect software for potential vulnerabilities can themselves contain defects.

LLM4SAST uses an LLM to transform program code across different programming languages. Specified metamorphic relations guide the generation of variants intended to meet particular conditions. Dynamic feedback helps select variants, while a separate method groups them based on program differences. A report-centric test oracle then compares SAST reports for the original program and its variants, examining cases where tests fail.

According to the paper’s summary, developers confirmed or fixed 32 of the 66 reported faults. The selection and clustering heuristics reduced false positives by 47.8%. Compared with existing approaches, the study says LLM4SAST detected 3.4 times more faults while using 39.8% as many variants. These figures apply to the tools examined and the comparison described in the paper.

The source also describes the framework’s testing strategy and evaluation. The supplied text does not identify the tools or specify which programming languages were used. Read the original paper on arXiv

🇬🇧 https://arxiv.org/abs/2610.21309v1

Leave a Comment

The weekly brief: selected developments, projects and videos