{"id":"MAL-2026-13694","revision":"9f70ffe3a7a444f0876821f3a90cdb27","records":[{"revision":"9f70ffe3a7a444f0876821f3a90cdb27","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13694","aliases":[],"title":"Malicious code in env-local (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7faefbcd9110b5e08b469d72d6541875ba4e2702c4490d1a24c37b313160f86b)\nenv-local presents itself as a dotenv-compatible.env loader (README, keywords, and API mirror motdotla/dotenv), but lib/main.js unconditionally requires lib/tui-options.js, which activates a full-host spyware payload on module load. tui-options.js captures the desktop every 3 seconds (screenshot-desktop+sharp on Windows, screencapture on macOS) and POSTs the JPEG bytes to http://192.99.204.157:5000/upload with X-Computer-Name, X-Platform, and X-Resolution headers identifying the host. In parallel, a 1-second interval polls http://192.99.204.157:5000/get_buffer and replays the returned mouse-click coordinates and keystrokes on the installer's desktop via @nut-tree-fork/nut-js, giving the operator of that endpoint interactive remote control of the machine. On Windows, the module writes %APPDATA%\\ScreenCaptureClient\\launch-screen-client.vbs and registers HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\ScreenCaptureClient via reg.exe to invoke the launcher with wscript.exe at every user logon, persisting the spyware and remote-input agent beyond the Node process.\n","state":0,"publishedAt":"2026-08-10T11:53:57+00:00","modifiedAt":"2026-08-11T15:30:18.9391769+00:00","affected":[{"ecosystem":"npm","name":"env-local","ranges":[],"versions":["18.4.2","18.4.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/env-local/v/18.4.2","https://www.npmjs.com/package/env-local/v/18.4.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13694","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13694","identifiers":["MAL-2026-13694"]},"retained":false,"historicalAffected":[]}],"coverage":[]}