MAL-2026-13694

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/env-local/MAL-2026-13694.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13694
Published
2026-08-10T11:53:57Z
Modified
2026-08-11T15:30:18Z
Summary
Malicious code in env-local (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (7faefbcd9110b5e08b469d72d6541875ba4e2702c4490d1a24c37b313160f86b)

env-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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017231",
            "import_time": "2026-08-10T12:24:44.501268016Z",
            "modified_time": "2026-08-10T11:53:57Z",
            "sha256": "ac368f7cba943b89781656da7f45ac393cf8b105eaa54a29c42a78622a2fde0b",
            "source": "amazon-inspector",
            "versions": [
                "18.4.2"
            ]
        },
        {
            "id": "IN-MAL-2026-017355",
            "import_time": "2026-08-11T15:26:47.899393077Z",
            "modified_time": "2026-08-11T15:14:31Z",
            "sha256": "7faefbcd9110b5e08b469d72d6541875ba4e2702c4490d1a24c37b313160f86b",
            "source": "amazon-inspector",
            "versions": [
                "18.4.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / env-local

Package

Affected ranges

Affected versions

18.*
18.4.2
18.4.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/tui-options.js",
            "sha256": "cc313e41108b632ed8b4ea6dc8e0a12e25f3ed905827cee4e6c39d1b291b8a4b",
            "tlsh": "3cf183dd583754208b72bba79a67450ff63693173401c289babc82942f77568c722edc"
        },
        {
            "path": "lib/main.js",
            "sha256": "c956a80948f211ad6f104ec7432e960766b8f9e1f137e8dd8f9b181313b38a21",
            "tlsh": "15327204a9f9761107c3b2d2954f5009a9bac227361c9f907a8cb3d86f49e78c5e37dd"
        }
    ],
    "package_integrity": [
        {
            "filename": "env-local-18.4.2.tgz",
            "hashes": {
                "sha1": "33a45ecb9bf7f04b11bbb53bc71b66ad84ae0967",
                "sha512_sri": "sha512-/c2tzUB/ydwq5qj7PRqMDHraDGLXpJCWKnCk028D5otKE9OlGQJxYt2Ik5Avy90IerW3dusG9sy8sVCrc5TEdw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/env-local/MAL-2026-13694.json"