Executive Summary
A one-click attack via VS Code's GitHub.dev lets attackers steal a user's GitHub OAuth token with repo read/write access.
What Happened
Cybersecurity researchers have disclosed a one-click attack via Microsoft Visual Studio Code (VS Code) that makes it possible to steal a user's GitHub token. "Just by clicking a link, it's possible for an attacker to steal a GitHub token that can read and write to your repos, including private ones," security researcher Ammar Askar said. GitHub supports a feature called GitHub.dev that runs as
Affected Products
- Visual Studio Code
- GitHub.dev
Vulnerability / Attack Technique
Token theft via link
Technical Mechanism
Malicious link flow.
AI Security Category
Not AI-specific
RealGround Analysis
Developer tooling flaw.
Recommended Controls
- Avoid opening unknown GitHub.dev links
Related RealGround Service
AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.
Sources
thehackernews.com: https://thehackernews.com/2026/06/one-click-github-dev-attack-lets.html
Summary and analysis written by RealGround from the source above; last updated 2026-10-18.
