Malicious code in amundi-compare (npm)
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.
AI Analysis
Technical Summary
The amundi-compare npm package at version 999.9.12 is a malicious package published with an inflated version number, consistent with dependency confusion attacks targeting internal package names. It includes a preinstall script (node index.js) that runs automatically on npm install, harvesting detailed system and network information such as hostname, OS user, home directory, current working directory, local and public IP addresses, DNS resolver IP, client subnet, and metadata from the parent project's package.json. The stolen data is exfiltrated to a hardcoded callback domain via three parallel channels: HTTP POST, HTTPS POST to a specific path, and a DNS covert channel that encodes the data into subdomain labels to bypass egress filtering. The package misrepresents itself as authorized security research, but the data collection and exfiltration occur without user consent or configuration.
Potential Impact
This malicious package can lead to unauthorized disclosure of sensitive system and network information, including internal project metadata and network configuration details. The use of a covert DNS channel for data exfiltration increases the likelihood of bypassing network security controls, potentially enabling attackers to gather reconnaissance data stealthily. There is no indication of direct code execution beyond the preinstall script, but the privacy breach and potential for further targeted attacks are significant.
Mitigation Recommendations
Users should avoid installing the amundi-compare package at version 999.9.12. Since no official patch or remediation is indicated, the best mitigation is to remove this package if installed and audit dependencies for suspicious or unexpected packages, especially those with unusually high version numbers. Implementing strict package source verification and dependency management policies can help prevent dependency confusion attacks. Monitor for any unauthorized network traffic to the identified callback domain and block it at network boundaries.
Malicious code in amundi-compare (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The amundi-compare npm package at version 999.9.12 is a malicious package published with an inflated version number, consistent with dependency confusion attacks targeting internal package names. It includes a preinstall script (node index.js) that runs automatically on npm install, harvesting detailed system and network information such as hostname, OS user, home directory, current working directory, local and public IP addresses, DNS resolver IP, client subnet, and metadata from the parent project's package.json. The stolen data is exfiltrated to a hardcoded callback domain via three parallel channels: HTTP POST, HTTPS POST to a specific path, and a DNS covert channel that encodes the data into subdomain labels to bypass egress filtering. The package misrepresents itself as authorized security research, but the data collection and exfiltration occur without user consent or configuration.
Potential Impact
This malicious package can lead to unauthorized disclosure of sensitive system and network information, including internal project metadata and network configuration details. The use of a covert DNS channel for data exfiltration increases the likelihood of bypassing network security controls, potentially enabling attackers to gather reconnaissance data stealthily. There is no indication of direct code execution beyond the preinstall script, but the privacy breach and potential for further targeted attacks are significant.
Mitigation Recommendations
Users should avoid installing the amundi-compare package at version 999.9.12. Since no official patch or remediation is indicated, the best mitigation is to remove this package if installed and audit dependencies for suspicious or unexpected packages, especially those with unusually high version numbers. Implementing strict package source verification and dependency management policies can help prevent dependency confusion attacks. Monitor for any unauthorized network traffic to the identified callback domain and block it at network boundaries.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14390
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c4c74acd9273b499c0e42
Added to database: 08/24/2026, 13:51:48 UTC
Last enriched: 08/24/2026, 14:29:02 UTC
Last updated: 08/25/2026, 01:04:34 UTC
Views: 27
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.