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 w-screenctl (npm)

0
Critical
Published: 08/07/2026 (08/07/2026, 16:37:30 UTC)
Source: GCVE Database
Product: w-screenctl

Description

The w-screenctl npm package versions 1.0.4, 1.0.6, and 1.0.7 contain malicious code that starts an unauthenticated HTTP server bound to all network interfaces. This server exposes endpoints that allow arbitrary JavaScript execution in a controlled Chrome instance and system-wide keyboard and mouse input injection. This enables remote attackers on the network to execute arbitrary commands and potentially achieve full remote code execution on the host system.

Affected software

npmghsa
w-screenctl
Affected versions
=1.0.6=1.0.4=1.0.7

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: 08/08/2026, 15:39:09 UTC

Technical Analysis

The w-screenctl package, when invoked, launches a Hapi HTTP server listening on 0.0.0.0:7000 with CORS enabled and no authentication. The POST /chrome/evaluate endpoint executes arbitrary JavaScript passed in the request body within a Playwright-controlled Chrome browser. Additional endpoints forward input commands to system utilities like xdotool and w-mousekey/AHK, allowing remote control of keyboard and mouse input on the host. Because the server listens on all interfaces without credential checks, any network-accessible attacker can leverage these endpoints to run arbitrary shell commands and achieve full remote code execution. The package also uses child_process for ping and POST primitives consistent with this attack surface.

Potential Impact

An attacker with network access to the host running the vulnerable w-screenctl package can execute arbitrary JavaScript in a browser context and inject arbitrary keyboard and mouse input system-wide. This can be used to open terminals, run shell commands, and gain full remote code execution on the host machine. The lack of authentication and binding to all interfaces significantly increases the attack surface, allowing exploitation from LAN, adjacent VLANs, or internet-routable interfaces.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, do not run the affected versions of w-screenctl (1.0.4, 1.0.6, 1.0.7) in network-exposed environments. Restrict network access to hosts running this package and monitor for unexpected network services listening on port 7000. Consider removing or replacing the package if it is not essential.

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-13618
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a77432cbf8831d539b460a8

Added to database: 08/08/2026, 14:54:36 UTC

Last enriched: 08/08/2026, 15:39:09 UTC

Last updated: 08/09/2026, 00:44:08 UTC

Views: 7

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