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 15:31 UTC by yolo in 22 tool calls, with lab detonation

Summary

[email protected] is a legitimate macOS MCP server for Apple Notes. It uses osascript (AppleScript) and optionally sqlite3 to interact with the Notes app. The preinstall hook exits with code 1 if a .git directory exists and the user agent is not pnpm — unusual but benign. No network egress, no credential access, no persistence. Low confidence due to offline lab (no macOS runtime to exercise AppleScript/sqlite3 paths).

Intent

A macOS MCP server that lets AI assistants read, create, search, and manage Apple Notes via AppleScript. The preinstall hook blocks npm/yarn installs in git-checked-out directories unless pnpm is used — a developer-enforcement measure, not abuse.

Findings

preinstall hook blocks npm/yarn in git repos info package.json:77
preinstall checks for .git and npm_config_user_agent; exits 1 with a pnpm recommendation if both conditions hold. Does not download, decode, or execute arbitrary code.
AppleScript execution via osascript info build/index.js:38891
build/index.js calls execFileSync('osascript', ['-'], ...) to drive Apple Notes — this is the package's core functionality, not a reverse shell.
sqlite3 database access (Full Disk Access required) info build/index.js:39081
build/index.js calls execFileSync('sqlite3', ['-readonly', NOTES_DB_PATH, query]) to read Apple Notes' CoreData database directly. Requires macOS Full Disk Access TCC grant.
codesign identity check info build/index.js:42075
build/index.js calls spawnSync('codesign', ['-dvvv', process.execPath]) to detect ad-hoc-signed Node binaries for TCC permission stability diagnostics.
AJV new Function() — schema compilation info build/index.js:2953
build/index.js:2953 uses new Function() to compile JSON-schema validators from the ajv library. Standard behavior, not dynamic code injection.

Lab evidence

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