{"id":"MAL-2026-13618","revision":"1ae98aa6838e4b1fa4d3c92c9d1e2126","records":[{"revision":"1ae98aa6838e4b1fa4d3c92c9d1e2126","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13618","aliases":[],"title":"Malicious code in w-screenctl (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3b2f241eacc2eaaaac28d2b9d76aeb67042a109869b28e45a88648bf937f856f)\nWhen WScreenctl() is invoked (via the bundled g.mjs entry or the documented systemd/Task Scheduler service units), the package starts a Hapi HTTP server bound to 0.0.0.0:7000 with CORS enabled and no authentication. POST /chrome/evaluate passes the request body's `script` field directly to Playwright's page.evaluate, allowing arbitrary JavaScript execution inside the controlled Chrome instance. POST /keyboard/type, /keyboard/key, and /mouse/* forward HTTP-supplied text, key names, and coordinates into xdotool or w-mousekey/AHK, driving system-wide keyboard and mouse input on the host desktop. Because the listener binds to all interfaces with no credential check, any party reachable on the network — LAN, adjacent VLAN, or an internet-routable interface — can execute JavaScript in the browser session and drive arbitrary keystrokes and clicks on the operator's machine, which can be used to open a terminal, type shell commands, and achieve full host RCE. The dist bundle also contains child_process usage tied to ping and POST primitives consistent with this HTTP dispatch surface.\n","state":0,"publishedAt":"2026-08-07T16:37:30+00:00","modifiedAt":"2026-08-07T17:04:53.3893442+00:00","affected":[{"ecosystem":"npm","name":"w-screenctl","ranges":[],"versions":["1.0.6","1.0.4","1.0.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/w-screenctl/v/1.0.6","https://www.npmjs.com/package/w-screenctl/v/1.0.4","https://www.npmjs.com/package/w-screenctl/v/1.0.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13618","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13618","identifiers":["MAL-2026-13618"]},"retained":false,"historicalAffected":[]}],"coverage":[]}