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 15:39 UTC by yolo in 26 tool calls, with lab detonation

Summary

The preinstall hook is a benign dev-experience guard that exits with an error when npm/yarn is used in a git repo (suggests pnpm). The bundled entry build/index.js is an MCP server that drives Apple Notes through osascript and sqlite3; all process.env reads are app-specific config (APPLE_NOTES_MCP_*) and the "encrypted" hits are password-protected Apple Notes data. No network egress in the lab; no credential stores touched. Static hints for ransomware, download-execute, and prompt-injection are all false positives from bundled dependencies (ajv), documentation URLs, and normal prose.

Intent

MCP server for Apple Notes — reads and writes notes via AppleScript and the Notes.app internal sqlite database on macOS. Nothing else.

Findings

Preinstall dev-experience guard info package.json:79
package.json:79 — exits with code 1 if .git exists and user_agent doesn't start with pnpm. Prints a suggestion to use corepack/pnpm. Benign.
AppleScript execution for Apple Notes (stated purpose) info build/index.js:39172
build/index.js:39172 — execFileSync("osascript", [...]) to drive Notes.app. build/index.js:39414/39433/39720 — execFileSync("sqlite3", ["-readonly", NOTES_DB_PATH, ...]) to read the Notes internal database. Expected for this package's function.
Password-protected note handling (not ransomware) info build/index.js:44363
build/index.js:44363/46140 — row.locked and row.encrypted are Apple Notes' own password-protection flags; the code throws a descriptive error when encountered. Not user-data encryption.
App-specific env config (not credential harvest) info build/index.js:39558
build/index.js:39558/40565/40613/45449 — reads APPLE_NOTES_MCP_MAX_INLINE_IMAGE_BYTES, APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTES, APPLE_NOTES_MCP_EXPORT_MAX_BYTES, APPLE_NOTES_MCP_CONFIG_FILE. These are application config variables, not API keys or secrets.
Bundled ajv new Function (false positive) info build/index.js:2953
build/index.js:2953 — new Function from the ajv JSON-schema validator bundled in. Standard for this dependency.

Lab evidence

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