AIMediumThanks for your feedback.Name-based trust lets fake sanitizers hide real alerts from LLM code 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.
1 source · arXiv cs.CR
- 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