amundi-compare (npm) · Malicious Code
Affects amundi-compareSource GCVE Database
Malicious package : remove amundi-compare and rotate any secrets on hosts that installed it.
Data as of 24 Aug 2026, 14:29 UTC
Malicious package
Published to npm · OSV MAL-2026-14390
What to do
Remove amundi-compare 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 |
|---|---|---|
| npmamundi-compare | 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 amundi-compare version 999.9.12 contains malicious code that executes automatically during installation via a preinstall hook. This code collects extensive system and network information, including hostname, user details, IP addresses, and metadata from the parent project. The collected data is exfiltrated through multiple channels, including HTTP, HTTPS, and a covert DNS channel designed to evade network egress filters. The package falsely claims to be authorized security research, but it transmits sensitive information without user consent.