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:52 UTC by yolo in 19 tool calls, with lab detonation

Summary

The preinstall hook checks for a .git directory and rejects npm/yarn in favor of pnpm (lockfile enforcement). The entry file (build/index.js) is a bundled ESM app that uses osascript to control Apple Notes — matching its stated purpose as an MCP server. No network connections, no canary credential reads, no files written outside the package were observed in the isolated lab run.

Intent

An MCP server for Apple Notes that automates note operations via AppleScript on macOS. The preinstall hook enforces pnpm lockfile usage. No credential theft, no unexpected network egress, no persistence installed.

Findings

Preinstall lockfile enforcement info package.json:79
preinstall exits with code 1 if .git exists and npm_config_user_agent does not start with 'pnpm'. Benign developer tooling check.
AppleScript automation of Notes.app info build/index.js:39148
build/index.js uses execFileSync('osascript', ...) to drive Apple Notes via macOS automation. Consistent with the package's stated MCP server purpose.
Dynamic function generation from ajv info build/index.js:2953
new Function() at line 2953 is from the bundled ajv JSON schema validator, which compiles validators at runtime. Standard ajv behavior.
URL-encoding hex decode utility info build/index.js:3364
Hex-to-character decoding at lines 3364/3386/3513 is part of a URL encoding library (likely for validating URL schemes), not obfuscated payload execution.
Static prescreen false positives on README info README.md:645,1151,1391,1478
The prescreen flagged technical descriptions of edge-case behavior as 'prompt-injection / hidden-text'. These are documentation explaining how duplicate-title resolution and ambiguous prefix handling work — not hidden instructions to an AI agent.

Lab evidence

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