npm · Malicious package advisory
Malwareamplitude-react-native
MAL-2026-15525
Malicious code in amplitude-react-native (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (489592652dd724254e29c10536019e0e03e8032e781748a73fc357bb40f50a1d) package.json declares a single dependency whose source is a bare HTTPS URL (https://repo.securityctrl.com/amplitude-react-native) rather than a registry version range, with no version pin and no integrity hash. The dependency key matches the package's own name, a dependency-confusion shape. On npm install, npm fetches whatever tarball that host currently returns and installs it, executing any lifecycle scripts contained in the fetched artifact. The shipped index.js is an inert stub, so the manifest itself is the entire published payload and the operator of repo.securityctrl.com controls code executed on installers' machines. ## Source: ghsa-malware (fc3196e169edbece285dbabfeea612f97fa9583721bdfaf56e9305137bc624bb) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Compromised versions (1)
- 45.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.