CYBERSECURITYTRACKER
Permanent story citation

Zombie instructions on carefully constructed web pages could trick GitHub Copilot CLI into sharing secrets

This page keeps the story as Cybersecurity Tracker first published it. If the tracker later corrects it, the correction appears below the original and never replaces it.

Back to newsStory 9524

As cited

Copy frozen at (site build).

ai security

Zombie instructions on carefully constructed web pages could trick GitHub Copilot CLI into sharing secrets

GitHub Copilot CLI can be tricked into revealing developer secrets through a technique called Cryptographic Context Injection (CCI), where malicious encrypted instructions embedded in web pages are decrypted and executed by the agent. The attack succeeds inconsistently depending on which underlying language model handles the request: Microsoft's mai-code-1.1-flash model executed the full attack chain on 50 percent of attempts, while OpenAI GPT-5.6 models refused it. GitHub's security team determined the issue requires intentional user action to fetch untrusted content and declined to classify it as a product vulnerability.

Why it matters: Developers using GitHub Copilot CLI in autopilot mode face exposure of secrets stored in local files if they visit or are directed to malicious web pages, particularly when the vulnerable Microsoft model is selected; teams should restrict agentic mode usage and review model selection settings.

VendorsMicrosoftGitHub
Source published
First seen by Cybersecurity Tracker

Source attribution

Glossary