svg-bucket (npm) · Malicious Code
Affects svg-bucketSource GCVE Database
Malicious package : remove svg-bucket and rotate any secrets on hosts that installed it.
Data as of 26 Nov 2026, 08:56 UTC
Malicious package
Published to npm · OSV MAL-2026-20646
What to do
Remove svg-bucket 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 |
|---|---|---|
| npmsvg-bucket | 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 svg-bucket version 2.0.0 contains malicious code that executes a postinstall script during installation. This script runs node index.js, which contacts a webhook.site DNS capture host to report the installation event and the DNS resolver of the installing network. The package itself has no functional code beyond a log line and appears designed to collect installation telemetry surreptitiously. Similar behavior is observed in other packages published by related npm accounts.