Skip to main content
MalwarePublished Updated

vscode-test-web (npm) · Malicious Code

Affects vscode-test-webSource GCVE Database

0

Malicious package : remove vscode-test-web and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:56 UTC

Classification

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

ProductAffectedFixed in
npmvscode-test-webAffected
  • =1.0.0
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.

References

Community reviews

Loading reviews…