MAL-2026-10751

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vanexa-agent/MAL-2026-10751.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10751
Published
2026-07-16T18:39:20Z
Modified
2026-08-06T23:50:25.548616290Z
Summary
Malicious code in vanexa-agent (npm)
Details

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

Source: amazon-inspector (5ea182e48a895e218d345ca6308727223e54eb285d9af44a167b6b115ba1a907)

When the user runs vanexa-agent start, the daemon opens a persistent WebSocket to a hardcoded Cloudflare Workers relay at wss://vanexa-agent-relay.hanazaki542.workers.dev/ws/daemon/<sessionId> and processes task_request messages from that connection by driving an LLM tool-loop whose tools include terminal.exec and terminal.exec_background, which invoke spawn('/bin/bash', ['-c', args.command]) (or cmd.exe /c... on Windows) on the installer's host. The same channel also accepts config_update messages that flip grantAllAccess, autonomyMode, and workspacePaths at runtime, and clear_memory / reset_usage control messages. The only authentication is a user-typed 6-digit pairing code stored verbatim as the sessionId routing key — no JWT, no cryptographic session, no per-message signature (a source comment states In a real app, the relay would issue a secure JWT). The README advertises phone-to-computer communication as LAN-only over mDNS, but config.js hardcodes the WAN relay and force-overwrites any prior relayUrl to that host at every config load; the daemon also transmits os.hostname() and the full config (which contains the encrypted apiKey blob) to the relay on connect. Whoever controls the relay — or any party that guesses/collides on the 6-digit code — can execute arbitrary shell commands on any host running the daemon.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-010733",
            "import_time": "2026-07-16T18:54:01.762217474Z",
            "modified_time": "2026-07-16T18:39:20Z",
            "versions": [
                "1.1.10"
            ],
            "source": "amazon-inspector",
            "sha256": "433bc5b1e6814e9c9a1f5d4ff26e2dbb31fdb8a5e9a08f9c94696347dcbeb803"
        },
        {
            "id": "IN-MAL-2026-010738",
            "import_time": "2026-07-16T18:54:01.996192715Z",
            "modified_time": "2026-07-16T18:40:04Z",
            "versions": [
                "1.1.9"
            ],
            "source": "amazon-inspector",
            "sha256": "ceb12856926d98ac98f1e81e0ad83b749eeeea08be8e53e61d5374f1492589dc"
        },
        {
            "id": "IN-MAL-2026-016787",
            "import_time": "2026-08-06T23:25:09.274560646Z",
            "modified_time": "2026-08-06T19:38:50Z",
            "versions": [
                "1.1.23"
            ],
            "sha256": "085c6cc7e4bb409489aed94fd212c63d38e409b8529cc23b7af596649172645b",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-016792",
            "import_time": "2026-08-06T23:25:09.54444001Z",
            "modified_time": "2026-08-06T19:39:33Z",
            "versions": [
                "1.1.46"
            ],
            "sha256": "538231c92de06945f48654f857f3fbe246b15cba260b383c196f2de7492fc4be",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-016780",
            "import_time": "2026-08-06T23:25:08.956351927Z",
            "modified_time": "2026-08-06T19:37:52Z",
            "versions": [
                "1.1.34"
            ],
            "sha256": "5ea182e48a895e218d345ca6308727223e54eb285d9af44a167b6b115ba1a907",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-016777",
            "sha256": "a6d4b2052fef2d6df0c1e57ccc87a542cda958b35aa8c935379420f121959f95",
            "source": "amazon-inspector",
            "versions": [
                "1.1.39"
            ],
            "import_time": "2026-08-06T23:25:08.764479945Z",
            "modified_time": "2026-08-06T19:37:15Z"
        },
        {
            "id": "IN-MAL-2026-016781",
            "import_time": "2026-08-06T23:25:09.007398806Z",
            "modified_time": "2026-08-06T19:37:59Z",
            "versions": [
                "1.1.27"
            ],
            "source": "amazon-inspector",
            "sha256": "dae3911916167436797a3e96316bd48612c3b6837a0f04ced87746624e662460"
        },
        {
            "id": "IN-MAL-2026-016789",
            "import_time": "2026-08-06T23:25:09.385914833Z",
            "modified_time": "2026-08-06T19:39:07Z",
            "versions": [
                "1.1.18"
            ],
            "source": "amazon-inspector",
            "sha256": "e4970165e071172a1322f80615285359cb04db1717d6ad7bfbe31b79e9f368f0"
        },
        {
            "id": "IN-MAL-2026-016788",
            "import_time": "2026-08-06T23:25:09.354946625Z",
            "modified_time": "2026-08-06T19:38:59Z",
            "versions": [
                "1.1.22"
            ],
            "source": "amazon-inspector",
            "sha256": "f133049218cd6ee2eacb69c037db752874cd72f0c7ea998fdc2ec84d589dca3d"
        },
        {
            "id": "IN-MAL-2026-016795",
            "import_time": "2026-08-06T23:25:09.67528049Z",
            "modified_time": "2026-08-06T19:39:59Z",
            "versions": [
                "1.1.28"
            ],
            "source": "amazon-inspector",
            "sha256": "07155a8aeab77cf425d58646681d14b51c677a6aeb960402f93968012ada50d2"
        },
        {
            "id": "IN-MAL-2026-016791",
            "import_time": "2026-08-06T23:25:09.500666149Z",
            "source": "amazon-inspector",
            "versions": [
                "1.1.13"
            ],
            "modified_time": "2026-08-06T19:39:25Z",
            "sha256": "28125fc8491617ecc4225baa483fc8b5db6d1adf28808f53a170872bdf20db4f"
        },
        {
            "id": "IN-MAL-2026-016778",
            "import_time": "2026-08-06T23:25:08.824551603Z",
            "source": "amazon-inspector",
            "versions": [
                "1.1.45"
            ],
            "modified_time": "2026-08-06T19:37:30Z",
            "sha256": "2acac7c1f1564fe3818d006cbe28b2f4cb1fab06a721d0919350459d15c6d82d"
        },
        {
            "id": "IN-MAL-2026-016786",
            "sha256": "3f7cd0607d3709d07bd3641b5efebc10a295b24887f99d3f94cf7c2853a1a3ec",
            "modified_time": "2026-08-06T19:38:43Z",
            "versions": [
                "1.1.31"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:09.245023926Z"
        },
        {
            "id": "IN-MAL-2026-016796",
            "sha256": "5e2c7972a601570fc26bcc35a45e1f2027d34058d945b4b6645f5dfd855c0057",
            "modified_time": "2026-08-06T19:40:06Z",
            "versions": [
                "1.1.41"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:09.702650189Z"
        },
        {
            "id": "IN-MAL-2026-016802",
            "sha256": "c460d3ab58e4a1be92293d2aff3cce0a200b0d614c7f2e57e223d72178cd03f2",
            "modified_time": "2026-08-06T19:40:59Z",
            "versions": [
                "1.1.35"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:09.974082515Z"
        },
        {
            "id": "IN-MAL-2026-016782",
            "sha256": "d335b30bff264c207c7c793bbc9936d5accad2c6d03a32daeddf1ae0e38e736f",
            "source": "amazon-inspector",
            "versions": [
                "1.1.33"
            ],
            "import_time": "2026-08-06T23:25:09.046180031Z",
            "modified_time": "2026-08-06T19:38:08Z"
        },
        {
            "id": "IN-MAL-2026-016797",
            "sha256": "21a8ef0c5bc4c8395eab5abf465125a82106e0b15c203e9807799cdb89e7c346",
            "modified_time": "2026-08-06T19:40:14Z",
            "versions": [
                "1.1.16"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:09.764155326Z"
        },
        {
            "id": "IN-MAL-2026-016793",
            "sha256": "22aaf52ab9535a89eb5583fdf1bfc9c268a154cafb492bdc55748d8a9de01d2b",
            "modified_time": "2026-08-06T19:39:42Z",
            "versions": [
                "1.1.11"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:09.595018997Z"
        },
        {
            "id": "IN-MAL-2026-016800",
            "import_time": "2026-08-06T23:25:09.876466634Z",
            "modified_time": "2026-08-06T19:40:40Z",
            "versions": [
                "1.1.42"
            ],
            "sha256": "243dd613a40834cd7350b2e0f802caf63d34c9fad4da6b2ebfa1cf6de4b0644c",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-016799",
            "sha256": "828449ad93e560d440dfb9d9a289e301d06045fcc7bb4980bd2fcd1c50735186",
            "source": "amazon-inspector",
            "versions": [
                "1.1.8"
            ],
            "import_time": "2026-08-06T23:25:09.830304838Z",
            "modified_time": "2026-08-06T19:40:34Z"
        },
        {
            "id": "IN-MAL-2026-016794",
            "sha256": "908b8a1ed403041fcd66bafa93e579407525854d1dce499ea1f0713f8d5825c4",
            "modified_time": "2026-08-06T19:39:50Z",
            "versions": [
                "1.1.30"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:09.629866164Z"
        },
        {
            "id": "IN-MAL-2026-016775",
            "sha256": "abfb6c7b93314afe0789e78d3582f7c3c01ae79b0fdd2362a829207f5e815904",
            "modified_time": "2026-08-06T19:36:59Z",
            "versions": [
                "1.1.36"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-08-06T23:25:08.697481826Z"
        },
        {
            "id": "IN-MAL-2026-016779",
            "import_time": "2026-08-06T23:25:08.913937637Z",
            "modified_time": "2026-08-06T19:37:40Z",
            "versions": [
                "1.1.38"
            ],
            "sha256": "dfcfa4bb4d083d6d35cb5fdf48d64180a09ca498db68b8377b87a8895b62502c",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-016801",
            "import_time": "2026-08-06T23:25:09.929270822Z",
            "modified_time": "2026-08-06T19:40:51Z",
            "versions": [
                "1.1.17"
            ],
            "sha256": "e2cda4b5d0354c029ff614f71add6008a4e40930af9ffd15b7f15d21bd03adf9",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-016784",
            "import_time": "2026-08-06T23:25:09.175816406Z",
            "modified_time": "2026-08-06T19:38:28Z",
            "versions": [
                "1.1.25"
            ],
            "source": "amazon-inspector",
            "sha256": "5ba82f0017ec4469958a2b723435bba2f253b9bc9739f8964c2969766d4461b6"
        },
        {
            "id": "IN-MAL-2026-016776",
            "import_time": "2026-08-06T23:25:08.730929738Z",
            "source": "amazon-inspector",
            "versions": [
                "1.1.37"
            ],
            "modified_time": "2026-08-06T19:37:08Z",
            "sha256": "92fece4565079805df56618ee5e216e19725567425f482a37486de45a88601a1"
        },
        {
            "id": "IN-MAL-2026-016798",
            "import_time": "2026-08-06T23:25:09.795539095Z",
            "modified_time": "2026-08-06T19:40:22Z",
            "versions": [
                "1.1.48"
            ],
            "source": "amazon-inspector",
            "sha256": "978a1cc5794a243b6324bb49a324013976b894c0fadb62c3096e40013102e1c3"
        },
        {
            "id": "IN-MAL-2026-016783",
            "import_time": "2026-08-06T23:25:09.074080178Z",
            "source": "amazon-inspector",
            "versions": [
                "1.1.26"
            ],
            "modified_time": "2026-08-06T19:38:17Z",
            "sha256": "af22ed1a1f8197312e09a73220885549c8191ec3f6f21315a152acd114c5df64"
        },
        {
            "id": "IN-MAL-2026-016790",
            "import_time": "2026-08-06T23:25:09.453704265Z",
            "modified_time": "2026-08-06T19:39:15Z",
            "versions": [
                "1.1.15"
            ],
            "source": "amazon-inspector",
            "sha256": "fa330ab5efc3af644d3fc668b1c21aea1150854ec6b541208d79407a619e2bd3"
        },
        {
            "id": "IN-MAL-2026-016785",
            "import_time": "2026-08-06T23:25:09.212697776Z",
            "modified_time": "2026-08-06T19:38:36Z",
            "versions": [
                "1.1.24"
            ],
            "source": "amazon-inspector",
            "sha256": "ff016f4220e59d94def7b96a415cf184cb89a13a8414e3b14ff54a789c6b2121"
        }
    ]
}
References
Credits

Affected packages

npm / vanexa-agent

Package

Affected ranges

Affected versions

1.*
1.1.8
1.1.9
1.1.10
1.1.11
1.1.13
1.1.15
1.1.16
1.1.17
1.1.18
1.1.22
1.1.23
1.1.24
1.1.25
1.1.26
1.1.27
1.1.28
1.1.30
1.1.31
1.1.33
1.1.34
1.1.35
1.1.36
1.1.37
1.1.38
1.1.39
1.1.41
1.1.42
1.1.45
1.1.46
1.1.48

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "852e2760a6a0c40dd1a66e8ef46df48daf1ea5c3",
                "sha512_sri": "sha512-pETjG0NEMvZMihmDi59TW/8gihD2smQaUr+OQsBFVT/xHizd0szNX4T6ie7fVvJYQLiRT2s2LMBquKB9uHB6Pg=="
            },
            "filename": "vanexa-agent-1.1.10.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "src/daemon.js",
            "sha256": "ca7b68cf8ea60ec6b2085bf6ed0cbd970405bcb4a597d8e0a090030f96594364",
            "tlsh": "4202630a48f730a95073957dbb4b20153a349503230def85f94d23b69f84ba45de27ee"
        },
        {
            "path": "src/pairing.js",
            "sha256": "e4a1974816f948ffc5223bdcc1969896fb9921180dbfb01e381002b8360cdfca",
            "tlsh": "56416e5728f62978007360a24f9b803976349a032354fb59fe4da33a9fc5a65d7233ed"
        },
        {
            "path": "src/config.js",
            "sha256": "cd52177ac45b811c01c4ad17f7a7a39f00a1e403a85ea3933b70a53bbf663fb7",
            "tlsh": "5051635b3eda563142a1b29a872f650c7632e203b198fe90f19d27e63fde41c51236b4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vanexa-agent/MAL-2026-10751.json"