Skip to content
Phishing Threats Target AI Coding Agents via Device Code Authentication

Phishing Threats Target AI Coding Agents via Device Code Authentication

First seen 18 Nov 2026, 12:18 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 18, 2026 at 12:19 UTC
  • •Device code phishing targets AI coding agents like GitHub Copilot CLI.
  • •Attackers can gain unauthorized access through user-approved sign-ins.
  • •Microsoft Defender can help detect and mitigate these phishing attempts.

Microsoft reported an increase in device code phishing attacks targeting AI coding agents like GitHub Copilot CLI. Attackers persuade users to approve sign-in requests, allowing unauthorized access to sensitive information and capabilities. A lab simulation demonstrated that such attacks could enable remote command execution, memory manipulation, and access to private repositories. These outcomes depend on the victim's account permissions and the specific configurations of the tools involved. Microsoft Defender can help detect these phishing attempts by linking them to GitHub authentication activities. The company previously disrupted a campaign known as EvilTokens in September 2026, highlighting the risks associated with device code authentication. No has been confirmed in the wild, but the potential for abuse exists.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-09-01
EvilTokens campaign disrupted
Microsoft collaborated with industry partners to disrupt the EvilTokens phishing campaign targeting device code authentication.
Microsoft
2026-11-17
Microsoft publishes findings
Microsoft published a blog detailing the risks of device code phishing for AI coding agents, including potential outcomes from successful attacks.
Microsoft

More articles in this cluster (4)

Common questions

What is device code phishing?
Device code phishing involves attackers persuading users to approve sign-in requests, allowing unauthorized access to accounts.
Are there any confirmed attacks using this method?
No confirmed attacks have been reported in the wild, but the potential for abuse exists.
How can organizations protect against these attacks?
Organizations can use Microsoft Defender to detect phishing attempts and implement strict access controls and user training.