Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of apple-notes-mcp

[email protected]

clean   confidence 72%   action allow   analyzed 2026-09-24 13:44 UTC by yolo in 20 tool calls, with lab detonation

Summary

Preinstall hook is a benign pnpm-lockfile enforcement check (exits with error only when .git exists and user_agent doesn't start with 'pnpm'). The bundled entry build/index.js is a standard esbuild-bundled ESM MCP server that uses child_process.execFileSync("osascript",…) to drive Apple Notes on macOS — behavior matches the package description. No network egress, no canary reads, no files written outside the package in the lab run.

Intent

MCP server that interacts with Apple Notes on macOS via AppleScript and the Notes.app SQLite database. Matches its stated purpose.

Findings

Preinstall hook: pnpm lockfile enforcement info package.json:79
package.json:79 — node -e checks fs.existsSync('.git') and npm_config_user_agent; exits 1 with a reminder to use pnpm if .git exists and UA doesn't start with 'pnpm'. Benign developer convenience hook.
AppleScript execution for Apple Notes (legitimate) info build/index.js:38985
build/index.js:38985,39172 — imports execFileSync from child_process; runs osascript with prepared AppleScript to read/write Apple Notes. Matches the package's stated purpose as an Apple Notes MCP server.
URL percent-decoding code (false-positive obfuscation) info build/index.js:3364
build/index.js:3364,3386,3513 — normalizePercentEncoding from ajv dependency, not obfuscation.
Config file reads (not credential theft) info build/index.js:39489
build/index.js:39489,39934,39982,43449 — reads APPLE_NOTES_MCP_* environment variables and a package config file for tuning behavior, not exfiltrating arbitrary env.

Lab evidence

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