amplitude-session-replay (npm) · Malicious Code
Affects amplitude-session-replaySource GCVE Database
Malicious package : remove amplitude-session-replay and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:24 UTC
Malicious package
Published to npm · OSV MAL-2026-15497
What to do
Remove amplitude-session-replay 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-session-replay | 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-session-replay version 45.0.0 contains malicious code delivered via a self-referential dependency pointing to an external URL. This design allows arbitrary code execution during installation, as the package fetches and runs code from a third-party server without integrity verification. Installing this package can fully compromise the host system, risking exposure of all stored secrets and keys.