{"id":"MAL-2026-14068","summary":"Malicious code in depcruise-wrap-stream-in-html (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bce3c6c9707df3626f30cbf434aa298d1df5cda4cf7b06b76ad4c92d04004a1c)\ndepcruise-wrap-stream-in-html@99.9.1 is a hollow package: index.js is `module.exports = {}` and the name mimics an internal helper of dependency-cruiser. Its only effect on install is resolving a runtime dependency `ltidisafe` from an arbitrary HTTPS tarball URL — `https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.7.5.tgz` — hosted on a Google Cloud Storage bucket unrelated to any known publisher of dependency-cruiser. On `npm install`, npm downloads and installs that tarball into node_modules, and any lifecycle scripts inside it execute on the installer's machine. The bucket owner can swap the tarball contents at any time without republishing to npm, bypassing registry scanning and version pinning guarantees. The 99.9.1 version number and lookalike name are consistent with a dependency-confusion / smuggling lure.\n\n## Source: ghsa-malware (bf444a2cb17109fdd2230933bacc87315178118697a16f7fe92001ca2e303b00)\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-fr93-j26p-9j5f"],"modified":"2026-08-18T17:15:16.470965488Z","published":"2026-08-15T18:11:29Z","database_specific":{"malicious-packages-origins":[{"sha256":"bce3c6c9707df3626f30cbf434aa298d1df5cda4cf7b06b76ad4c92d04004a1c","source":"amazon-inspector","versions":["99.9.1"],"id":"IN-MAL-2026-017975","import_time":"2026-08-15T18:45:40.362199101Z","modified_time":"2026-08-15T18:11:29Z"},{"sha256":"bf444a2cb17109fdd2230933bacc87315178118697a16f7fe92001ca2e303b00","source":"ghsa-malware","id":"GHSA-fr93-j26p-9j5f","import_time":"2026-08-18T16:29:04.465138252Z","modified_time":"2026-08-18T16:20:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/depcruise-wrap-stream-in-html/v/99.9.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fr93-j26p-9j5f"}],"affected":[{"package":{"name":"depcruise-wrap-stream-in-html","ecosystem":"npm","purl":"pkg:npm/depcruise-wrap-stream-in-html"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.9.1"],"database_specific":{"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-iNX7gQ0cxDNDqJRlO/uIYFjjWnlY26zFnyK4/Ta45wCn/iwqpdaDx9GrPg4zZmTORXai5nW85wzQBQYjiHhVaQ==","sha1":"f500765beee61b2baee501fc9d2de52a2f999804"},"filename":"depcruise-wrap-stream-in-html-99.9.1.tgz"}],"evidence_files":[{"path":"package.json","sha256":"1a385df051c4db138cf8aa72add2588e52a191f7945bf804f95ba9a244156d53","tlsh":"05e07d248a6155334ec500b14c5e611bf3b08e5f98047c0c1fdb442c808ebb328f935c"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/depcruise-wrap-stream-in-html/MAL-2026-14068.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}