🛰️ Daily AI Frontier
‹ back to 2026-11-05

A.S.E 2.0: Understanding How Repository Context Impacts the Security of LLM-Generated Code

Research LLM Agents

Ranking

Overall 81
Content 100
Popularity 37

Observed public metrics from 1 member.

Merged summary

TL;DR - CASE-Bench evaluates how repository context affects the security of LLM-generated code across 145 real-CVE tasks. It shows that context optimized for functionality often misses critical safeguards, leaving code correct but exploitable.

  • Functionality-oriented context improved functional pass rates by up to 8.2 percentage points, but secure pass rates by at most 3.7 points.
  • Withholding one safeguard reduced secure pass rates by up to 8.1 points.
  • Adding one insecure exemplar increased correct-but-exploitable outputs by 6.3 points.
  • Coding agents encountered relevant safeguards in only 27–36% of trajectories.

Sources (1)

A.S.E 2.0: Understanding How Repository Context Impacts the Security of LLM-Generated Code

arXiv cs.CR Jiongchi Yu, Keke Lian, Junqing Wang, Zhikang Fan, Zhaoxuan Li, Yongheng Huang, Ziming Zhao, Dong Zhang 2026-11-04 arXiv:2611.06294
Public signals Semantic Scholar citations 0 · Semantic Scholar influential citations 0
Providers: Hugging Face · N/A OpenAlex · N/A Publisher · N/A Semantic Scholar · Citations 0 · Influential citations 0 X · N/A Fetched 2026-11-17 15:30:02.890680 UTC

TL;DR - CASE-Bench evaluates how repository context affects the security of LLM-generated code across 145 real-CVE tasks. It shows that context optimized for functionality often misses critical safeguards, leaving code correct but exploitable.

  • Functionality-oriented context improved functional pass rates by up to 8.2 percentage points, but secure pass rates by at most 3.7 points.
  • Withholding one safeguard reduced secure pass rates by up to 8.1 points.
  • Adding one insecure exemplar increased correct-but-exploitable outputs by 6.3 points.
  • Coding agents encountered relevant safeguards in only 27–36% of trajectories.
item →