Research · November 5, 2026
A.S.E 2.0: Understanding How Repository Context Impacts the Security of LLM-Generated Code
Reported by arXiv cs.AI + cs.CL
In short
Researchers built CASE-Bench, a set of 145 repository-level tasks drawn from real CVEs across 51 projects, each with Docker setups, functional tests, and validated proof-of-concept exploits. They use it to compare 13 context construction methods across six LLMs, testing how the repository context given to a model shapes the security of the code it writes.
Why it matters
Coding assistants and agents typically build context for functional correctness, so understanding how that context affects security could change how these tools are designed and evaluated.
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.