Skip to main content

Malicious code in hyperpure (npm)

0
Critical
Published: 06/24/2026 (06/24/2026, 04:00:01 UTC)
Source: GCVE Database
Product: hyperpure

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

npmghsa
hyperpure
Affected versions
=1.0.0

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/08/2026, 10:53:19 UTC

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.

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