In October 2025 Wiz Research reported more than 550 valid secrets packaged inside over 500 published VS Code extensions, mostly in .env files shipped in the .vsix, including more than 100 Visual Studio Marketplace and more than 30 Open VSX publishing tokens that could push updates to about 150,000 installs. The Eclipse Foundation said some leaked Open VSX tokens were used in the GlassWorm campaign to publish credential-stealing extensions. Extension publishers should rotate every secret that was ever in a published package and scan before publishing.
| Disclosed | October 15, 2025 |
|---|---|
| Affected | Visual Studio Marketplace, Open VSX Registry, Eclipse Foundation, Microsoft |
| Type | Credential leak |
| Status | Resolved |
What was exposed
Secrets that extension publishers accidentally shipped inside public extension packages, which anyone can download and unzip. Wiz counted 67 secret types, including AI provider keys (OpenAI, Gemini, Anthropic, xAI, DeepSeek, Hugging Face, Perplexity), cloud and platform credentials (AWS, GitHub, Stripe, Auth0, Google Cloud) and database credentials (MongoDB, Postgres, Supabase). The most serious were publisher access tokens: Azure DevOps personal access tokens for the Visual Studio Marketplace and Open VSX access tokens, which let anyone publish a malicious update to every user of that extension. Wiz found them mostly in .env files, and increasingly in AI configuration files such as mcp.json, config.json and .cursorrules. The Eclipse Foundation says some leaked Open VSX tokens were used by GlassWorm to publish malicious extensions aimed at developer credentials.
Am I affected?
Extension publishers: you are affected if any version of an extension you published to the Visual Studio Marketplace or Open VSX included a .env file, an MCP or AI-tool config, or hard-coded keys. Download your own .vsix files, unzip them and scan them; old versions stay downloadable. Extension users: you are affected if you installed an extension that was updated with malicious code through a leaked token, particularly from Open VSX, the registry used by many VS Code forks, during October 2025. The Eclipse Foundation did not publish extension names, and says reported download numbers overstate the real number of affected users.
What to do now
- Publishers: scan every published
.vsixversion for secrets, rotate anything found at its provider (AI, cloud, payment and database keys), and add.envand AI config files to.vscodeignore. - Publishers: replace Marketplace and Open VSX publishing tokens with short-lived ones, store them only in CI secrets, and revoke any token that was ever committed or packaged.
- Users: keep an inventory of installed extensions, remove ones you do not use, and consider an allowlist for your organization.
- Users of Open VSX-based editors: if you installed an extension that Open VSX later removed for malware, rotate GitHub, npm and cloud credentials and any API keys on that machine.
Keys to rotate
Guides to the credentials this incident put at risk:
- Rotate GitHub keys
- Rotate AWS (IAM access keys) keys
- Rotate OpenAI keys
- Rotate Anthropic keys
- Rotate Google Gemini API keys
- Rotate Hugging Face keys
- Rotate Perplexity keys
- Rotate Stripe keys
- Rotate Auth0 keys
- Rotate MongoDB Atlas keys
- Rotate Supabase keys
Timeline
- Wiz reports the secret leakage pattern to the Microsoft Security Response Center. Source
- MSRC finishes notifying affected third parties, according to Wiz. Source
- Wiz publishes its findings. Microsoft has revoked every leaked Visual Studio Marketplace token and added pre-publish secret scanning that blocks extensions with verified secrets; Open VSX is adding an
ovsxp_token prefix. Source - The Open VSX team considers the incident, including the GlassWorm extensions published with leaked tokens, contained and closed after removing the malicious extensions and revoking or rotating the tokens. Source
- The Eclipse Foundation publishes its Open VSX security update, saying Open VSX infrastructure was not compromised and that GlassWorm was not self-replicating but was designed to steal developer credentials. Source
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
.env,mcp.json,config.jsonor.cursorrulesfiles inside a published.vsixpackage.- Open VSX access tokens, which are moving to the
ovsxp_prefix.
What this changes for credential handling
- Secrets in
.envandmcp.jsonfiles travel wherever the folder goes, including into published packages. BotPassword keeps credentials in an encrypted vault and injects them at run time instead of storing them in project files.
Frequently asked questions
Am I affected by the Visual Studio Marketplace incident?
Extension publishers: you are affected if any version of an extension you published to the Visual Studio Marketplace or Open VSX included a .env file, an MCP or AI-tool config, or hard-coded keys. Download your own .vsix files, unzip them and scan them; old versions stay downloadable. Extension users: you are affected if you installed an extension that was updated with malicious code through a leaked token, particularly from Open VSX, the registry used by many VS Code forks, during October 2025. The Eclipse Foundation did not publish extension names, and says reported download numbers overstate the real number of affected users.
What was exposed in the Visual Studio Marketplace incident?
Secrets that extension publishers accidentally shipped inside public extension packages, which anyone can download and unzip. Wiz counted 67 secret types, including AI provider keys (OpenAI, Gemini, Anthropic, xAI, DeepSeek, Hugging Face, Perplexity), cloud and platform credentials (AWS, GitHub, Stripe, Auth0, Google Cloud) and database credentials (MongoDB, Postgres, Supabase). The most serious were publisher access tokens: Azure DevOps personal access tokens for the Visual Studio Marketplace and Open VSX access tokens, which let anyone publish a malicious update to every user of that extension. Wiz found them mostly in .env files, and increasingly in AI configuration files such as mcp.json, config.json and .cursorrules. The Eclipse Foundation says some leaked Open VSX tokens were used by GlassWorm to publish malicious extensions aimed at developer credentials.
Which keys should I rotate?
Rotate any GitHub, AWS (IAM access keys), OpenAI, Anthropic, Google Gemini API, Hugging Face, Perplexity, Stripe, Auth0, MongoDB Atlas, Supabase credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.