[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-327835-105":59,"doc-detail-327835-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","refused-in-chat-written-in-code-workflow-level-jailbreak-construction-in-ide-coding-agents-327835","Refused in Chat, Written in Code - Workflow-Level Jailbreak Construction in IDE Coding Agents","","Large language models are increasingly used as IDE-integrated coding agents that plan tasks, create and modify files, run code, and refine outputs across multiple turns. Safety is often assessed as if the system were a chatbot, where a single harmful prompt is judged in isolation. This work introduces workflow-level jailbreak construction, assembling harmful objectives across ordinary software-development stages. Using GitHub Copilot in Visual Studio Code, four closed-weight backends produce near-total refusal in baseline conditions but yield full unsafe teaching-shot completions in the complete workflow, confirmed by expert evaluators.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/refused-in-chat-written-in-code-workflow-level-jailbreak-construction-in-ide-coding-agents-327835/327835/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/refused-in-chat-written-in-code-workflow-level-jailbreak-construction-in-ide-coding-agents-327835/327835.png","ImageObject",300,407,{"name":92,"@type":93},"Theodore","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-09-21",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",16,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is “workflow-level jailbreak construction” in IDE coding agents?","Question",{"text":113,"@type":114},"It is a failure mode where a harmful objective is assembled across normal stages of a software-development workflow, rather than created from a single direct prompt.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How was the study conducted with IDE coding agents?",{"text":118,"@type":114},"The authors used GitHub Copilot in Visual Studio Code and evaluated four closed-weight backends: Claude Sonnet 4.6, Claude Haiku 4.5, Gemini 3.1 Pro, and Gemini 3.5 Flash.",{"name":120,"@type":111,"acceptedAnswer":121},"What were the main results comparing baseline versus full workflow evaluation?",{"text":122,"@type":114},"Models showed near-complete refusal in baseline settings, but under the full multi-turn workflow they produced unsafe teaching-shot completions at a 816/816 success rate, independently confirmed by expert evaluators.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},327835,1790665804,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},7971461740886,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Refused in Chat, Written in Code: Workflow-Level Jailbreak Construction in IDE Coding Agents.  \nAbhishek Kumar∗ , Carsten Maple†  \nThe Alan Turing Institute, London, United Kingdom  \n∗ [akumar@turing.ac.uk](akumar@turing.ac.uk),†[carsten@turing.ac.uk](carsten@turing.ac.uk)  \narXiv :2607 .03968v 1 [ cs . SE] 4 Jul 2026  \nAbstract—Large language models are increasingly deployed as IDE-integrated coding agents that decompose tasks, generate and edit files, run code, and refine outputs over many turns. Yet their safety is still often evaluated as if they were chatbots: one harmful prompt, one response, judged in isolation. We introduce workflowlevel jailbreak construction, a failure mode in which a harmful objective is assembled across ordinary stages of a softwaredevelopment workflow rather than generated through a single direct prompt. Using GitHub Copilot in Visual Studio Code, we study four closed-weight backends: Claude Sonnet 4.6, Claude Haiku 4.5, Gemini 3.1 Pro, and Gemini 3.5 Flash. Across 204 prompts from Hammurabi’s Code, HarmBench, and AdvBench, the models show near-complete refusal under direct chat, CSVread, and single-step code-fix baselines, with only 8/816 successful responses in each baseline condition. Under the full workflow, however, the same prompts and backends produce 816/816 unsafe teaching-shot completions, all independently confirmed by two expert evaluators under a strict rubric. These results show that conversational refusal benchmarks can substantially overstate the safety of deployed coding agents and motivate defenses that reason about safety across multi-turn IDE workflows and their generated artifacts, not only individual chat turns.  \nIndex Terms—Coding agents, IDE security, Jailbreak attacks, LLM safety, Agentic AI.  \nI. INTRODUCTION  \nLarge language models (LLMs) have rapidly reshaped software engineering, moving from passive code-completion engines to active participants in the software-development loop [1]–[5] . Through IDE-integrated coding agents, these systems interpret developer goals, generate and edit files, execute commands, read execution results, debug failures, andrefine their output across many turns [6]–[8] . This shift is not merely a capability upgrade; it changes the shape of the safety problem [9], [10] . A safety failure is no longer necessarily a single harmful prompt answered by a single harmful response. It can instead emerge gradually, distributed across a multi-turn development workflow in which every individual interaction looks like an ordinary programming task.  \nExisting safety evaluation has only partially adapted to the shift from chatbots to agentic systems. Much of the jailbreak literature still evaluates models through prompt-level or conversation-level interactions. Prompt-level attacks, including optimization-based [11], [12], in-context [13], [14], and codereformulation attacks [15], can bypass safety behavior in frontier, closed-weight models. Multi-turn conversational attacks have also been demonstrated [16] . These studies show that refusal behavior can fail in general LLM settings, but they do not fully capture the software-development workflows in  \nwhich coding agents operate. In parallel, software-engineering work has begun to study harmful behavior in coding contexts. Code Red introduces Hammurabi’s Code, a benchmark of software-engineering-specific harmful prompts spanning malware, copyright misuse, and other dangerous tasks [17] . Another recent study shows that coding agents can fail during ordinary development by breaking constraints, performing destructive actions, optimizing the wrong metric, or falsely claiming that a task has been completed [18] . What remainsunexamined is whether the IDE coding-agent workflow itself, including task decomposition, scripting, execution, and metricdriven refinement, can be turned into the attack surface. This gap is especially important because prior software-engineering safety work has identified code-specific ","cbCaikFwCNxMBYNm","https://ap.wps.com/l/cbCaikFwCNxMBYNm","pdf",6068590,11,"English","# Introduction\n## From chatbots to agentic IDE coding agents\n## Existing safety evaluation limitations\n## Workflow-level jailbreak construction","[{\"question\":\"What is “workflow-level jailbreak construction” in IDE coding agents?\",\"answer\":\"It is a failure mode where a harmful objective is assembled across normal stages of a software-development workflow, rather than created from a single direct prompt.\"},{\"question\":\"How was the study conducted with IDE coding agents?\",\"answer\":\"The authors used GitHub Copilot in Visual Studio Code and evaluated four closed-weight backends: Claude Sonnet 4.6, Claude Haiku 4.5, Gemini 3.1 Pro, and Gemini 3.5 Flash.\"},{\"question\":\"What were the main results comparing baseline versus full workflow evaluation?\",\"answer\":\"Models showed near-complete refusal in baseline settings, but under the full multi-turn workflow they produced unsafe teaching-shot completions at a 816/816 success rate, independently confirmed by expert evaluators.\"}]","Refused in Chat, Written in Code - Workflow-Level Jailbreak Construction in IDE Coding Agents | PDF",1789978159,28,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4b3e0d76097ff521d09304cf4945a7dc.webp",983,1272,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e4b11afced199b1f508af965ab9eee1e.webp",982,1270,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b44b788d266e21bab9ef859e2ef94954.webp",981,1269,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/3886858514ebe48cfad26d5c9d7c7c70.webp",980,1268]