Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 13:50 UTC by yolo in 10 tool calls, with lab detonation

Summary

Legitimate macOS-native MCP server. Reads the Apple Notes database via sqlite3 and controls Notes.app via osascript. The preinstall hook only errors when not using pnpm (developer-experience guard). Lab run: no network, no canary reads, no files outside the package.

Intent

MCP server for Apple Notes on macOS. Uses AppleScript (osascript) and sqlite3 to read/write the Notes.app database. Preinstall hook enforces pnpm for deterministic lockfiles. No network egress, no credential theft, no persistence.

Findings

Preinstall pnpm enforcement info package.json:79
Checks for .git directory and exits with an error if npm_config_user_agent does not start with 'pnpm'. Developer-experience guard, no abuse.
AppleScript execution for Notes.app control info build/index.js:39172
build/index.js uses execFileSync('osascript', ...) to drive the macOS Notes.app UI. Standard for this domain.
Direct Notes database read via sqlite3 info build/index.js:39352
build/index.js uses execFileSync('sqlite3', ['-readonly', NOTES_DB_PATH, ...]) to query group.com.apple.notes.NoteStore.sqlite. Necessary for the tool's purpose.
Prompt-injection false positives in README info README.md:724,1245,1491,1578
Regex found the word 'silently' in several places, but context shows these describe tool behavior limitations (e.g., 'silently skipping duplicate titles'), not instructions to an AI agent to hide actions from its user.

Lab evidence

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