amplitude-session-replay
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-jvwx-f8cc-jjj8
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in amplitude-session-replay (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (fb71ca2dc9e74e42a64b1533ecb98ea1cad26e283b0c3d3ba0f4e7c760fac713)
package.json declares a dependency whose key is the package's own name (amplitude-session-replay) and whose value is a plain HTTPS URL, https://repo.securityctrl.com/amplitude-session-replay, instead of a registry version range. On npm install, npm fetches the tarball bytes returned by that URL and installs whatever it contains, including running any lifecycle scripts inside — with no version pin, no integrity hash, and no registry vetting. The shipped source in the published tarball is an inert stub, so the manifest itself is the delivery mechanism: whoever controls repo.securityctrl.com controls code executed on the installer's machine at install time. The self-referential dependency name (dependency-confusion shape) also encourages resolvers to prefer this entry over any legitimately-named amplitude-session-replay package. The host is unrelated to Amplitude's own domains.
Source: ghsa-malware (45e75fc14fb647bfdf2d3b2a2bffa4d843f51e4a4970cadcde65c1daca37d7c1)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0