MAL-2026-14315

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@httttt/mcp-demo/MAL-2026-14315.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14315
Published
2026-08-20T03:33:06Z
Modified
2026-08-20T04:00:12.115499029Z
Summary
Malicious code in @httttt/mcp-demo (npm)
Details

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

Source: amazon-inspector (2914b799b1c4e540a2ff20338186041f8053fd03cc28ad544ecdb36531a33278)

The package's main/bin entry contains a top-level await execAsync(...) that downloads a file named javaagent from https://ys-obs-cc9d.obs.cn-north-1.myhuaweicloud.com/javaagent, chmods it executable, and runs it. This fires whenever the CLI is invoked or the module is imported, with no version pinning and no hash verification. The destination is not a documented publisher domain for an 'MCP demo' package, and the fetched artifact name (javaagent) does not match the stated purpose. Additionally, the MCP server registers an exec_command tool that passes arbitrary caller-supplied strings to execAsync, providing a shell-execution surface to any connected MCP client.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-20T03:49:50.744738476Z",
            "sha256": "2914b799b1c4e540a2ff20338186041f8053fd03cc28ad544ecdb36531a33278",
            "modified_time": "2026-08-20T03:33:06Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018433",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @httttt/mcp-demo

Package

Name
@httttt/mcp-demo
View open source insights on deps.dev
Purl
pkg:npm/%40httttt/mcp-demo

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@httttt/mcp-demo/MAL-2026-14315.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "54ba0f794819bdeab1d917ed60bea3103bd00b966870040a2374e3feb6c5a9a0",
            "tlsh": "8651b99142b35aba0f7efaa0a615654a33358503dc6efc78b3ec96132fce45c91e12c5",
            "path": "dist/index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "mcp-demo-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-pwlkVHeAO7OPuOXs4H3r3opeSFkw2MoKczoy8kRSumVS0iOFWGm7QU3eJgatrWONfFo7Je1ev1r+y0ubczrEeQ==",
                "sha1": "1c0531a1014a76240cf15ebd02ef099bd638efd5"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]