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 18:00 UTC by yolo in 20 tool calls, with lab detonation

Summary

The package installs a preinstall hook that only checks for pnpm usage and exits with a hint if npm/yarn are used (benign DX guard). The main binary build/index.js is an MCP server that spawns osascript and sqlite3 to interact with Apple Notes on macOS; no network egress was observed in the lab. Static-pre-screen hits are false positives: URL percent-encoding normalization code was flagged as obfuscation, environment-variable helpers as credential_harvest, and documentation references to config-file paths as agent_config_tamper — none of these are executable abuse.

Intent

MCP server that uses AppleScript (osascript) and sqlite3 to read, create, search, and manage Apple Notes on macOS — behavior matches the stated purpose.

Findings

preinstall hook checks for pnpm (benign) info package.json:77
package.json:77 — exits with a human-readable hint if npm/yarn are used inside a git repo; no network, no file writes.
AppleScript execution for Apple Notes (stated purpose) info build/index.js:38835
build/index.js:38835 — execFileSync('osascript', ...) drives Notes.app; build/index.js:39010, 39029, 41600, 41680 — sqlite3 queries the Notes local database. Legitimate for the package's function.
URL percent-encoding normalization misidentified as obfuscation info build/index.js:3322
build/index.js:3322-3393 — normalizePercentEncoding / normalizePathEncoding are standard WHATWG URL library functions, not code obfuscation.
Environment-variable helpers misidentified as credential_harvest info build/index.js:38668
build/index.js:38668-38674, 39182-39188, 41780-41786, 41929-41944 — read only APPLE_NOTES_MCP_* config variables; no exfiltration.
Documentation references config-file paths (no writes) info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:76
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:76-88 — instructs the user to manually edit claude_desktop_config.json; the package does not write it.

Lab evidence

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