Research · September 15, 2026
Measuring and Exploiting Contextual Bias in LLM-Assisted Security Code Review
Reported by arXiv cs.AI + cs.CL
In short
Researchers found that LLM-based code review tools are vulnerable to "contextual-bias injection," where attackers craft pull request metadata to manipulate how models assess security vulnerabilities. A large-scale study across 6 LLMs and 33 CVEs confirms the framing effect is a consistent, exploitable weakness in automated code review pipelines.
Why it matters
If your CI/CD pipeline uses LLMs for security review, adversaries may be able to smuggle vulnerable code past it just by framing the PR metadata the right way.
Terms used in this story
Read the original reporting
arXiv cs.AI + cs.CL (opens in a new tab)AI Download summarizes and links to the news. We do not republish full articles.