Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 14:12 UTC by yolo in 17 tool calls, with lab detonation

Summary

The package is a legitimate macOS Apple Notes MCP server. The preinstall hook only enforces pnpm (exits with a human-readable message when npm/yarn is used in a git repo). The bundled entry file uses execFileSync("osascript") to drive Apple Notes locally; it reads env vars for its own configuration caps (not secrets). The lab recorded zero network connections, zero file writes outside the package, zero canary reads. Static hints flagged documentation URLs and normal env-var reads as "credential_harvest" / "download_execute" — all false positives.

Intent

A macOS-only MCP server that lets AI assistants create, search, update, and manage Apple Notes via AppleScript. The preinstall hook enforces pnpm when a .git directory is present. No network egress or credential access at install or require time.

Findings

Preinstall pnpm enforcement info package.json:79
package.json preinstall runs a node -e that checks fs.existsSync('.git') and npm_config_user_agent; exits 1 with a message telling the user to use pnpm. Harmless developer-tooling guard.
AppleScript-driven local Notes access info build/index.js:39172
build/index.js imports execFileSync from child_process and calls osascript to read/write Apple Notes data locally. No network, no remote exfiltration.
Env-var config reads (not credentials) info build/index.js:39496,39941,39989
build/index.js reads process.env.APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES, APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTES, etc. for operational limits — not API keys or tokens.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: preinstall (exit 0), require (exit 0).