Malicious code in hyperpure (npm)
Description
The npm package 'hyperpure' version 1.0.0 contains malicious code that executes during installation. Its preinstall script sends sensitive environment data, including CI tokens and cloud credentials, over plain HTTP to an attacker-controlled server. The package appears to be a hollow placeholder mimicking an internal Zomato package, indicating a dependency confusion attack. This data exfiltration occurs automatically without user consent.
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 'hyperpure' npm package version 1.0.0 includes a preinstall lifecycle script that runs a curl command to POST the installer's hostname, current user, working directory, and a base64-encoded dump of the entire process environment to an attacker-controlled out-of-band collector domain over plain HTTP. The environment dump often contains sensitive secrets such as CI tokens, AWS, GCP, Azure credentials, and npm publish tokens. The package itself exports only basic metadata and mimics an internal Zomato package, suggesting a dependency confusion attack. This malicious behavior triggers automatically on default installation without user opt-in.
Potential Impact
Any user or automated system running 'npm install hyperpure' version 1.0.0 will inadvertently disclose sensitive environment variables and credentials to an attacker-controlled server. This can lead to credential compromise, unauthorized access to cloud resources, and further exploitation. The attack requires no user interaction beyond installation and is triggered automatically.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing the 'hyperpure' package version 1.0.0 from untrusted sources. Verify package authenticity and consider using package integrity verification or scoped/internal registries to prevent dependency confusion attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6370
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q5m5-95fv-6hgf"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f318acd9273b49e495d7
Added to database: 09/01/2026, 15:45:28 UTC
Last enriched: 09/08/2026, 10:53:19 UTC
Last updated: 10/02/2026, 00:37:56 UTC
Views: 28
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.