Skip to main content

Malicious code in hyperion-react-native-testapp (npm)

0
High
Published: 07/28/2025 (07/28/2025, 18:03:36 UTC)
Source: GCVE Database
Product: hyperion-react-native-testapp

Description

The hyperion-react-native-testapp npm package contains malicious code that executes a preinstall script during npm install. This script sends the installer's username, current directory, and hostname to a third-party webhook URL without user consent. This behavior constitutes unauthorized data exfiltration and is consistent with dependency confusion proof-of-concept techniques, though the exfiltration itself is real regardless of intent.

Affected software

npmghsa
hyperion-react-native-testapp
Affected versions
>=10.0.0=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/10/2026, 18:48:26 UTC

Technical Analysis

The hyperion-react-native-testapp npm package declares a preinstall lifecycle script in its package.json that runs a wget command during installation. This command sends environment information including the installer's username, current working directory, and hostname as URL query parameters to a hardcoded webhook.site URL. This exfiltration occurs unconditionally on npm install, without user consent or awareness. The package name pattern and beacon behavior align with dependency confusion proof-of-concept activity, but the data leakage is genuine and exposes sensitive environment details to an external collector controlled by the attacker.

Potential Impact

The vulnerability results in unauthorized disclosure of environment information from the system performing the npm install, including username, working directory, and hostname. This can aid attackers in profiling the target environment and potentially facilitate further attacks. No direct code execution or system compromise beyond data leakage is described. There are no known exploits in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing the hyperion-react-native-testapp package, especially versions 1.0.0 and >=10.0.0, until the package is verified clean or removed from repositories. Review and audit npm packages before installation to detect suspicious lifecycle scripts. Consider using package integrity verification tools and restricting installation of untrusted packages.

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-2025-6727
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a8d9ae7acd9273b493e1755

Added to database: 08/25/2026, 13:38:47 UTC

Last enriched: 09/10/2026, 18:48:26 UTC

Last updated: 09/10/2026, 18:48:26 UTC

Views: 11

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