Packages / @posthog/rrweb-utils / Security
Malicious code in @posthog/rrweb-utils (npm)
Compromised versions · @posthog/rrweb-utils
- 0.0.31
Safe
Every other versionincluding the latest, 0.0.60
npm install @posthog/rrweb-utils@0.0.60Not affected
0.0.1 – 0.0.30
26 releases
Affected
0.0.31
1 release
Safe
0.0.32 – 0.0.60
28 releases, latest
What happens
If one of these versions was installed
- Treat the machines and CI runners that installed it as compromised.
- Rotate the npm, GitHub and cloud tokens they could reach.
- Reinstall from a lockfile that pins a version outside the list.
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (de65400909e7dab680997106feffcc22e5a954f60fe775e82db28e5529bacb0c)
The package @posthog/rrweb-utils was found to contain malicious code.
Source: ghsa-malware (91f80824d159759f8c15f4ae987349441d6ed50bf4ef2d4697c020c683bac41a)
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.
Source: google-open-source-security (51a9cb3f9fde652f78e48e0bc49b9a5ac562b6867985987849b440f44e22926a)
This package was compromised by the Sha1-Hulud: The Second Coming NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub. The worm will propogate itself to NPM packages the user owns and establish persistence is a GitHub action. The package may also destroy the user's home directory.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.