MAL-2026-12312

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@agenthub-ai/agent/MAL-2026-12312.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12312
Aliases
  • GHSA-p2hv-cfx8-pv93
Published
2026-08-05T12:49:52Z
Modified
2026-08-06T13:34:51.176726099Z
Summary
Malicious code in @agenthub-ai/agent (npm)
Details

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

Source: amazon-inspector (759e28e403a082017b33bb95bcc8c1d7abd229a59375b8a4a3de9841c89d3379)

Package installs a long-running daemon that opens a persistent WebSocket to wss://agenthub-agent.fyenet.com and dispatches command envelopes from the paired remote peer directly onto the installer host. MessageSend envelopes are fed as prompts into a Claude Code SDK session started with permissionMode 'bypassPermissions' (via a detected local claude executable), enabling the remote peer to drive Claude's autonomous Bash/Edit/Write tool loop on the local machine without confirmation. FileRead, FileWrite, FileTree, and FileSearch envelopes are executed directly against the local filesystem with peer-supplied paths, providing an independent remote read/write channel. AgentUpdate envelopes spawn a detached child process (node <argv1> update) that stops the daemon, runs npm install, and restarts, letting the remote peer trigger package-manager operations and process restarts. The install subcommand registers OS-level auto-start entries (HKCU Run key on Windows, a systemd user unit on Linux, a launchd plist on macOS) so the daemon re-launches at every login, providing persistent reachability for the remote-control channel. The WebSocket endpoint is a first-party server matching the package's advertised purpose (a remote agent bridge to a paired mobile app), and the daemon runs only when the operator explicitly starts it, but any party who controls or compromises that server, or MITMs the connection, obtains full-host RCE and arbitrary filesystem read/write on every installer running the daemon.

