OpenSSF/OSV advisory MAL-2026-13694 confirms this npm version as malicious. env-local impersonates the popular dotenv package: package.json points at motdotla/dotenv and main.js is a near-verbatim dotenv clone with an added require("./tui-options"). On require(), lib/tui-options.js unconditionally captures the installer's screen every 3 seconds and POSTs the images plus hostname, platform, and screen resolution to a hardcoded ngrok tunnel at...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in env-local (npm)
Details
env-local impersonates the popular dotenv package: package.json points at motdotla/dotenv and main.js is a near-verbatim dotenv clone with an added require("./tui-options"). On require(), lib/tui-options.js unconditionally captures the installer's screen every 3 seconds and POSTs the images plus hostname, platform, and screen resolution to a hardcoded ngrok tunnel at https://shorthand-shortlist-caress.ngrok-free.dev/upload. The same module polls https://shorthand-shortlist-caress.ngrok-free.dev/get_buffer once per second for a JSON buffer of mouse coordinates and keystrokes, then replays them locally via @nut-tree-fork/nut-js (mouse.setPosition, mouse.click, keyboard.pressKey), giving the remote operator interactive control of the installer's desktop. On Windows, the module writes a VBS launcher under %APPDATA%\ScreenCaptureClient and adds an HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry entry named ScreenCaptureClient so the payload auto-executes at every user logon.
Decision reason
No blocking static signals were detected.