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 16:14 UTC by yolo in 17 tool calls, with lab detonation

Summary

Legitimate macOS-only MCP server. The preinstall hook checks for .git and user_agent to warn against npm/yarn (pnpm-lockfile mismatch) — standard dev-tooling. build/index.js calls osascript and sqlite3 to interact with Apple Notes (expected). No network egress, no credential reads, no config tampering. Static hints on "prompt injection" and "credential harvest" are false positives (troubleshooting docs, process.env config access).

Intent

MCP server for Apple Notes on macOS — manages notes via AppleScript and the private NoteStore SQLite database. The preinstall hook enforces pnpm for lockfile consistency. No network egress, no credential access, no persistence.

Findings

Preinstall hook enforces pnpm info package.json:77
package.json:77 — if .git exists and user_agent doesn't start with 'pnpm', prints an error and exits 1. Legitimate developer workflow enforcement.
osascript/sqlite3 calls for Apple Notes info build/index.js:38891
build/index.js:38891, 39062, 39081 — execFileSync('osascript') and execFileSync('sqlite3') to query the private NoteStore DB at ~/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite. Expected for this package's purpose.
new Function() from ajv JSON schema validator info build/index.js:2953
build/index.js:2953 — dynamic code compilation is standard behavior of the ajv dependency, not obfuscated payload.
False positive: prompt injection info README.md:1198
README.md:1198, 1265 — troubleshooting documentation sections, not instructions to an AI to hide actions from its user.
False positive: credential harvest info build/index.js:39234
process.env references are for configuration keys (APPLE_NOTES_MCP_MAX_ATTACHMENT_BYTES, etc.), not credential stores.

Lab evidence

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