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

Summary

A legitimate Apple Notes MCP server. The preinstall hook only enforces pnpm (exits with an error message if npm/yarn is used). The entry point executes osascript to drive Apple Notes — exactly what the package claims to do. The lab run produced no network egress, no canary reads, and no files written outside the package. Static-hint "prompt injection" lines are documentation describing API behavior (e.g. "silently skipping duplicate titles"), not executable code.

Intent

MCP server that uses AppleScript to let AI assistants read, create, search, and manage Apple Notes on macOS. All data stays local.

Findings

preinstall enforces pnpm info package.json:78
Exits with code 1 and an error message if a .git directory exists and npm_config_user_agent doesn't start with 'pnpm'. No network, no data exfiltration.
AppleScript execution for Apple Notes info build/index.js:39163
execFileSync('osascript', ['-'], { input: preparedScript }) at build/index.js:39163 — drives the Notes.app UI via AppleScript, matching the stated purpose.
Apple Notes database path accessed locally info build/index.js:39328
os.homedir() + 'Library/Group Containers/group.com.apple.notes/NoteStore.sqlite' — local file path for the Notes database, read-only access via osascript.
Hex-decode utility from bundled ajv info build/index.js:3364
String.fromCharCode(parseInt(normalizedHex, 16)) at build/index.js:3364 — URL percent-decoding from the ajv JSON-schema validator dependency. Not malware obfuscation.
Documentation describes 'silent' API behavior info README.md:575,README.md:971,README.md:1210,README.md:1297
README.md lines 575, 971, 1210, 1297 describe Apple Notes API silently skipping duplicates or dropping TCC grants — these are user-facing notes, not AI-directed instructions.

Lab evidence

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