Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 17:01 UTC by yolo in 22 tool calls, with lab detonation

Summary

Clean. The preinstall hook is a benign pnpm-enforcement check (exits with an error message, no download/eval). The entry point uses child_process.execFileSync to run osascript and sqlite3 — legitimate for an Apple Notes MCP server. No network egress, no credential harvesting, no hidden payloads. All static-prescreen capability hits are false positives or expected behavior for this domain.</summary>

Intent

MCP server that exposes Apple Notes operations (create, search, update, delete notes) via the Model Context Protocol using AppleScript and direct SQLite reads of the NoteStore database.

Findings

Preinstall hook — pnpm enforcement only info package.json:77
Checks for .git directory and npm_config_user_agent; exits 1 with a message if pnpm is not detected. Does not download, decode, or execute external code.
OSascript/SQLite execution for Apple Notes access info build/index.js:38841,39016,39035,41606,41686
build/index.js calls execFileSync('osascript') and execFileSync('sqlite3') to drive Notes.app and read the NoteStore database directly. Expected for this package's purpose.
URL percent-encoding normalization (not obfuscation) info build/index.js:3332,3353
build/index.js:3332,3353 decode hex pairs via String.fromCharCode(parseInt(hex,16)) as part of a URI parser (whatwg-url dependency). Not a hidden payload.
process.env reads are config-only info build/index.js:39188,41786,41959,41964
APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTES, APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES, APPLE_NOTES_MCP_CONFIG_FILE — all configuration variables, not secrets.
Prompt-injection hints are false positives info README.md:1186,1253
README.md:1186 ('fails silently with backslashes') and README.md:1253 ('silently drops the grants') triggered the 'hide from user' regex on the word 'silently'. Neither asks the agent to conceal actions.

Lab evidence

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