vscode-test-web (npm) · Malicious Code
Affects vscode-test-webSource GCVE Database
Malicious package : remove vscode-test-web and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-6361
What to do
Remove vscode-test-web from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmvscode-test-web | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package vscode-test-web version 1.0.0 is a malicious package designed to cause abrupt termination of any host process that imports it by calling process.exit(0). It occupies an unscoped name similar to the legitimate @vscode/test-web package, creating a risk of name confusion. The package does not perform network communication, shell execution, or credential theft, and its metadata states it is a security-research proof-of-concept related to an MSRC bug bounty. Despite the apparent non-malicious intent, the package forcibly terminates processes, which can disrupt builds or workflows that mistakenly depend on it.