Skip to main content

Malicious code in amplitude-react-native (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:14:28 UTC)
Source: GCVE Database
Product: amplitude-react-native

Description

The npm package amplitude-react-native version 45.0.0 contains malicious code due to a dependency-confusion issue. Its package.json declares a dependency from an untrusted HTTPS URL without version pinning or integrity verification, allowing an attacker controlling that URL to execute arbitrary code during installation. The installed package's index.js is inert, but the manifest triggers execution of potentially malicious lifecycle scripts. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system must be rotated from a different machine.

Affected software

npmghsa
amplitude-react-native
Affected versions
=45.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/09/2026, 20:38:37 UTC

Technical Analysis

The amplitude-react-native npm package version 45.0.0 declares a dependency whose source is a bare HTTPS URL (https://repo.securityctrl.com/amplitude-react-native) instead of a versioned registry range. This dependency key matches the package's own name, creating a dependency-confusion vulnerability. When npm installs the package, it fetches and executes any lifecycle scripts from the remote tarball controlled by the attacker. Although the shipped index.js is inert, the manifest itself enables arbitrary code execution on the installer's machine. This results in full compromise of any system installing this package version.

Potential Impact

Systems installing amplitude-react-native version 45.0.0 are fully compromised due to arbitrary code execution from malicious lifecycle scripts fetched from an attacker-controlled URL. Attackers gain full control over the affected machine, potentially accessing all stored secrets and keys. Removal of the package does not guarantee eradication of all malicious software installed as a result. Immediate rotation of all secrets and keys from a separate, uncompromised system is required.

Mitigation Recommendations

No official patch or fix is currently documented. Immediate removal of amplitude-react-native version 45.0.0 is strongly recommended. Treat any system with this package installed as fully compromised. Rotate all secrets and keys from a different, secure machine. Monitor for any signs of persistent compromise. Check for vendor advisories or updates for official remediation guidance.

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

Threat ID: 6a92f7e3acd9273b49e75cfa

Added to database: 08/29/2026, 15:16:51 UTC

Last enriched: 09/09/2026, 20:38:37 UTC

Last updated: 10/01/2026, 22:27:25 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