{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,19]],"date-time":"2026-11-19T21:58:14Z","timestamp":1795125494436,"version":"4.10.3"},"reference-count":34,"publisher":"MIT Press","license":[{"start":{"date-parts":[[2026,9,2]],"date-time":"2026-09-02T00:00:00Z","timestamp":1788307200000},"content-version":"vor","delay-in-days":244,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["direct.mit.edu"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2026,8,28]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Code-capable large language model (LLM) agents are embedded in software engineering workflows where they can read, write, and execute code, raising \u201cjailbreak\" stakes beyond text-only settings. Prior evaluations emphasize refusal or harmful-text detection, leaving open whether agents compile and run malicious programs. We present JAWS-BENCH(Jailbreaks Across WorkSpaces), a benchmark spanning three escalating workspace regimes mirroring attacker capability: empty (JAWS-0), single-file (JAWS-1), and multi-file (JAWS-M). We pair it with a hierarchical, executable-aware Judge Framework that tests (i) compliance, (ii) attack success, (iii) syntactic correctness, and (iv) runtime executability to measure de-ployable harm. Across seven LLM backends from five families, prompt-only attacks in JAWS-0 achieve 61% compliance; 58% are harmful, 52% parse, and 27% run end-to-end. In JAWS-1, compliance reaches ~ 100% for stronger models with a mean ASR (Attack Success Rate) \u2248 71%; JAWS-M raises mean ASR to \u2248 75%, with 32% runnable attack code. Wrapping an LLM in an agent increases ASR by 1.6\u00d7, by overturning initial refusals during planning and tool use. Additional evaluations with SWE-Agent and OpenAI Codex exhibit similar trends, indicating that JAWS-BENCH can be reused across multiple agent frameworks. Category analyses identify which attack classes are most vulnerable and deployable, motivating execution-aware defenses and refusal-preserving agent designs.<\/jats:p>","DOI":"10.1162\/tacl.a.792","type":"journal-article","created":{"date-parts":[[2026,9,2]],"date-time":"2026-09-02T20:01:28Z","timestamp":1788379288000},"page":"2081-2102","update-policy":"https:\/\/doi.org\/10.1162\/mitpressjournals.corrections.policy","source":"Crossref","is-referenced-by-count":1,"title":["Breaking the Code: Security Assessment of AI Code Agents Through Systematic Jailbreaking Attacks"],"prefix":"10.1162","volume":"14","author":[{"given":"Shoumik","family":"Saha","sequence":"first","affiliation":[{"name":"University of Maryland, College Park, smksaha@umd.edu"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jifan","family":"Chen","sequence":"additional","affiliation":[{"name":"AWS AI Labs, chenjf@amazon.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sam","family":"Mayers","sequence":"additional","affiliation":[{"name":"AWS AI Labs, smayerss@amazon.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sanjay Krishna","family":"Gouda","sequence":"additional","affiliation":[{"name":"AWS AI Labs, skgouda@amazon.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zijian","family":"Wang","sequence":"additional","affiliation":[{"name":"Meta Superintelligence Labs, zijianwang@meta.com"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Varun","family":"Kumar","sequence":"additional","affiliation":[{"name":"AWS AI Labs, kuvrun@amazon.com"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"281","published-online":{"date-parts":[[2026,8,28]]},"reference":[{"key":"2026090216011374300_bib1","article-title":"Agentharm: A benchmark for measuring harmfulness of LLM agents","volume-title":"The Thirteenth International Conference on Learning Representations","author":"Andriushchenko","year":"2025"},{"key":"2026090216011374300_bib2","article-title":"Program synthesis with large language models","volume-title":"arXiv preprint arXiv:2108.07732","author":"Austin","year":"2021"},{"key":"2026090216011374300_bib3","doi-asserted-by":"crossref","first-page":"55005","DOI":"10.52202\/079017-1745","article-title":"Jailbreakbench: An open robustness benchmark for jailbreaking large language models","volume":"37","author":"Chao","year":"2024","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2026090216011374300_bib4","article-title":"Codet: Code generation with generated tests","volume-title":"arXiv preprint arXiv:2207.10397","author":"Chen","year":"2022"},{"key":"2026090216011374300_bib5","doi-asserted-by":"crossref","first-page":"995","DOI":"10.1145\/3691620.3695480","article-title":"Rmcbench: Benchmarking large language models\u2019 resistance to malicious code","volume-title":"Proceedings of the 39th IEEE\/ACM International Conference on Automated Software Engineering","author":"Chen","year":"2024"},{"key":"2026090216011374300_bib6","article-title":"Evaluating large language models trained on code","volume-title":"arXiv preprint arXiv:2107.03374","author":"Chen","year":"2021"},{"key":"2026090216011374300_bib7","doi-asserted-by":"crossref","first-page":"23669","DOI":"10.1609\/aaai.v39i22.34537","article-title":"Security attacks on llm-based code completion tools","volume":"39","author":"Cheng","year":"2025","journal-title":"Proceedings of the AAAI Conference on Artificial Intelligence"},{"key":"2026090216011374300_bib8","volume-title":"Codeql","author":"CodeQL"},{"key":"2026090216011374300_bib9","doi-asserted-by":"crossref","first-page":"82895","DOI":"10.52202\/079017-2636","article-title":"Agentdojo: A dynamic environment to evaluate prompt injection attacks and defenses for llm agents","volume":"37","author":"Debenedetti","year":"2024","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2026090216011374300_bib10","doi-asserted-by":"crossref","first-page":"2136","DOI":"10.18653\/v1\/2024.naacl-long.118","article-title":"A wolf in sheep\u2019s clothing: Generalized nested jailbreak prompts can fool large language models easily","volume-title":"Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)","author":"Ding","year":"2024"},{"key":"2026090216011374300_bib11","volume-title":"Dolphin-Mistral-24B-Venice-Edition","author":"Dolphin","year":"2024"},{"key":"2026090216011374300_bib12","article-title":"Incoder: A generative model for code infilling and synthesis","volume-title":"The Eleventh International Conference on Learning Representations","author":"Fried","year":"2023"},{"key":"2026090216011374300_bib13","article-title":"Agent smith: A single image can jailbreak one million multimodal LLM agents exponentially fast","volume-title":"ICLR 2024 Workshop on Large Language Model (LLM) Agents","author":"Gu","year":"2024"},{"key":"2026090216011374300_bib14","doi-asserted-by":"crossref","first-page":"106190","DOI":"10.52202\/079017-3369","article-title":"Redcode: Risky code execution and generation benchmark for code agents","volume":"37","author":"Guo","year":"2024","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2026090216011374300_bib15","article-title":"COLD-attack: Jail-breaking LLMs with stealthiness and controllability","volume-title":"Forty-first International Conference on Machine Learning","author":"Guo","year":"2024"},{"key":"2026090216011374300_bib16","first-page":"15307","article-title":"Automatically auditing large language models via discrete optimization","volume-title":"International Conference on Machine Learning","author":"Jones","year":"2023"},{"key":"2026090216011374300_bib17","article-title":"Starcoder: may the source be with you!","volume-title":"Transactions on Machine Learning Research","author":"Li","year":"2023"},{"key":"2026090216011374300_bib18","article-title":"Deepinception: Hypnotize large language model to be jailbreaker","volume-title":"Neurips Safe Generative AI Workshop 2024","author":"Li","year":"2024"},{"issue":"6624","key":"2026090216011374300_bib19","doi-asserted-by":"crossref","first-page":"1092","DOI":"10.1126\/science.abq1158","article-title":"Competition-level code generation with alpha-code","volume":"378","author":"Li","year":"2022","journal-title":"Science"},{"key":"2026090216011374300_bib20","article-title":"AutoDAN: Generating stealthy jail-break prompts on aligned large language models","volume-title":"The Twelfth International Conference on Learning Representations","author":"Liu","year":"2024"},{"key":"2026090216011374300_bib21","volume-title":"Secodeplt: A unified platform for evaluating the security of code genai","author":"Nie","year":"2025"},{"key":"2026090216011374300_bib22","volume-title":"Codex","author":"OpenAI","year":"2025"},{"key":"2026090216011374300_bib23","article-title":"Ignore previous prompt: Attack techniques for language models","volume-title":"NeurIPS ML Safety Workshop","author":"Perez","year":"2022"},{"key":"2026090216011374300_bib24","volume-title":"Drop the guardrails: Toolprimed prompt pairing and refusal behavior in gpt-oss","author":"Power","year":"2025"},{"key":"2026090216011374300_bib25","volume-title":"Introducing virus-total code insight: Empowering threat analysis with generative ai","author":"Quintero","year":"2023"},{"key":"2026090216011374300_bib26","doi-asserted-by":"crossref","first-page":"11437","DOI":"10.18653\/v1\/2024.findings-acl.679","article-title":"CodeAttack: Revealing safety generalization challenges of large language models via code completion","volume-title":"Findings of the Association for Computational Linguistics: ACL 2024","author":"Ren","year":"2024"},{"key":"2026090216011374300_bib27","article-title":"Fast adversarial attacks on language models in one GPU minute","volume-title":"Forty-first International Conference on Machine Learning","author":"Sadasivan","year":"2024"},{"key":"2026090216011374300_bib28","article-title":"Openhands: An open platform for AI software developers as generalist agents","volume-title":"The Thirteenth International Conference on Learning Representations","author":"Wang","year":"2025"},{"key":"2026090216011374300_bib29","doi-asserted-by":"crossref","first-page":"50528","DOI":"10.52202\/079017-1601","article-title":"Swe-agent: Agentcomputer interfaces enable automated software engineering","volume":"37","author":"Yang","year":"2024","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2026090216011374300_bib30","volume-title":"Gptfuzzer: Red teaming large language models with auto-generated jailbreak prompts","author":"Yu","year":"2024"},{"key":"2026090216011374300_bib31","doi-asserted-by":"crossref","first-page":"10471","DOI":"10.18653\/v1\/2024.findings-acl.624","article-title":"InjecAgent: Benchmarking indirect prompt injections in tool-integrated large language model agents","volume-title":"Findings of the Association for Computational Linguistics: ACL 2024","author":"Zhan","year":"2024"},{"key":"2026090216011374300_bib32","article-title":"Agent security bench (ASB): Formalizing and benchmarking attacks and defenses in LLM-based agents","volume-title":"The Thirteenth International Conference on Learning Representations","author":"Zhang","year":"2025"},{"key":"2026090216011374300_bib33","article-title":"AutoDAN: Automatic and interpretable adversarial attacks on large language models","volume-title":"Socially Responsible Language Modelling Research","author":"Zhu","year":"2023"},{"key":"2026090216011374300_bib34","article-title":"Universal and transferable adversarial attacks on aligned language models","volume-title":"arXiv preprint arXiv:2307.15043","author":"Zou","year":"2023"}],"container-title":["Transactions of the Association for Computational Linguistics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/direct.mit.edu\/tacl\/article-pdf\/doi\/10.1162\/TACL.a.792\/2624547\/tacl.a.792.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/direct.mit.edu\/tacl\/article-pdf\/doi\/10.1162\/TACL.a.792\/2624547\/tacl.a.792.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,2]],"date-time":"2026-09-02T20:01:35Z","timestamp":1788379295000},"score":1,"resource":{"primary":{"URL":"https:\/\/direct.mit.edu\/tacl\/article\/doi\/10.1162\/TACL.a.792\/138654\/Breaking-the-Code-Security-Assessment-of-AI-Code"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026]]},"references-count":34,"URL":"https:\/\/doi.org\/10.1162\/tacl.a.792","relation":{},"ISSN":["2307-387X"],"issn-type":[{"value":"2307-387X","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2026]]},"published":{"date-parts":[[2026]]}}}