Friday, 20 November 2026
2 agent hacks today▼ 9 vs yesterday (11)

Microsoft shows device-code phishing could hijack GitHub Copilot CLI sessions

In a controlled lab simulation, Microsoft researchers demonstrated that a phished OAuth device-code approval against GitHub Copilot CLI could let an attacker remotely steer an active session, poison the agent's memory, read cloud-synced sessions, and access private repositories. Microsoft states this is a proof-of-concept showing abuse of existing features and has not been observed in real-world attacks.

Disclosed 17 November 2026 · Record updated 17 November 2026

Impact

Lab demonstration only: a successful device-code phishing approval could allow remote control of an active Copilot CLI session, manipulation of agent memory, reading of synced sessions, and access to private repositories; no victims or in-the-wild exploitation reported.

Our coverage

Sources

  1. microsoft.comhttps://microsoft.com/en-us/security/blog/2026/11/17/the-risks-of-device-code-authentication-for-ai-coding-agents