Malicious code in webrix-docs1 (npm)
The npm package webrix-docs1 version 10.2.11 contains malicious code that executes a preinstall script during npm install. This script collects detailed system and user information from the host machine and sends it to an attacker-controlled endpoint. The package mimics a legitimate project name, suggesting a typosquatting or dependency confusion attack. There is no advertised functionality or author information, indicating it is solely designed for reconnaissance and data exfiltration.
AI Analysis
Technical Summary
The webrix-docs1 npm package version 10.2.11 includes a preinstall hook that runs automatically on installation. This hook executes a Node.js script that gathers hostname, platform, architecture, user identifiers (username, uid, gid), shell, home directory, CPU and memory statistics, current working directory, and outputs of whoami and id commands. The collected data is sent as a JSON payload via HTTPS POST to a hardcoded Burp Collaborator (oastify.com) subdomain controlled by the attacker. The package lacks legitimate metadata and mimics the name of a legitimate project, consistent with a dependency confusion or typosquatting attack vector. Installing this package leaks sensitive host and user information to an attacker-controlled server.
Potential Impact
Installing the affected version 10.2.11 of webrix-docs1 results in leakage of sensitive system and user information to an attacker-controlled endpoint. This information disclosure can aid attackers in further reconnaissance and targeted attacks against the compromised environment. There is no indication of code execution beyond the data exfiltration, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the webrix-docs1 package version 10.2.11. Verify package authenticity before installation to prevent typosquatting or dependency confusion attacks. Monitor package sources and use trusted registries. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in webrix-docs1 (npm)
Description
The npm package webrix-docs1 version 10.2.11 contains malicious code that executes a preinstall script during npm install. This script collects detailed system and user information from the host machine and sends it to an attacker-controlled endpoint. The package mimics a legitimate project name, suggesting a typosquatting or dependency confusion attack. There is no advertised functionality or author information, indicating it is solely designed for reconnaissance and data exfiltration.
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 webrix-docs1 npm package version 10.2.11 includes a preinstall hook that runs automatically on installation. This hook executes a Node.js script that gathers hostname, platform, architecture, user identifiers (username, uid, gid), shell, home directory, CPU and memory statistics, current working directory, and outputs of whoami and id commands. The collected data is sent as a JSON payload via HTTPS POST to a hardcoded Burp Collaborator (oastify.com) subdomain controlled by the attacker. The package lacks legitimate metadata and mimics the name of a legitimate project, consistent with a dependency confusion or typosquatting attack vector. Installing this package leaks sensitive host and user information to an attacker-controlled server.
Potential Impact
Installing the affected version 10.2.11 of webrix-docs1 results in leakage of sensitive system and user information to an attacker-controlled endpoint. This information disclosure can aid attackers in further reconnaissance and targeted attacks against the compromised environment. There is no indication of code execution beyond the data exfiltration, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the webrix-docs1 package version 10.2.11. Verify package authenticity before installation to prevent typosquatting or dependency confusion attacks. Monitor package sources and use trusted registries. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10081
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baad68715ace43585835
Added to database: 07/10/2026, 09:26:05 UTC
Last enriched: 07/10/2026, 10:17:00 UTC
Last updated: 07/28/2026, 08:39:07 UTC
Views: 29
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.