A malicious package was installed
Poisoned packages steal whatever the machine can read: registry tokens, cloud keys, SSH keys and everything in the environment. The npm compromises of 2025 showed how fast that goes, with self-spreading malware that used stolen tokens to publish more poisoned packages. Assume every secret the install could read is gone.
045 min90
- 01
Find every place the bad version was installed
by 20 minexpiresLockfiles in every repository, build logs, container images and developer machines. The lockfile gives the version; the build log and the package manager cache give the time it was pulled, which opens your exposure window.
- 02
Rotate everything those machines could read
by 45 minexpiresPackage registry tokens, source control tokens, cloud keys, CI secrets and SSH keys, starting with anything that can publish or deploy. Revoke the old ones rather than only issuing new ones.