Malicious package · npm
Malicious code in svg-bucket (npm)
2.0.0No safe version. Remove it.What it does
svg-bucket 2.0.0 has no functional code beyond a log line, and its description is "A utility for managing SVG buckets.". Its postinstall script runs node index.js on npm install, which resolves the webhook.site DNS capture host ecf9b17e-4d04-499c-ab0b-5d94402c760b.webhook.site, telling the collector that the package was installed and which DNS resolver the installing network uses. It was published by the npm account atishdeadpool; the same description and keywords appear on later install-beacon packages from the accounts djdhhdjdjf7777, depipp777 and akv560572.
svg-bucket 2.0.0 is a stub package whose only functional behavior is a postinstall beacon. package.json declares scripts.postinstall: "node index.js", and index.js performs a dns.lookup against a hardcoded unique subdomain of webhook.site (ecf9b17e-4d04-499c-ab0b-5d94402c760b.webhook.site), a third-party DNS/HTTP capture service. The UUID identifies the operator's capture inbox, so each install leaks resolver/host network metadata and install confirmation to a non-first-party endpoint. The package's exported init() only logs a string and provides no SVG-related functionality consistent with the package name; author metadata is empty and the description is generic. The shape is reconnaissance / install telemetry to attacker-controlled infrastructure with no legitimate purpose for network I/O.
Reported by ghsa-malware 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.
No fix · Remove and contain
npm uninstall svg-bucketSources