Back Issues/Search Home → Calendar → Archive → RSS → Subscribe → Services → Vendors → Blog → Current Issue → Popular → Newsletters (LinkedIn, Substack)

All issues › Volume 344, Issue 3 › IT Vendor News › Microsoft

The Risks of Device Code Authentication for AI Coding Agents

Microsoft, Tuesday, November 17th, 2026

Microsoft lab research shows how a phished device code approval could let an attacker abuse an AI coding agent such as Copilot CLI.

Microsoft researchers examined what an attacker could do after phishing an OAuth device code approval for an AI coding agent, using GitHub Copilot CLI in a lab simulation.

With one approval they could steer an active remote-controlled session and have the agent run commands, add misleading entries to Copilot Memory, read cloud-synced sessions, and access private repositories available to the account.

Microsoft stresses these are proof-of-concept results not observed in the wild, and that the technique applies to any device-flow client.

It developed two Defender detections for email and Teams delivery and a disruption action that suspends GitHub Enterprise Managed Users identities.

more →  ·  More from Microsoft →