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

Summary

Package installs a benign pnpm-enforcement preinstall hook and an ESM entry (build/index.js) that on macOS queries the Apple Notes SQLite database (NoteStore.sqlite) via the sqlite3 CLI, runs AppleScript via osascript, and invokes /usr/bin/shortcuts for automation. No network egress, no credential reads, no obfuscated payloads. Static pre-screen "encryption" hits are false positives: `locked` is a database boolean for user-locked notes; "download-and-execute" references are curl commands in documentation only.

Intent

MCP server for Apple Notes that reads macOS NoteStore.sqlite directly via sqlite3 and controls Shortcuts via osascript — behaves as documented, nothing stealthy at install or require time.

Findings

Benign preinstall pnpm enforcement info package.json:79
preinstall checks for .git and rejects npm/yarn with a helpful error suggesting pnpm. Does not download, execute, or write anything.
Apple Notes database access via sqlite3 info build/index.js:39352
build/index.js runs `sqlite3 -readonly NoteStore.sqlite` to read Apple Notes data. Requires Full Disk Access on macOS. This is the package's stated purpose.
Shortcuts automation via /usr/bin/shortcuts info build/index.js:44305
build/index.js invokes `/usr/bin/shortcuts run ...` to execute macOS Shortcuts workflows. Legitimate automation, not a reverse shell.
Local config file (not credential store) info build/index.js:45196
build/index.js reads/writes `~/Library/Application Support/apple-notes-mcp/config.json` for its own configuration. Does not touch ~/.npmrc, ~/.ssh, or agent config files.
False positive: 'file encryption' — locked is DB boolean info build/index.js:44107
Static pre-screen flagged `row.locked` as file encryption. It is a boolean flag from the Apple Notes database marking user-locked notes, which the package skips when reading body content.
False positive: 'download-and-execute' — docs only info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
curl commands to nodejs.org appear in docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md as setup instructions. Not executed at install time.

Lab evidence

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