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 is a legitimate macOS-local MCP server. The preinstall hook only checks for .git and npm_config_user_agent, exiting with an error if not using pnpm — no code download or execution. The entry file builds an osascript/sqlite3-based bridge to Apple Notes with zero network egress. The static pre-screen hits are false positives: hex-decode logic is a URL-encoding utility, new Function() is ajv's schema compiler, atob is JWT parsing, and the "download-and-execute" hints are curl commands downloading Node.js from nodejs.org (official upstream).

Intent

macOS MCP server that uses AppleScript and the Apple Notes SQLite database to let AI assistants read, create, search, and manage Apple Notes. The preinstall hook enforces pnpm usage when a git repo is present.

Findings

Preinstall hook enforces pnpm info package.json:78
package.json:78 — node -e checks for .git and npm_config_user_agent; exits 1 with a message if not pnpm. No download, no eval, no side effects.
osascript execution for Apple Notes automation info build/index.js:39172
build/index.js:39172 — execFileSync('osascript', ...) calls AppleScript to interact with Notes.app. macOS-local, no network.
SQLite3 reads Apple Notes database info build/index.js:39343
build/index.js:39343,39362 — execFileSync('sqlite3', ...) queries NoteStore.sqlite for checklist metadata. Read-only, requires Full Disk Access on macOS.
new Function() is ajv schema compiler info build/index.js:2953
build/index.js:2953 — code from the bundled ajv JSON Schema validator. Standard library behavior.
URL-encoding hex decode is utility code info build/index.js:3364
build/index.js:3364,3386,3513 — normalizePercentEncoding from the bundled WHATWG URL standard implementation. Not obfuscation.
atob used for JWT header parsing info build/index.js:25498
build/index.js:25498-25499 — standard JWT decode in the bundled jose library. Not credential harvesting.

Lab evidence

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