amplitude-react-native (npm) · Malicious Code
Affects amplitude-react-nativeSource GCVE Database
Malicious package : remove amplitude-react-native and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:38 UTC
Malicious package
Published to npm · OSV MAL-2026-15525
What to do
Remove amplitude-react-native from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmamplitude-react-native | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.