blots (npm) · Malicious Code
Affects blotsSource GCVE Database
Malicious package : remove blots and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:41 UTC
Malicious package
Published to npm · OSV MAL-2026-11158
What to do
Remove blots 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 |
|---|---|---|
| npmblots | 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 'blots' versions 2.1.0 and 2.1.1 contains malicious code that executes preinstall and postinstall scripts. These scripts unconditionally send the installer's username, hostname, current working directory, and timestamp to an attacker-controlled third-party endpoint at webhook.site. The package provides no legitimate functionality and solely performs reconnaissance on the installer's environment during installation.