Attributed metadata history
Up to 100 retained publisher events per page for 2bbca1c31fb842d9e12b3b914a0796bef3ee1867eaca6ebd73f78291923d5773. Withdrawals and unavailable references remain attributed to their publishers.
intelligence_src_fb50be84b835134c75
observed · 2026-11-05 12:04:02 UTC
arXiv:2611.06294v1 Announce Type: new Abstract: Large language model (LLM) coding assistants and agents construct a repository context before generating code. For security-sensitive code, this context decides whether the model sees the project's safeguards (e.g., authorization checks) or insecure code to imitate. However, context construction is designed almost exclusively for functional correctness, and secure-code benchmarks treat the context as fixed, so how repository context affects the security of generated code remains unclear. We construct CASE-Bench, a benchmark of 145 repository-level tasks from real CVEs in 51 projects. Each task runs in Docker, has functional tests and a proof-of-concept exploit validated in both directions, and is annotated with the repository code that enforces or undermines its security. Using CASE-Bench, we compare 13 context construction methods and six controls with six LLMs, edit single context elements, and analyze coding-agent trajectories. We find that (1) functionality-oriented context raises the functional pass rate by up to 8.2 percentage points (pp) but the secure pass rate by at most 3.7 pp, (2) withholding a safeguard lowers the secure
Fingerprint: 8b7075e388f4d9f6fa2b1484b1f3b2ef7d82eea6414e595d5fb9d80ec258719f
intelligence_src_fb50be84b835134c75
observed · 2026-10-12 17:19:02 UTC
available
Fingerprint: 90973caf0aa27cf910d2783f4ec5ef2005c7eb8389c822ec234a423fb7f28ea6