Source: ghsa-malware (ebc37975a427916a53e540e0d1bdcf6af66c169f6d4d6b008d186a2e64912ac8)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "0.5.1"
            ],
            "id": "IN-MAL-2026-014816",
            "import_time": "2026-08-05T13:08:48.673396723Z",
            "modified_time": "2026-08-05T12:56:24Z",
            "source": "amazon-inspector",
            "sha256": "28e08267a2537aca30ae3d57d2a8a6dc21563d5d4925eda3f5464109676d052e"
        },
        {
            "versions": [
                "0.9.2"
            ],
            "id": "IN-MAL-2026-014778",
            "import_time": "2026-08-05T13:08:45.72041994Z",
            "modified_time": "2026-08-05T12:49:52Z",
            "source": "amazon-inspector",
            "sha256": "e289f586c3c926cc0b51bec7989d3a94598d26da289aaef9d89c3de598ecdca3"
        },
        {
            "modified_time": "2026-08-06T01:36:58Z",
            "id": "GHSA-p2hv-cfx8-pv93",
            "import_time": "2026-08-06T09:23:23.001303583Z",
            "versions": [
                "0.14.2",
                "0.14.1",
                "0.12.2",
                "0.10.1",
                "0.9.5",
                "0.9.4",
                "0.9.3",
                "0.9.2",
                "0.9.1",
                "0.9.0",
                "0.8.7",
                "0.8.6",
                "0.8.5",
                "0.8.4",
                "0.8.3",
                "0.8.2",
                "0.8.1",
                "0.8.0",
                "0.6.2",
                "0.6.1",
                "0.6.0",
                "0.5.1",
                "0.5.0",
                "0.4.0",
                "0.3.0",
                "0.2.1",
                "0.2.0",
                "0.1.3",
                "0.1.2",
                "0.1.1",
                "0.1.0"
            ],
            "source": "ghsa-malware",
            "sha256": "ebc37975a427916a53e540e0d1bdcf6af66c169f6d4d6b008d186a2e64912ac8"
        },
        {
            "modified_time": "2026-08-06T12:22:12Z",
            "id": "IN-MAL-2026-016036",
            "import_time": "2026-08-06T13:08:40.788015843Z",
            "versions": [
                "0.1.3"
            ],
            "source": "amazon-inspector",
            "sha256": "296fea3dfb581df0d194e896a1ccbc68003fae7963f35d864b54b11a2333fb64"
        },
        {
            "versions": [
                "0.8.0"
            ],
            "id": "IN-MAL-2026-016025",
            "import_time": "2026-08-06T13:08:39.451196182Z",
            "modified_time": "2026-08-06T12:20:30Z",
            "source": "amazon-inspector",
            "sha256": "414b4ce8b8265c82368cdcd0882bda7e196185b3203bdc13c5897eef3be7aeca"
        },
        {
            "modified_time": "2026-08-06T12:20:04Z",
            "id": "IN-MAL-2026-016022",
            "import_time": "2026-08-06T13:08:39.094405807Z",
            "versions": [
                "0.8.5"
            ],
            "source": "amazon-inspector",
            "sha256": "536ee7155c4b7e2d1291f64baae4c626443b1c17c00a2b94da9abacfa80745fb"
        },
        {
            "modified_time": "2026-08-06T12:20:57Z",
            "id": "IN-MAL-2026-016028",
            "import_time": "2026-08-06T13:08:39.788362106Z",
            "versions": [
                "0.6.0"
            ],
            "source": "amazon-inspector",
            "sha256": "759e28e403a082017b33bb95bcc8c1d7abd229a59375b8a4a3de9841c89d3379"
        },
        {
            "modified_time": "2026-08-06T12:18:41Z",
            "id": "IN-MAL-2026-016012",
            "import_time": "2026-08-06T13:08:37.895522233Z",
            "versions": [
                "0.9.5"
            ],
            "source": "amazon-inspector",
            "sha256": "b3e74c02b4e22fe03b6ce643ca6a10a8c9d128f3bbb9f63df338f51fd2879d17"
        },
        {
            "modified_time": "2026-08-06T12:20:12Z",
            "id": "IN-MAL-2026-016023",
            "import_time": "2026-08-06T13:08:39.187383922Z",
            "versions": [
                "0.8.3"
            ],
            "source": "amazon-inspector",
            "sha256": "ba3a3ed488cbb4b0324011ef0aef95c0e920da429dae727e43d3685e7557975d"
        },
        {
            "modified_time": "2026-08-06T12:19:00Z",
            "id": "IN-MAL-2026-016014",
            "import_time": "2026-08-06T13:08:38.103807954Z",
            "versions": [
                "0.9.4"
            ],
            "source": "amazon-inspector",
            "sha256": "f296859b0f94acd584022bf709141df4ff5aad7088308c31d2bff873ef1df660"
        },
        {
            "modified_time": "2026-08-06T12:22:41Z",
            "id": "IN-MAL-2026-016039",
            "import_time": "2026-08-06T13:08:41.141581583Z",
            "versions": [
                "0.1.1"
            ],
            "source": "amazon-inspector",
            "sha256": "0a0697492d73fc4c593affbb5181b22213ade4ab2e705f12b299bdc0c0c89cbc"
        },
        {
            "modified_time": "2026-08-06T12:20:22Z",
            "id": "IN-MAL-2026-016024",
            "import_time": "2026-08-06T13:08:39.281989002Z",
            "versions": [
                "0.8.2"
            ],
            "source": "amazon-inspector",
            "sha256": "776f6f6cc28aaaee9fd00df6fa4f0c3b6a2ba91f448a162100226020fa802370"
        },
        {
            "modified_time": "2026-08-06T12:20:39Z",
            "id": "IN-MAL-2026-016026",
            "import_time": "2026-08-06T13:08:39.573593597Z",
            "versions": [
                "0.6.2"
            ],
            "source": "amazon-inspector",
            "sha256": "d0809b1ddd46810f1669167744d4e549f566d4a4ecadeca325e33ebdbeb05bf0"
        },
        {
            "versions": [
                "0.8.4"
            ],
            "id": "IN-MAL-2026-016021",
            "import_time": "2026-08-06T13:08:38.918073485Z",
            "modified_time": "2026-08-06T12:19:56Z",
            "source": "amazon-inspector",
            "sha256": "ee15d496b57e860d21f41e73bddb3ae6a6f1a9e02e4c41b25486d53dd447d88a"
        },
        {
            "versions": [
                "0.14.2"
            ],
            "id": "IN-MAL-2026-015995",
            "import_time": "2026-08-06T13:08:35.916896534Z",
            "modified_time": "2026-08-06T12:16:11Z",
            "source": "amazon-inspector",
            "sha256": "7fed5bca91340086e68577d087cfc0180ebf2dbdbabf9dfa0b2c7dad9ffb7409"
        },
        {
            "modified_time": "2026-08-06T12:22:34Z",
            "id": "IN-MAL-2026-016038",
            "import_time": "2026-08-06T13:08:41.042564934Z",
            "versions": [
                "0.1.0"
            ],
            "source": "amazon-inspector",
            "sha256": "3b30017d9f19103200e49919834c1c10baf24317b0a264310c98c36131d99730"
        },
        {
            "modified_time": "2026-08-06T12:19:49Z",
            "id": "IN-MAL-2026-016020",
            "import_time": "2026-08-06T13:08:38.789725524Z",
            "versions": [
                "0.8.6"
            ],
            "source": "amazon-inspector",
            "sha256": "abb3628d835399da20e24fcea2359059c176056b97491fa3f66712260071fa57"
        },
        {
            "versions": [
                "0.2.1"
            ],
            "id": "IN-MAL-2026-016035",
            "import_time": "2026-08-06T13:08:40.658550566Z",
            "modified_time": "2026-08-06T12:22:00Z",
            "source": "amazon-inspector",
            "sha256": "be0ad3cc1d9d15829648fc71b7d5d01e1ff173dab0ed4fc08e171e9676d0a43c"
        },
        {
            "versions": [
                "0.6.1"
            ],
            "id": "IN-MAL-2026-016027",
            "import_time": "2026-08-06T13:08:39.685459982Z",
            "modified_time": "2026-08-06T12:20:46Z",
            "source": "amazon-inspector",
            "sha256": "d786f5f3ddf82a15336bcc4cd02b7a1078662c5f7ca29d901ff6c4465359bd69"
        },
        {
            "versions": [
                "0.8.1"
            ],
            "id": "IN-MAL-2026-016029",
            "import_time": "2026-08-06T13:08:39.901032352Z",
            "modified_time": "2026-08-06T12:21:04Z",
            "source": "amazon-inspector",
            "sha256": "0271733d23be88c5e73ab671c2fa559a56dceace28501b91740a8cd4b4d679a9"
        },
        {
            "modified_time": "2026-08-06T12:17:56Z",
            "id": "IN-MAL-2026-016007",
            "import_time": "2026-08-06T13:08:37.310691603Z",
            "versions": [
                "0.12.2"
            ],
            "source": "amazon-inspector",
            "sha256": "a75a544a92ec4bbe18c936dc8b0ffadf88c50d505cd24bf558cbfb24c6dca68d"
        },
        {
            "modified_time": "2026-08-06T12:21:29Z",
            "id": "IN-MAL-2026-016032",
            "import_time": "2026-08-06T13:08:40.248659062Z",
            "versions": [
                "0.3.0"
            ],
            "source": "amazon-inspector",
            "sha256": "df82e9741191e7fe6ddd8e47d9ef842367a001b8a1189aee63a612ce1b19b535"
        },
        {
            "modified_time": "2026-08-06T12:19:16Z",
            "id": "IN-MAL-2026-016016",
            "import_time": "2026-08-06T13:08:38.312618013Z",
            "versions": [
                "0.9.1"
            ],
            "source": "amazon-inspector",
            "sha256": "50b11eac754fff1ea0a7007b91a28745a6deb4e1dd9e169bf259d202dc354fa8"
        },
        {
            "versions": [
                "0.1.2"
            ],
            "id": "IN-MAL-2026-016037",
            "import_time": "2026-08-06T13:08:40.940326348Z",
            "modified_time": "2026-08-06T12:22:20Z",
            "source": "amazon-inspector",
            "sha256": "bb578426065278e589de0c469c8a6c2b47ddeda1e9eb81eee8bd994defbc87cb"
        },
        {
            "versions": [
                "0.8.7"
            ],
            "id": "IN-MAL-2026-016019",
            "import_time": "2026-08-06T13:08:38.667403921Z",
            "modified_time": "2026-08-06T12:19:42Z",
            "source": "amazon-inspector",
            "sha256": "e7bc7d00f2fd4b128697d3f24abbac15a4fb9609122c935e37535a7cff4e75c4"
        },
        {
            "modified_time": "2026-08-06T12:16:35Z",
            "id": "IN-MAL-2026-015998",
            "import_time": "2026-08-06T13:08:36.253285397Z",
            "versions": [
                "0.14.1"
            ],
            "source": "amazon-inspector",
            "sha256": "c2a59ef4bf28d08ae50d46e5e04a5975c68c105df892dbb795b5184e8454ae3e"
        },
        {
            "versions": [
                "0.5.0"
            ],
            "id": "IN-MAL-2026-016030",
            "import_time": "2026-08-06T13:08:40.044248746Z",
            "modified_time": "2026-08-06T12:21:13Z",
            "source": "amazon-inspector",
            "sha256": "0dd927fa5109c80454528f097ad73fb7a9496376b13511992a37a98265a3f9cd"
        },
        {
            "modified_time": "2026-08-06T12:18:49Z",
            "id": "IN-MAL-2026-016013",
            "import_time": "2026-08-06T13:08:37.987587686Z",
            "versions": [
                "0.10.1"
            ],
            "source": "amazon-inspector",
            "sha256": "45d5d7b77583357757ed941b63851a7de027493a2babc182f8de44a7511d6c86"
        },
        {
            "versions": [
                "0.9.3"
            ],
            "id": "IN-MAL-2026-016015",
            "import_time": "2026-08-06T13:08:38.189031865Z",
            "modified_time": "2026-08-06T12:19:08Z",
            "source": "amazon-inspector",
            "sha256": "d9ac9377c0caa13fe4a16ffd550a60142afbd3e6237c18e674fc2ff853c13ef5"
        },
        {
            "modified_time": "2026-08-06T12:21:21Z",
            "id": "IN-MAL-2026-016031",
            "import_time": "2026-08-06T13:08:40.154679933Z",
            "versions": [
                "0.4.0"
            ],
            "source": "amazon-inspector",
            "sha256": "420b95e791dccccea36e871dcabf35daeec06c0e67bfde3c9a72424b288d2a49"
        },
        {
            "modified_time": "2026-08-06T12:19:25Z",
            "id": "IN-MAL-2026-016017",
            "import_time": "2026-08-06T13:08:38.430112047Z",
            "versions": [
                "0.9.0"
            ],
            "source": "amazon-inspector",
            "sha256": "ee64ffa7cbfc1771fde2a187508155d904fa20beb7154fd3a0bf2bdfd348354c"
        },
        {
            "versions": [
                "0.2.0"
            ],
            "id": "IN-MAL-2026-016034",
            "import_time": "2026-08-06T13:08:40.528477392Z",
            "modified_time": "2026-08-06T12:21:49Z",
            "source": "amazon-inspector",
            "sha256": "a18947222cef80ae58dcc186eb57858f1b695d0f32d10b0028903a488fcc2a9e"
        }
    ]
}
References
Credits

