MAL-2026-10181: Malicious code in consumerweb (npm)
The consumerweb npm package version 2200.4.2 contains malicious code executed during both preinstall and postinstall lifecycle hooks. This code collects host environment information such as hostname, username, home directory, current working directory, DNS servers, and package metadata. The collected data is exfiltrated via DNS lookups and HTTPS POST requests to an attacker-controlled domain. The package appears to be part of a dependency confusion attack, attempting to confirm internal package names and leak environment details without user consent.
AI Analysis
Technical Summary
The consumerweb npm package version 2200.4.2 executes malicious code during installation lifecycle hooks (preinstall and postinstall). This code gathers host reconnaissance data including os.hostname(), os.userInfo().username, os.homedir(), current working directory, DNS server information, and package metadata. The data is exfiltrated through DNS queries and HTTPS POST requests to a subdomain of oast.fun, an attacker-controlled OAST collaborator domain. The package name and description suggest it is designed to exploit dependency confusion by squatting on an internal package name, confirming its existence and leaking identifying environment information. There is no legitimate reason for this data collection or exfiltration, and the installer is not prompted for consent.
Potential Impact
Successful installation of this malicious package results in unauthorized disclosure of sensitive environment information, including host identifiers and network configuration details. This leakage can aid attackers in further targeting or reconnaissance of the affected environment. The attack confirms internal package names via dependency confusion, potentially facilitating supply chain attacks. There is no indication of direct code execution beyond the installation hooks or further payloads, but the information leak itself poses a privacy and security risk.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should avoid installing consumerweb version 2200.4.2 from untrusted sources. Verify package authenticity and source before installation, and consider using package allowlists or internal registries to prevent dependency confusion attacks. Monitor for suspicious package names that mimic internal dependencies. Patch status is not yet confirmed — check the vendor or package repository advisory for current remediation guidance.
MAL-2026-10181: Malicious code in consumerweb (npm)
Description
The consumerweb npm package version 2200.4.2 contains malicious code executed during both preinstall and postinstall lifecycle hooks. This code collects host environment information such as hostname, username, home directory, current working directory, DNS servers, and package metadata. The collected data is exfiltrated via DNS lookups and HTTPS POST requests to an attacker-controlled domain. The package appears to be part of a dependency confusion attack, attempting to confirm internal package names and leak environment details 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 consumerweb npm package version 2200.4.2 executes malicious code during installation lifecycle hooks (preinstall and postinstall). This code gathers host reconnaissance data including os.hostname(), os.userInfo().username, os.homedir(), current working directory, DNS server information, and package metadata. The data is exfiltrated through DNS queries and HTTPS POST requests to a subdomain of oast.fun, an attacker-controlled OAST collaborator domain. The package name and description suggest it is designed to exploit dependency confusion by squatting on an internal package name, confirming its existence and leaking identifying environment information. There is no legitimate reason for this data collection or exfiltration, and the installer is not prompted for consent.
Potential Impact
Successful installation of this malicious package results in unauthorized disclosure of sensitive environment information, including host identifiers and network configuration details. This leakage can aid attackers in further targeting or reconnaissance of the affected environment. The attack confirms internal package names via dependency confusion, potentially facilitating supply chain attacks. There is no indication of direct code execution beyond the installation hooks or further payloads, but the information leak itself poses a privacy and security risk.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should avoid installing consumerweb version 2200.4.2 from untrusted sources. Verify package authenticity and source before installation, and consider using package allowlists or internal registries to prevent dependency confusion attacks. Monitor for suspicious package names that mimic internal dependencies. Patch status is not yet confirmed — check the vendor or package repository advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10181
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520ea968715ace438f47c1
Added to database: 07/11/2026, 09:36:41 UTC
Last enriched: 07/11/2026, 09:45:56 UTC
Last updated: 07/12/2026, 03:54:45 UTC
Views: 5
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.