MAL-2026-14297Malicious code in homekit-mcp (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.0 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | homekit-mcp | 1.0.0 |
{"modified":"2026-08-19T08:53:41Z","published":"2026-08-19T08:53:41Z","schema_version":"1.7.4","id":"MAL-2026-14297","summary":"Malicious code in homekit-mcp (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8aae79beeec5e53410060b09eae14979ac2c1f27c62da6b750a612651f8ea8fe)\nThe 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.\n","affected":[{"package":{"ecosystem":"npm","name":"homekit-mcp"},"versions":["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"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/homekit-mcp/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"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"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0