homekit-mcp (npm) · Malicious Code
Affects homekit-mcpSource GCVE Database
Malicious package : remove homekit-mcp and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:13 UTC
Malicious package
Published to npm · OSV MAL-2026-14297
What to do
Remove homekit-mcp from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhomekit-mcp | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'homekit-mcp' version 1.0.0 is a malicious package masquerading under a HomeKit/MCP-related name but contains no legitimate functionality. It collects user identity information such as email, username, and hostname by querying git and npm configurations and environment variables. Upon user consent obtained via an interactive prompt during installation, it sends this data to a hardcoded external Zapier webhook. The package self-describes as a 'harmless security research payload' by 'Capsule Security', but its behavior involves unauthorized data collection and transmission.