amundi-comparenpm
Advisory published Updated
amundi-compare is a confirmed malicious npm package (MAL-2026-14390) that executes malicious code on install (malicious version 999.9.12). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in amundi-compare (npm)
What this malware does
[email protected] is published at an inflated version number consistent with dependency-confusion targeting of an internal package name. The package.json declares a preinstall hook (node index.js) that runs automatically on npm install. index.js collects hostname, OS user, home directory, current working directory, local IPv4 addresses, public egress IP (queried from api.ipify.org, icanhazip.com, and ifconfig.me), the DNS resolver IP and client subnet, and the parent project's package.json name/author/repository/homepage fields. The payload is transmitted through three parallel channels to the hardcoded callback host da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun: an HTTP POST, an HTTPS POST to /poc/<uuid>, and a DNS covert channel that hex-encodes the JSON, splits it into <=60-character chunks, and emits each chunk as a subdomain label under the callback domain. The DNS channel is designed to bypass egress filters that block outbound HTTP. The package labels itself as authorized security research, but the callback host is not installer-configured and the parent project's metadata is captured without consent.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for amundi-compare (version 999.9.12).
If you installed it — respond
Remove amundi-compare from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If amundi-compare was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks amundi-compare-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.