Affected packages

npm / @agenthub-ai/agent

Package

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

Affected ranges

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.2.0
0.2.1
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.8.7
0.9.0
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.10.1
0.12.2
0.14.1
0.14.2

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@agenthub-ai/agent/MAL-2026-12312.json"
indicators
{
    "package_integrity": [
        {
            "filename": "agent-0.5.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-KSYlcLeX3nWiX25UnItLTOYREaOmXg+7F3mh2jTqXsu243dMmWbuKUI6I9YQUM/oZ9D9XQANcrQ1p4zgtTQd9Q==",
                "sha1": "029cc63d6d56f0ef79416c3d2a425df50fc95000"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "dist/backends/claude/session.js",
            "tlsh": "193210481af7046a5197b1757f2b300262309017694ced5afeec9b808f9c97c9af1fb4",
            "sha256": "5ca0e85cfacb8fa9c209797f87f72e8f57a79610f8d9a845cd365431664f7f94"
        },
        {
            "path": "dist/agent/control.js",
            "tlsh": "22922f087afb107545d7f562af375051a339b0073468dc2cbeac8a645f29e28c696ff8",
            "sha256": "6b6c4c5853522a1c64c91ae575929fa2e4b99fc56eae9aa9c9445023da10d7ae"
        }
    ]
}