MAL-2026-10708

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@aicommander/agent/MAL-2026-10708.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10708
Published
2026-07-16T18:48:49Z
Modified
2026-07-16T19:19:54.590007302Z
Summary
Malicious code in @aicommander/agent (npm)
Details

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

Source: amazon-inspector (9a0d4917f10db91a59e47821bfa2399801219a85da0a59b8596d85fd3931fc93)

@aicommander/agent installs a remote-machine agent that opens an outbound WebSocket to the hardcoded relay https://aicommander.dev and executes shell commands received over that channel on the installer's host. The message handler dispatches received commands to child_process.spawn with shell:true, streaming stdout/stderr back to the relay. A session code shared with the remote operator authorizes arbitrary command execution as the agent's uid — root when installed as the documented systemd service. This is full-host remote code execution driven by a network-sourced party, regardless of the relay being a first-party vendor server; possession of the session code by any remote party equates to full control of the installer's machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "1.0.34"
            ],
            "sha256": "9a0d4917f10db91a59e47821bfa2399801219a85da0a59b8596d85fd3931fc93",
            "import_time": "2026-07-16T18:54:05.219419639Z",
            "modified_time": "2026-07-16T18:48:49Z",
            "id": "IN-MAL-2026-010794",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @aicommander/agent

Package

Name
@aicommander/agent
View open source insights on deps.dev
Purl
pkg:npm/%40aicommander/agent

Affected ranges

Affected versions

1.*
1.0.34

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "agent-1.0.34.tgz",
            "hashes": {
                "sha1": "23870acf79412bebc5b5bb778a44dd53870ea280",
                "sha512_sri": "sha512-C3KiJI38tV5WLbIoWHp1K5RIgwtm33tup78sAb3qbmk7Gs2Rdj1vd9zzgR5wekCLF3Wv0T9sRs/pnzq8kENvew=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "38e23cf5b3b57177c3dd61a2e4664002d3ba06b0654a0028f2bced4bbb6464497bbf78",
            "sha256": "a7a2ca5e293ce02362e09e4f31cecac3562dc1e02e6301ad1163b757c91a24df",
            "path": "dist/index.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@aicommander/agent/MAL-2026-10708.json"