Skip to content
OpenAdvisories
Malicious MAL-2026-6361 GHSA-vxwh-gqjr-fxcw

vscode-test-web

npm package · versions 1.0.0

Reported Jun 24, 2026 · Updated Jul 23, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (c62d19484eeb938a92dfdcc6cbce9dba47e390676774254b0dc318702a214418)
Package occupies the unscoped npm name `vscode-test-web`, a likely-misreference target for the legitimate `@vscode/test-web` scoped package. On `require()`, `index.js` prints a banner derived from `os.platform()` and `os.hostname()` and then calls `process.exit(0)` at line 42, which terminates any host process that imports it. The package's own metadata (package.json description) declares the upload as a security-research proof-of-concept squat for an MSRC bug-bounty report. There is no network I/O, no shell execution, no credential or filesystem read, and no install-time lifecycle hook — the only installer-side effect is the abrupt process termination on import, which would break a build that mistakenly resolves this name instead of `@vscode/test-web`. Name-confusion risk is real but intent appears non-malicious; routing for human adjudication.

Source: ghsa-malware (03b4e34481aa5333960c4932e8db454ab39451cf19c9372e7373886e0a6f7513)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.