Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

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

Summary

[email protected] is a macOS-only MCP server that interfaces with the local Apple Notes database via osascript. The preinstall hook is a benign pnpm-enforcement check. The large bundled build/index.js contains URL percent-encoding normalization (false-positive obfuscation flag), process.env reading for configuration (false-positive credential_harvest), and gunzip decompression of hex-encoded note bodies (false-positive ransomware flag). The lab run spawned no network connections and read no canary credentials. Confidence is lowered because the offline lab could not exercise the AppleScript path or verify TLA behavior under real dependencies.

Intent

MCP server for Apple Notes on macOS — reads the local Notes database via AppleScript, decompresses note bodies, and exposes them via the Model Context Protocol. The preinstall hook enforces pnpm when a .git directory exists; nothing runs at require time in the lab (ESM TLA). No network egress observed.

Findings

Preinstall hook enforces pnpm info package.json:79
package.json:79 — node -e checks for .git and rejects npm/yarn with an exit code and a message suggesting corepack + pnpm. No network, no file writes.
AppleScript execution for Notes database access info build/index.js:39172
build/index.js:39172 — execFileSync('osascript', ['-'], { input: preparedScript }) queries the local Notes database. Expected for a macOS Notes client.
URL percent-encoding normalization flagged as obfuscation info build/index.js:3364
build/index.js:3364,3386,3513 — String.fromCharCode(parseInt(hex, 16)) is standard URL normalize code (from whatwg-url or similar), not malware obfuscation.
process.env read for configuration info build/index.js:39496
build/index.js:39496,39941,39989 — Functions accept env=process.env as a parameter for APPLE_NOTES_MCP_* config overrides. Not credential theft.
gunzip decompression of note bodies info build/index.js:43448
build/index.js:43448 — Buffer.from(row.data, 'hex') → gunzipSync → decodeNoteBody(). This decrypts local Apple Notes database entries, not user files.
Documentation references config file paths info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:76
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:76 — Mentions ~/Library/Application Support/Claude/claude_desktop_config.json as a user-editable path. The package does not write to it.

Lab evidence

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