Summary
The package is a legitimate macOS-only MCP server for Apple Notes. The preinstall hook is a benign pnpm-enforcement check. The bundled build/index.js uses osascript and sqlite3 to query and modify the local Apple Notes database; no network connections were observed in the isolated lab. Several static-regex flags are false positives (URL-regex library code, Apple Notes' native note-locking feature, documentation examples for downloading Node.js).
Intent
MCP server that reads and writes Apple Notes via AppleScript and the local NoteStore SQLite database on macOS. No network egress; all I/O is local.
Preinstall hook: pnpm enforcement check info package.json:79
Checks for .git and npm_config_user_agent; exits with a suggestion to use pnpm if mismatch detected. No network, no file writes.
Local SQLite reads via sqlite3 CLI info build/index.js:39438
Multiple execFileSync('sqlite3', ['-readonly', NOTES_DB_PATH, query]) calls read the local Apple Notes NoteStore database. Read-only, no exfiltration.
AppleScript automation via osascript info build/index.js:39188
execFileSync('osascript', ['-'], { input: preparedScript }) sends AppleScript to control Notes.app. Standard macOS automation.
False positive: URL-regex library flagged as obfuscation info build/index.js:3364
Hex-decoding in URL parsing (is-url-superb / uri-js dependency) matched the obfuscation regex but is standard library code.
False positive: Apple Notes note-locking flagged as ransomware info build/index.js:40177
row.locked references Apple Notes' native per-note encryption, not user-file encryption.
False positive: Documentation curl examples flagged as download-execute info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md contains example bash commands for downloading Node.js binaries; not executable code.
False positive: Process.env reading flagged as credential harvest info build/index.js:47459
Functions read specific config env vars (APPLE_NOTES_MCP_*) with defaults; does not dump or exfiltrate the environment.
False positive: 'silently' / 'bypass' in docs flagged as prompt injection info README.md:1031
All 7 flagged lines describe software behavior (e.g., 'silently skipping duplicates', 'bypasses AppleScript limitation'), not instructions to an AI agent.