Malicious code in privacy-sdk (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5c92b5d6dae289f8667ca24f2a941473b65e560f6937874f68ff26ed24d58969) [email protected] is a hollow wrapper (index.js is `module.exports = {}`, blank description, blank author) whose sole runtime dependency is declared as a raw tarball URL: `"ltidisafe": "https://ltidi.storage.googleapis.com/depenconf/ltidisafe-2.8.9.tgz"`. On `npm install privacy-sdk`, npm fetches that tarball directly from the GCS bucket — bypassing the npm registry's publication, audit, and integrity-hash mechanisms — and installs it, executing any lifecycle scripts (preinstall/install/postinstall) bundled inside. The bucket and `depenconf` path do not correspond to any identifiable publisher, the URL has no integrity field, and the bytes at that URL are mutable by whoever controls the bucket. The version `99.9.1` is the canonical high-version dependency-confusion pattern used to outrank an organization's internal `privacy-sdk` package, and the generic name compounds that risk. The package has no advertised functionality of its own; its only effect on install is to deliver attacker-controlled code into the installer's environment via the smuggled tarball. ## Source: ghsa-malware (1825b4f06e2197776dc61ab1ddea99c0afeeae873e0d1a9c010c90d1483defea) 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.
AI Analysis
Technical Summary
The privacy-sdk package at version 99.9.1 is a malicious npm package that contains no functional code itself but declares a runtime dependency on a tarball hosted outside the npm registry on a Google Cloud Storage bucket. This external tarball is mutable by whoever controls the bucket, allowing arbitrary code execution during npm install lifecycle scripts. The package uses a high version number to exploit dependency confusion attacks, potentially replacing legitimate internal packages named privacy-sdk. The lack of integrity verification and the use of an untrusted external source bypass npm's security controls. Systems with this package installed are considered fully compromised.
Potential Impact
Installation of [email protected] results in execution of attacker-controlled code on the affected system. This leads to full system compromise, including potential theft or manipulation of secrets and keys stored on the system. The malicious package can install additional malware or backdoors, and simply removing the package does not guarantee removal of all malicious artifacts. Immediate secret and key rotation from a trusted environment is required to mitigate impact.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove [email protected] from all affected systems. All secrets and keys stored on compromised systems should be rotated from a separate, trusted environment. Organizations should audit their dependency sources to prevent dependency confusion attacks by ensuring internal packages are properly namespaced and that external dependencies are verified with integrity checks. Avoid installing packages from untrusted or unknown sources, especially those that fetch code from external URLs bypassing npm registry controls.
Malicious code in privacy-sdk (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5c92b5d6dae289f8667ca24f2a941473b65e560f6937874f68ff26ed24d58969) [email protected] is a hollow wrapper (index.js is `module.exports = {}`, blank description, blank author) whose sole runtime dependency is declared as a raw tarball URL: `"ltidisafe": "https://ltidi.storage.googleapis.com/depenconf/ltidisafe-2.8.9.tgz"`. On `npm install privacy-sdk`, npm fetches that tarball directly from the GCS bucket — bypassing the npm registry's publication, audit, and integrity-hash mechanisms — and installs it, executing any lifecycle scripts (preinstall/install/postinstall) bundled inside. The bucket and `depenconf` path do not correspond to any identifiable publisher, the URL has no integrity field, and the bytes at that URL are mutable by whoever controls the bucket. The version `99.9.1` is the canonical high-version dependency-confusion pattern used to outrank an organization's internal `privacy-sdk` package, and the generic name compounds that risk. The package has no advertised functionality of its own; its only effect on install is to deliver attacker-controlled code into the installer's environment via the smuggled tarball. ## Source: ghsa-malware (1825b4f06e2197776dc61ab1ddea99c0afeeae873e0d1a9c010c90d1483defea) 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.
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
The privacy-sdk package at version 99.9.1 is a malicious npm package that contains no functional code itself but declares a runtime dependency on a tarball hosted outside the npm registry on a Google Cloud Storage bucket. This external tarball is mutable by whoever controls the bucket, allowing arbitrary code execution during npm install lifecycle scripts. The package uses a high version number to exploit dependency confusion attacks, potentially replacing legitimate internal packages named privacy-sdk. The lack of integrity verification and the use of an untrusted external source bypass npm's security controls. Systems with this package installed are considered fully compromised.
Potential Impact
Installation of [email protected] results in execution of attacker-controlled code on the affected system. This leads to full system compromise, including potential theft or manipulation of secrets and keys stored on the system. The malicious package can install additional malware or backdoors, and simply removing the package does not guarantee removal of all malicious artifacts. Immediate secret and key rotation from a trusted environment is required to mitigate impact.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove [email protected] from all affected systems. All secrets and keys stored on compromised systems should be rotated from a separate, trusted environment. Organizations should audit their dependency sources to prevent dependency confusion attacks by ensuring internal packages are properly namespaced and that external dependencies are verified with integrity checks. Avoid installing packages from untrusted or unknown sources, especially those that fetch code from external URLs bypassing npm registry controls.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5451
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-wrgr-9636-hfmh"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520ecf68715ace438f877c
Added to database: 07/11/2026, 09:37:19 UTC
Last enriched: 07/11/2026, 09:59:41 UTC
Last updated: 07/20/2026, 04:09: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.