registry  /  vscode-test-web  /  1.0.0

vscode-test-web@1.0.0

OSV Malicious Advisory

scanned 3h ago · by OpenSSF/OSV

OpenSSF/OSV advisory MAL-2026-6361 confirms this npm version as malicious. 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...

Advisory
MAL-2026-6361
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in vscode-test-web (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms vscode-test-web@1.0.0 as malicious (MAL-2026-6361): Malicious code in vscode-test-web (npm)

Source & flagged code

0 flagged
No flagged code excerpts are attached to this scan.

Findings

1 High
HighOsv Malicious Advisory