Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

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

Summary

The package is an MCP server for Apple Notes. It installs with a harmless preinstall guard (exits with a pnpm reminder if run via npm/yarn inside a git repo). The entry file (build/index.js) is a 1.8 MB bundled ESM app that executes osascript/sqlite3 to read/write Notes.app data. No network egress, no credential theft, no persistence. Several static-hint false positives were ruled out on inspection (URL-decoding ≠ obfuscation; encrypted note rows ≠ ransomware; process.env reads are for config, not exfiltration).

Intent

MCP server that reads/writes Apple Notes via AppleScript and SQLite — does what it claims.

Findings

Preinstall guard — harmless dev hint info package.json:79
preinstall checks for .git and npm/yarn user-agent; prints a message and exits 1. Does not download, execute, or exfiltrate anything.
Large bundled ESM — many false-positive regex hits info build/index.js:1
build/index.js is 1.8 MB of bundled dependencies (ajv, domino, turndown, zod) plus the app code. URL-decoding and isUnreserved() triggered obfuscation flags; encrypted SQLite note rows triggered ransomware flags. Neither applies.
osascript/sqlite3 execution — expected for Apple Notes access info build/index.js:39188
execFileSync('osascript') and execFileSync('sqlite3') are the mechanism for reading/writing Notes.app — matches the stated purpose.
process.env reads — configuration, not exfiltration info build/index.js:39582,40960,41978,47055
Only reads APPLE_NOTES_MCP_* env vars for local config overrides. No network send observed.

Lab evidence

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