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

Summary

The package is a bundled MCP server (build/index.js) that talks to Apple Notes through AppleScript. The only install hook (preinstall) enforces pnpm in git working trees. The lab run spawned no network connections and wrote nothing outside the package. URL references and curl commands appear only in documentation, not in executable code.

Intent

MCP server for Apple Notes on macOS — communicates with Notes.app via AppleScript/osascript. All network references are in documentation (nodejs.org for a separate runtime) and schema comments; no runtime egress.

Findings

Preinstall hook enforces pnpm info package.json:79
package.json:79 — preinstall checks for .git and npm_config_user_agent; exits 1 with a message to use pnpm if mismatch detected. Benign CI guard.
URL references in schema comments (not runtime) info build/index.js:3098
build/index.js:3098,4834,6657-6948 — https:// URLs appear only in JSON Schema $id/$ref and regex comment citations (json-schema.org, ietf.org, w3.org). No fetch/http calls.
Documentation curl commands (not executed) info docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60
docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md:60,61,119,120 — bash snippets download Node from nodejs.org. These are user-facing setup instructions, not package code.
process.env reads for config (not exfiltration) info build/index.js:46379
build/index.js:39034-39035,46379,46635,46639,48645 — reads APPLE_NOTES_MCP_* env vars for server configuration. No network send.
new Function() from ajv code generator info build/index.js:2953
build/index.js:2953 — dynamic function construction from compiled JSON-schema validation code (ajv). Standard bundled pattern.
Prompt-injection hints in README (behavioral documentation) low README.md:1031
README.md:1031,1813,2061,2148 — text discusses silent-duplicate handling and TCC re-prompt behavior. These are documented behaviors, not instructions to an AI agent to conceal actions.

Lab evidence

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