{"id":"MAL-2026-13845","summary":"Malicious code in yangming708 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f670e6c07175c9534c5554cc89c44a73a22d46a18a9a19140030b5b446fba17f)\nThe 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.\n\n## Source: ghsa-malware (3c66586cb4455acd4f9845b0ac788de86f9814180ee81055925867864db2ca7f)\nAny 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.\n","aliases":["GHSA-vgr6-626m-8w22"],"modified":"2026-08-12T13:00:25.089962308Z","published":"2026-08-12T10:29:52Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-12T10:39:02.430631834Z","modified_time":"2026-08-12T10:29:53Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3c66586cb4455acd4f9845b0ac788de86f9814180ee81055925867864db2ca7f","source":"ghsa-malware","id":"GHSA-vgr6-626m-8w22"},{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-017531","import_time":"2026-08-12T12:51:48.297799536Z","modified_time":"2026-08-12T12:34:41Z","sha256":"f670e6c07175c9534c5554cc89c44a73a22d46a18a9a19140030b5b446fba17f"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vgr6-626m-8w22"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/yangming708/v/1.0.0"}],"affected":[{"package":{"name":"yangming708","ecosystem":"npm","purl":"pkg:npm/yangming708"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"c37a4650e05ce15dee9abb2aa5a21a3d305794db42dc40b1fa10c1aeeaf7b557","tlsh":"eea2625073c07480215b8fb6bb3bb2d4e6291e5ab54408cbf45cbd44ffa6d89cada970","path":"index.html"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/yangming708/MAL-2026-13845.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}