On June 2, 2026, security researcher Ammar Askar published exploit code for a VS Code zero-day that allows attackers to steal GitHub authentication tokens by tricking users into clicking a link. The vulnerability lives in github.dev โ a browser-based version of VS Code that developers use to edit GitHub repositories directly from their browser.
When GitHub sends an OAuth token to github.dev so developers can work on their code, the token carries full permissions โ meaning it can access every repository the developer has access to, not just the one they're working on. The exploit abuses VS Code's sandboxed webview message-passing system to run malicious JavaScript that simulates keypresses and installs a malicious extension that exfiltrates the token.
Why this matters for families: If your developer partner or teenager clicked a malicious link shared in a Slack message, pull request comment, or forum post, the attacker could gain access to all their GitHub repositories, including private work projects and personal projects.
For families with developers in the household, this vulnerability creates several paths of risk:
A recent example: during the Miasma supply chain attack disclosed this week (June 1, 2026), attackers used a compromised Red Hat employee's GitHub account to inject malicious npm packages. That attack started with a single credential compromise โ exactly what this VS Code zero-day enables.
If someone in your family is a developer, their professional tools create unusual security vectors that traditional family safety advice doesn't cover:
Most families understand that passwords need to be strong and unique. But GitHub OAuth tokens work differently:
This is why the NIST SP 800-63B guidelines recommend treating OAuth tokens with the same โ or greater โ security as passwords. For developer families, this means:
The researcher who disclosed this vulnerability recommends an immediate mitigation: clear cookies and local site data for github.dev in your browser. This ensures that when a malicious link is clicked, the user sees a "The extension 'GitHub Repositories' wants to sign in using GitHub" warning instead of automatic token handoff.
Step-by-step guide for developers in your family:
For families with developer teenagers: Many teens use GitHub for school projects and open-source contributions. Talk to them about:
This vulnerability is part of a broader pattern of supply chain and developer-tool attacks in 2026. According to the Verizon 2026 Data Breach Investigations Report, attacks targeting CI/CD pipelines and developer credentials increased by 380% year over year.
Other notable recent attacks include:
The research community is also divided on disclosure ethics here. The researcher chose full public disclosure because of prior negative experiences with Microsoft's security response center (MSRC), which he said silently fixed a previous VS Code bug without credit or acknowledgment of security impact. This follows a series of Microsoft zero-day leaks from the anonymous researcher "Nightmare Eclipse," leading Microsoft to threaten legal action against security researchers.
While the VS Code zero-day specifically targets GitHub OAuth tokens (not passwords), a family password manager is still essential protection:
The VS Code zero-day is a wake-up call for families with developers. Traditional family cybersecurity advice focuses on phishing emails and weak passwords โ but developer-specific threats require developer-specific defenses:
According to CISA, the U.S. Cybersecurity and Infrastructure Security Agency, supply chain compromises targeting developer tools and platforms are now the fastest-growing attack vector in 2026. Families are not bystanders in this trend โ they're on the front line when a developer's home workstation becomes the entry point for a corporate breach.
Is the VS Code zero-day being actively exploited?
As of June 3, 2026, there are no confirmed reports of active exploitation, but the proof-of-concept code has been published on GitHub, making it accessible to any attacker. The window between disclosure and weaponization is typically measured in hours now โ AI-driven exploitation timelines have compressed this dramatically. Take protective action immediately, don't wait for a patch.
Do I need to worry if I don't use VS Code?
This specific vulnerability targets github.dev (the browser-based version of VS Code). If you use a different code editor or work with GitHub through the command line only, you're not directly exposed. However, the same underlying principles apply โ any browser-based development tool could potentially have similar vulnerabilities. Verify that your tools have proper sandboxing and token scoping.
How is this different from a normal password breach?
A password breach reveals credentials you can change. The VS Code zero-day steals OAuth tokens โ API credentials that let the bearer interact with GitHub programmatically on your behalf. Tokens can be harder to detect as compromised because they're designed for automated access, not human login. Additionally, OAuth tokens are often stored in configuration files and CI/CD systems, multiplying the blast radius.
Can a family password manager protect against this?
A family password manager protects your passwords and can store recovery codes securely, but it doesn't directly protect against OAuth token theft. The best defense is: (1) clear github.dev cookies and site data, (2) rotate any existing tokens, and (3) enable 2FA with hardware keys (FIDO2/WebAuthn) for all GitHub accounts. Use a family password generator for creating strong GitHub account passwords.
What should I tell my teenager who uses GitHub?
Explain that developer accounts are high-value targets โ even for school projects โ because attackers want to use their access to attack downstream projects that depend on their code. Teach them to: never click links in PR comments from strangers, always verify who's asking for a code review, use a passphrase for their GitHub password (see our kid-friendly password wizard), and check with you before installing new VS Code extensions.
Affiliate Disclosure: This post may contain affiliate links. If you purchase through these links, we may earn a small commission at no extra cost to you. Our password generator is free to use. Full disclosure.
We may earn a commission if you purchase through these links โ at no extra cost to you.