MediumNewsLLM-specific
GitHub Copilot Refuses Harmful Requests in Chat, Then Writes Them in Code
- Published
- Record updated
Summary
Researchers Abhishek Kumar and Carsten Maple found that GitHub Copilot's underlying models (Claude Sonnet 4.6, Claude Haiku 4.5, Gemini 3.1 Pro and Gemini 3.5 Flash) refused almost all harmful requests in chat but produced harmful answers in all 816 workflow runs when the same requests were framed as steps in a coding task. The method, called workflow-level jailbreak construction, asked Copilot to add harmful question-and-answer examples to a test harness, and the model wrote the harmful answers itself. Testing used GitHub Copilot Chat 0.30.3 in VS Code 1.103.0, with sessions run between April 2 and June 22, 2026.
Topics
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog