Malicious code in depcruise-wrap-stream-in-html (npm)
The npm package depcruise-wrap-stream-in-html version 99.9.1 is a hollow package designed to mimic an internal helper of dependency-cruiser. It installs a runtime dependency from an arbitrary HTTPS tarball hosted on an unrelated Google Cloud Storage bucket. This allows the bucket owner to change the tarball contents at any time without republishing to npm, bypassing registry scanning and version pinning. The package appears to be a dependency-confusion or smuggling lure.
AI Analysis
Technical Summary
[email protected] is a malicious npm package that exports an empty module but installs a runtime dependency 'ltidisafe' from an arbitrary external tarball URL hosted on a Google Cloud Storage bucket unrelated to any known dependency-cruiser publisher. During npm install, the tarball is downloaded and installed, and any lifecycle scripts inside it execute on the installer's machine. Because the tarball is hosted externally and can be swapped without republishing the npm package, this bypasses registry scanning and version pinning protections. The package name and versioning are crafted to resemble an internal helper of dependency-cruiser, consistent with a dependency-confusion or smuggling attack vector.
Potential Impact
Installation of this package results in execution of arbitrary code from an external source controlled by the bucket owner, potentially leading to compromise of the installer's environment. The ability to swap the tarball contents at any time without npm republishing means that malicious payloads can be delivered dynamically, evading standard supply chain protections.
Mitigation Recommendations
No official patch or fix is indicated. Users should avoid installing [email protected]. Verify dependencies carefully to avoid dependency confusion attacks. Use tools that detect hollow or suspicious packages and avoid packages that fetch runtime dependencies from untrusted external URLs. Monitor package sources and prefer packages from verified publishers.
Malicious code in depcruise-wrap-stream-in-html (npm)
Description
The npm package depcruise-wrap-stream-in-html version 99.9.1 is a hollow package designed to mimic an internal helper of dependency-cruiser. It installs a runtime dependency from an arbitrary HTTPS tarball hosted on an unrelated Google Cloud Storage bucket. This allows the bucket owner to change the tarball contents at any time without republishing to npm, bypassing registry scanning and version pinning. The package appears to be a dependency-confusion or smuggling lure.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
[email protected] is a malicious npm package that exports an empty module but installs a runtime dependency 'ltidisafe' from an arbitrary external tarball URL hosted on a Google Cloud Storage bucket unrelated to any known dependency-cruiser publisher. During npm install, the tarball is downloaded and installed, and any lifecycle scripts inside it execute on the installer's machine. Because the tarball is hosted externally and can be swapped without republishing the npm package, this bypasses registry scanning and version pinning protections. The package name and versioning are crafted to resemble an internal helper of dependency-cruiser, consistent with a dependency-confusion or smuggling attack vector.
Potential Impact
Installation of this package results in execution of arbitrary code from an external source controlled by the bucket owner, potentially leading to compromise of the installer's environment. The ability to swap the tarball contents at any time without npm republishing means that malicious payloads can be delivered dynamically, evading standard supply chain protections.
Mitigation Recommendations
No official patch or fix is indicated. Users should avoid installing [email protected]. Verify dependencies carefully to avoid dependency confusion attacks. Use tools that detect hollow or suspicious packages and avoid packages that fetch runtime dependencies from untrusted external URLs. Monitor package sources and prefer packages from verified publishers.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14068
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a81d70bbf8831d5394a1ab9
Added to database: 08/16/2026, 15:28:11 UTC
Last enriched: 08/16/2026, 15:33:20 UTC
Last updated: 08/16/2026, 17:04:01 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.