Opening SecureFlowGitHub Copilot CLI: Phished Device Code Authorization Enables Session Steering and Memory Poisoning
Case summary & sources

AIDEFEND SecureFlow / SecureFlow Case Index

Microsoft Security Research aidefend-sf0094

GitHub Copilot CLI: Phished Device Code Authorization Enables Session Steering and Memory Poisoning

  • Autonomous Agents
  • Edge & Client AI
  • Credential & Identity Theft
  • System Compromise & RCE
  • Data Exfiltration
  • Model Poisoning & Integrity

GitHub Copilot CLI is a coding assistant that runs in a terminal. Microsoft showed in a lab that a developer could be tricked into approving an attacker's device sign-in on the real GitHub site. GitHub then issues an OAuth access token to the initiating client. Depending on the permissions and enabled features, the token could steer an active local session, plant misleading Copilot Memory, read cloud-synced conversations, or access private repositories. Each outcome has its own prerequisites.

Mapped threat techniques

  • AML.T0052 Phishing
  • AML.T0091.000 Application Access Token
  • AML.T0050 Command and Scripting Interpreter
  • AML.T0080.000 Memory
  • AML.T0085.002 Conversation Context and Memory
  • AML.T0036 Data from Information Repositories

Source