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 13:43 UTC by yolo in 20 tool calls, with lab detonation

Summary

Install hook is a benign pnpm-lockfile enforcement check (exits with error only if .git exists and user_agent doesn't start with 'pnpm'). Entry file uses osascript, sqlite3, and /usr/bin/shortcuts to interact with Apple Notes on macOS — standard for this domain. Lab run produced zero network connections, zero canary reads, zero external file writes. Static-prescreen capability hits (credential_harvest, obfuscation, download_execute, agent_config_tamper) are false positives: process.env reads are for configuration values, URL-decoding logic is from the bundled ajv dependency, curl commands live only in documentation, and config-file paths are documented installation instructions but never written to by code.

Intent

MCP server that interfaces with macOS Apple Notes via AppleScript and sqlite3 — exactly what it claims to be.

Findings

preinstall hook — pnpm enforcement info package.json:79
node -e checks for .git and npm_config_user_agent; exits 1 with a helpful message if not using pnpm. No network, no file writes.
new Function() from bundled ajv info build/index.js:2953
build/index.js:2953 uses new Function(self, scope, sourceCode) — dynamic code generation from the ajv JSON-schema-validator dependency (devDependency). Not malicious obfuscation.
macOS native tool calls (osascript, sqlite3, shortcuts) info build/index.js:39172
build/index.js calls osascript, sqlite3 (readonly on Notes DB), and /usr/bin/shortcuts — all legitimate for an Apple Notes MCP server.
process.env reads for configuration info build/index.js:39489
Functions like maxInlineImageBytes(env = process.env) read APPLE_NOTES_MCP_* env vars for tuning limits. Not credential exfiltration.
Documentation only — no executable download info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md contains curl commands for downloading Node.js from nodejs.org, but these are human-readable instructions, not executed by the package.

Lab evidence

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