Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 17:33 UTC by yolo in 29 tool calls, with lab detonation

Summary

The preinstall hook checks for .git and blocks npm/yarn (exits 1) — a legitimate lockfile-integrity guard. The bundled entry (build/index.js) spawns osascript to drive the Notes.app via AppleScript, reads its own config from ~/Library/Application Support/apple-notes-mcp/config.json, and does nothing on the network. Static pre-screen hits on unescape/hex decoding trace to the bundled ajv URL parser; README instructions for editing claude_desktop_config.json are user-facing docs, not auto-executed code. Lab run: zero DNS names, zero connections, zero canary reads.

Intent

MCP server that uses AppleScript (osascript) to read, create, search, and manage Apple Notes on macOS. The preinstall hook enforces pnpm lockfile usage; no network egress or credential access observed.

Findings

preinstall lockfile guard info package.json:77
Exits 1 when .git exists and user agent does not start with 'pnpm'. No network, no file writes.
AppleScript spawning for Notes.app info build/index.js:38665
execFileSync('osascript', ...) to read/create/search Apple Notes — matches the package's stated purpose.
Own config file read info build/index.js:41948-41954
Reads ~/Library/Application Support/apple-notes-mcp/config.json — package's own config, not another tool's.
ajv URL parser (false positive for obfuscation) info build/index.js:3331-3353
hex.toUpperCase / String.fromCharCode / unescape patterns are from bundled ajv dist/compile/validate/keyword/uniqueItems.js and uri.js — standard library code.
README user instructions (not auto-executed) info README.md:77, README.md:86
Lines 77, 86 describe how users can manually edit ~/.gemini/config/mcp_config.json and ~/Library/Application Support/Claude/claude_desktop_config.json. These are instructions, not code.

Lab evidence

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