Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in webrix-docs (npm)

0
Medium
Published: 07/09/2026 (07/09/2026, 15:45:45 UTC)
Source: GCVE Database
Product: webrix-docs

Description

The npm package 'webrix-docs' version 20.2.11 contains malicious code that executes automatically during installation. It runs a script that collects host system information such as hostname, user details, platform, current directory, and command outputs, then sends this data to a remote server. The package appears to be a typosquatting attempt mimicking a legitimate library, with no legitimate code and an empty author field.

Affected software

npmghsa
webrix-docs
Affected versions
=20.2.11

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

AILast updated: 07/10/2026, 10:17:08 UTC

Technical Analysis

The 'webrix-docs' npm package version 20.2.11 declares a preinstall script that executes 'node index.js' on installation. This script gathers reconnaissance data from the host environment, including os.hostname(), os.userInfo(), process.platform, current working directory, and outputs of 'whoami' and 'id' commands. It then exfiltrates this data as JSON via an HTTP POST request to a hardcoded URL associated with an out-of-band interaction service (oastify.com). The package lacks legitimate library code and is likely a typosquatting or dependency confusion attack designed solely to collect system information during installation.

Potential Impact

The malicious package can leak sensitive host information such as system hostname, user identity, platform details, and directory context to an attacker-controlled server during installation. This reconnaissance data could be used to further target or profile affected systems. There is no indication of code execution beyond data exfiltration or persistence mechanisms described in the provided information.

Mitigation Recommendations

No official patch or fix is indicated for this package. The best mitigation is to avoid installing the 'webrix-docs' package version 20.2.11 and verify package authenticity before installation. Use trusted sources and verify package names carefully to avoid typosquatting attacks. Monitor dependency manifests for suspicious packages and remove any instances of this malicious package.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10080
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50baad68715ace43585838

Added to database: 07/10/2026, 09:26:05 UTC

Last enriched: 07/10/2026, 10:17:08 UTC

Last updated: 07/29/2026, 21:36:45 UTC

Views: 29

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses