AIMedium1 source
Name-based trust lets fake sanitizers hide real alerts from LLM code triage
First reported Updated
Researchers show that LLMs triaging static application security testing alerts can be fooled when the triage prompt only includes the flagged file. A call to a sanitizer-like method in another file, named to fit the vulnerability, led models to discard true alerts, even though the models recognized the code was unseen. Retrieving the called method restored accurate triage, and allowing a needs-review verdict also helped. In a study of 35 Java projects, about half of CodeQL injection alerts passed through similar cross-file methods. The authors recommend that pipelines resolve, show and verify unseen code rather than trust names.
Why it matters
Teams using LLMs to filter SAST alerts may be silently dropping real injection flaws, including a real CVE.
Coverage (1)
arXiv cs.CR
What the Model Cannot See: Name-Based Trust Lets Unverifiable Sanitizers Silence True Alerts in LLM-Based Static-Analysis Triage
Researchers show that LLMs triaging static application security testing alerts can be fooled when the triage prompt only includes the flagged file. A call to a sanitizer-like method in another file, named to fit the vulnerability, led models to discard true alerts, even though the models recognized the code was unseen. Retrieving the called method restored accurate triage, and allowing a needs-review verdict also helped. In a study of 35 Java projects, about half of CodeQL injection alerts passed through similar cross-file methods. The authors recommend that pipelines resolve, show and verify unseen code rather than trust names.
- Triage prompts showing only the alerted file can be bypassed by name-based sanitizers
- Models rejected visible no-op sanitizers but trusted identically named unseen ones
- Retrieving the called method restored accurate triage
- About half of CodeQL injection alerts in 35 Java projects hit such cross-file calls
Summary based on the source's feed description.
Was this useful?
Summaries are written by RedCVE with AI assistance, based on the sources' reporting. Always check the original source.