Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 22:46 UTC by yolo in 27 tool calls, with lab detonation

Summary

Legitimate macOS MCP server for Apple Notes. Interacts with Notes.app via osascript and /usr/bin/sqlite3 readonly (NOTES_DB_PATH). Install hook is a pnpm-enforcement check. No network calls, no file writes outside the package, no credential reads. Static-hint flags (ransomware, credential_harvest, obfuscation) are false positives on Apple Notes password-protected notes (row.locked), bundled dependency code, and documentation behavior descriptions.

Intent

MCP server for Apple Notes that uses AppleScript and sqlite3 to read/create/search/update notes on macOS. The preinstall hook enforces pnpm usage inside git repos. No network egress, no credential access, no persistence.

reconnaissance

Findings

Preinstall pnpm enforcement info package.json:79
Exits with error code 1 if .git exists and npm_config_user_agent does not start with 'pnpm'. benign developer convenience hook.
AppleScript execution for Notes.app automation info build/index.js:39188
execFileSync('osascript', ...) used to drive Apple Notes via AppleScript. Expected for this package's purpose.
Read-only sqlite3 access to Notes.db info build/index.js:39430
execFileSync('/usr/bin/sqlite3', ['-readonly', NOTES_DB_PATH, ...]) reads Apple Notes database. Read-only flag prevents modification.
Static-hint false positive: 'ransomware' info build/index.js:40213,45345,45429,46494
row.locked checks password-protected Apple Notes notes (Apple feature), not file encryption.
Static-hint false positive: 'credential_harvest' info build/index.js:39574,41049,42159,47809
No .npmrc, .netrc, .ssh, or API key reads. process.env references are for configuration overrides (APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES etc.), not exfiltration.
Static-hint false positive: 'obfuscation' info build/index.js:3364,3386,3513
URL percent-encoding helpers from bundled ajv dependency, not code obfuscation.

Lab evidence

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