Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 18:49 UTC by yolo in 19 tool calls, with lab detonation

Summary

The preinstall hook checks for a .git directory and aborts with a pnpm recommendation if the npm/yarn user-agent is seen — a benign developer-experience check. The entry file (build/index.js, ~2MB) is an unbundled TypeScript app that talks to Apple Notes via osascript and the Notes.app SQLite database; it reads config from environment variables (APPLE_NOTES_MCP_*) but does not exfiltrate them. No network connections were observed in the lab. Several static-pre-screen hits are false positives: hex-decoding at lines 3360+ is URL percent-decoding, "locked" references are password-protected Apple Notes (not user-file encryption), and download URLs in docs/ are Node.js distribution links in documentation examples.

Intent

MCP server for Apple Notes that uses AppleScript and the Notes.app SQLite database to list, create, update, and delete notes. The install hook enforces pnpm lockfiles. No network egress, no credential access, no persistence.

Findings

Preinstall hook enforces pnpm lockfiles 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 if .git exists and UA doesn't start with 'pnpm'. Benign dev-experience check.
URL percent-decoding mis-flagged as obfuscation info build/index.js:3360
Lines 3360-3389 implement decodeURIComponent-style %XX decoding for URI components — standard URL handling, not code obfuscation.
Password-protected notes, not file encryption info build/index.js:40177
Lines 40177, 45063, 45147, 46204 check note.locked to skip encrypted audio transcripts of Apple Notes passwords — this is the Notes.app data format, not user-file encryption.
Config env vars, not credentials info build/index.js:39582
process.env accesses (lines 39582, 40960, 41978, 47459) read APPLE_NOTES_MCP_* config variables (max inline image bytes, attachment bytes, config file path). No API keys or secrets are read or sent.
Documentation examples contain curl to nodejs.org info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md includes example commands downloading Node.js from nodejs.org/dist — documentation content, not package code.
No network egress observed info lab report
Lab run: 0 connect() calls, 0 DNS names, 0 HTTP requests.

Lab evidence

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