🛡️ MAL-2026-10085 — dependency-confusions
Description
Malicious code in dependency_confusions (npm)
The npm package dependency_confusions version 99.9.9 performs install-time host fingerprint and project path exfiltration. package.json sets index.js as the package main entrypoint and defines postinstall: node index.js. During npm install, index.js builds a JSON payload containing the local username from os.userInfo().username, the current project path from INIT_CWD or process.cwd(), the hostname from os.hostname(), the first non-internal local IPv4 address from os.networkInterfaces(), the platform from os.platform(), and an install timestamp. It then sends that payload with https.request to a webhook.site endpoint. This leaks developer or CI host identity and project path context to an attacker-controlled endpoint without user consent and is typical dependency-confusion reconnaissance behavior.
Source: amazon-inspector
package.json declares a postinstall hook that runs index.js on npm install. On execution, index.js collects the installer's OS username (os.userInfo()), hostname (os.hostname()), current working directory, local IPv4 address, and platform (os.platform()), then POSTs the collected fields as JSON to a hardcoded webhook.site endpoint (https://webhook.site/264e1903-28ea-48ea-8c55-be58c5a76791). Fires automatically as a lifecycle hook without user consent, matching the classic dependency-confusion reconnaissance beacon: the exfiltrated username/hostname/cwd/localIP reveal internal build hosts and internal package namespaces that an attacker uses to target follow-on dependency-confusion attacks against the victim's private registry.
Affected software
MAL-2026-10085 is recorded against 1 package.
- dependency-confusions
Timeline and source
Published on 8 July 2026 and last revised on 20 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
Indicators of compromise
Domains: webhook.site
URLs: https://webhook.site/264e1903-28ea-48ea-8c55-be58c5a76791
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| dependency-confusions | — | — |
References
Free Vulnerability Check
Is your site affected by MAL-2026-10085?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-10085 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.