Skip to content

Malicious code in depcruise-wrap-stream-in-html (npm)

Malware Published Aug 15, 2026 to the GitHub Advisory Database

Package

npm depcruise-wrap-stream-in-html (npm)

Affected versions

= 99.9.1

Patched versions

None

Description

Source: amazon-inspector (bce3c6c9707df3626f30cbf434aa298d1df5cda4cf7b06b76ad4c92d04004a1c)

depcruise-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.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 15, 2026
Reviewed Aug 15, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-8r7w-6hqf-4x5p

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.