Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 82%   action allow   analyzed 2026-09-24 13:44 UTC by yolo in 20 tool calls, with lab detonation

Summary

Clean. The preinstall hook checks for .git and rejects npm/yarn on this pnpm-only repo (exit 1) — standard dev-tooling guard. The bundled entry (build/index.js) calls osascript, sqlite3, and /usr/bin/shortcuts to interact with Notes.app; it reads process.env for its own config variables (APPLE_NOTES_MCP_*) but does not reach into credential stores. Lab run: no network egress, no canary reads, no files written outside the package.

Intent

MCP server for Apple Notes that uses osascript, sqlite3, and macOS Shortcuts to create, search, update, and manage notes. The preinstall hook enforces pnpm usage on this repo; the entry file reads local macOS resources and does not exfiltrate data or make unexpected network calls.

Findings

Preinstall pnpm enforcement info package.json:79
Checks fs.existsSync('.git') and npm_config_user_agent; exits 1 with a helpful message if run under npm/yarn on a git repo. Does not read/write credentials or make network calls.
macOS automation via osascript/sqlite3/shortcuts info build/index.js:39172,39343,42814
execFileSync calls to osascript, sqlite3, and /usr/bin/shortcuts to read/write Apple Notes data. Legitimate for the stated purpose.
Config from environment variables info build/index.js:39018,42813,42924,42927,44053
Reads process.env.APPLE_NOTES_MCP_* variables for server configuration. No credential paths accessed.
URL-encoding hex unescaping (not obfuscation) info build/index.js:3364,3386,3513
String.fromCharCode(parseInt(hex, 16)) loops unescape %-encoded URL fragments — standard URI decoding, not code obfuscation.

Lab evidence

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