# MAL-2026-14297: Malicious code in homekit-mcp (npm)


- **Type:** Malicious package
- **Package:** `homekit-mcp` (npm)
- **Published:** 19 Aug 2026

## What is MAL-2026-14297?

MAL-2026-14297 is a malicious package in homekit-mcp, published on 19 Aug 2026. 

### Official description

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.

## What should I do about MAL-2026-14297?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-14297 is a malicious package: homekit-mcp (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-14297/ (Markdown: https://insights.sbomify.com/MAL-2026-14297/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-14297

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-14297/
Summaries are generated and may contain mistakes; the official description above is the record.
