Skip to main content

Malicious code in privacy-sdk (npm)

0
Critical
Published: 06/09/2026 (06/09/2026, 17:25:01 UTC)
Source: GCVE Database
Product: privacy-sdk

Description

The npm package [email protected] is a malicious package designed to deliver attacker-controlled code during installation. It acts as a hollow wrapper that fetches and installs a tarball from an untrusted Google Cloud Storage URL, bypassing npm's security mechanisms. This package uses a high version number to outrank legitimate internal packages, increasing the risk of dependency confusion attacks. Installing this package can fully compromise the host system, potentially exposing all stored secrets and keys.

Affected software

npmghsa
privacy-sdk
Affected versions
=99.9.1

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

AILast updated: 09/12/2026, 18:47:20 UTC

Technical Analysis

The privacy-sdk package version 99.9.1 on npm is a hollow wrapper with no legitimate functionality. Its sole runtime dependency is a tarball fetched directly from an untrusted Google Cloud Storage bucket URL, which bypasses npm's registry publication, audit, and integrity verification processes. This tarball is mutable by whoever controls the bucket, allowing arbitrary code execution during npm install lifecycle scripts. The package uses a canonical high version number to outrank internal packages, facilitating dependency confusion attacks. The package's installation results in attacker-controlled code execution, fully compromising the host environment.

Potential Impact

Any system with [email protected] installed or running should be considered fully compromised. Attackers may have executed arbitrary code with full control over the system. All secrets and keys stored on the compromised system are at risk and must be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious software or backdoors introduced during installation.

Mitigation Recommendations

Immediate removal of the [email protected] package is recommended. All secrets and credentials stored on the affected system should be rotated from a different, uncompromised machine. Due to the potential full system compromise, a complete system rebuild or forensic analysis may be necessary. There is no official patch or fix for this malicious package; prevention relies on avoiding installation of untrusted or suspicious packages and verifying package sources and integrity.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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"]

Threat ID: 6a520ecf68715ace438f877c

Added to database: 07/11/2026, 09:37:19 UTC

Last enriched: 09/12/2026, 18:47:20 UTC

Last updated: 09/12/2026, 18:47:20 UTC

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses