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 14:37 UTC by yolo in 19 tool calls, with lab detonation

Summary

The package installs a preinstall guard that enforces pnpm (harmless). The entry point build/index.js is a stdio-based MCP server that uses execFileSync to call osascript and sqlite3 against the local Apple Notes database (~/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite). The lab run spawned no network connections and read no canary credentials. Static hints for credential_harvest, obfuscation, and download_execute are false positives (process.env config, a bundled URL-parser hex decoder, and documentation curl examples).

Intent

A macOS-local MCP server that lets AI assistants read, create, search, and manage Apple Notes via AppleScript and the Notes CoreData database. All behavior is local; no network egress.

Findings

preinstall enforces pnpm info package.json:78
Checks for .git and rejects npm/yarn with a hard error suggesting corepack enable && pnpm install --frozen-lockfile.
Local macOS automation via AppleScript and sqlite3 info build/index.js:39172,39343,39362
execFileSync('osascript', ...) to drive Notes.app UI; execFileSync('sqlite3', ...) to read NoteStore.sqlite directly.
Full Disk Access check via codesign info build/index.js:42598
codesign -dvvv process.execPath to verify the launching binary has FDA.
Stdio-based MCP server info build/index.js:38881
Communicates with an AI assistant over stdio using @modelcontextprotocol/sdk.
No network egress info lab-report
Lab run: 0 DNS names, 0 HTTP requests, 0 TLS SNI.
Documentation curl examples (false positive for download_execute) info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60-62 show curl from nodejs.org/dist — user-run, not package-run.

Lab evidence

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