Rogue Pilot Flaw in GitHub Codespaces Enabled Copilot to Leak GITHUB_TOKEN
Summary: Orca Security found a vulnerability in GitHub Codespaces, codenamed RoguePilot, that let hidden instructions in a GitHub issue be processed by Copilot when a user launched a Codespace from that issue, allowing the AI assistant to leak the privileged GITHUB_TOKEN to an attacker-controlled server. Microsoft patched the flaw after responsible disclosure; the prompt could be concealed in the issue using the HTML comment tag "<!--the_prompt_goes_here-->" and executed by having Copilot check out a crafted pull request containing a symbolic link to an internal file.
What's compelling: The attack ran through a trusted developer workflow - opening a Codespace from an issue - and the credential at risk was the GITHUB_TOKEN, which carries repository access; a developer doing routine work triggered it with no warning.
Read the original at The Hacker News ↗
- Topics
- AI Security
- Related
- SECURITY AFFAIRS AI-CYBERSECURITY NEWSLETTER ROUND 8 Cyber Risks · Nov 15, 2026Pentagon Renames CDAO ‘Super Intelligence Office’ Cyber Risks · Nov 15, 2026186 Fake AI Domains Redirect Users to Click Fix Lures, Browser Malware, and Search Hijackers Cyber Risks · Nov 12, 2026