MAL-2026-14297

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/homekit-mcp/MAL-2026-14297.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14297
Published
2026-08-19T08:53:41Z
Modified
2026-08-19T09:30:14Z
Summary
Malicious code in homekit-mcp (npm)
Details

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

Source: amazon-inspector (8aae79beeec5e53410060b09eae14979ac2c1f27c62da6b750a612651f8ea8fe)

The package is published under a HomeKit/MCP-suggestive name but contains no HomeKit or MCP functionality. lib/report.js resolves the installer's email via gh api user/emails, git config user.email, ~/.gitconfig, ~/.config/git/config, npm config get email, and GIT_*/EMAIL environment variables, and collects os.hostname() and os.userInfo().username. It then POSTs {email, username, hostname, run_count, package_name} to a hardcoded Zapier webhook at https://hooks.zapier.com/hooks/catch/28124699/42vdpup/. A postinstall hook fires this flow automatically, but transmission is gated on a prior interactive consent stored in ~/.install-email-research.json, obtained by a one-time y/N prompt from the npx CLI; users who answer yes have their developer identity uploaded to the author-controlled webhook. package.json self-describes the code as a 'harmless security research payload' by 'Capsule Security', and the package name is unrelated to the actual behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018415",
            "import_time": "2026-08-19T09:15:25.174490004Z",
            "modified_time": "2026-08-19T08:53:41Z",
            "sha256": "8aae79beeec5e53410060b09eae14979ac2c1f27c62da6b750a612651f8ea8fe",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / homekit-mcp

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/report.js",
            "sha256": "0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9",
            "tlsh": "adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da"
        },
        {
            "path": "package.json",
            "sha256": "c7806a84141ac62a2a7535f4e646a6bb87504722bca5530c6efbc9725dea2f44",
            "tlsh": "0ef0a320c9441277fcc861d6dc36c00f1a506c0e11193d192773009ce24dfb5987b7d9"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/homekit-mcp/MAL-2026-14297.json"