VDB
KO

MAL-2026-13845

Malicious code in yangming708 (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (f670e6c07175c9534c5554cc89c44a73a22d46a18a9a19140030b5b446fba17f) The tarball contains only package.json and index.html. package.json declares main: "index.html", which is not a requirable Node module, and no preinstall/install/postinstall/prepare lifecycle scripts are declared. index.html contains an obfuscated script (wrapped in a fake Cloudflare 'Just a moment...' template) that, if opened in a browser, decodes an encoded string and calls window.location.replace to redirect to the resulting URL. Because npm install does not execute HTML and require()/import cannot load this main, installing or loading the package does not execute any code on a developer or build machine. The artifact looks like registry spam / a browser-side redirect page mispublished as an npm package, not a supply-chain attack against installers.

## Source: ghsa-malware (3c66586cb4455acd4f9845b0ac788de86f9814180ee81055925867864db2ca7f) 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / yangming708
Introduced in: 0

No fixed version published yet for yangming708 (npm). Pin to a known-safe version or switch to an alternative.

References