MAL-2026-6361 Malicious code in vscode-test-web (npm)

Malicious package Published
Package
vscode-test-web
Registry
npm

What is MAL-2026-6361?

MAL-2026-6361 is a malicious package in vscode-test-web, published on 24 Jun 2026.

Official description

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.

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.

What should I do about MAL-2026-6361?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-vxwh-gqjr-fxcw.

Is MAL-2026-6361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free