imsg-mcp@0.2.1
CAUTION· startup onlyPublisher claims: "Lets AI assistants read, search and send iMessage and SMS through a Mac you own, and open the photos, PDFs and videos people send. Sending is off by default, then limited by a server-side allowlist, rate limits and an audit log. Needs a Mac signed in to Messages; a copy deployed from Glama is a demo with sample conversations." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-23, [email protected] read no files and called no hosts, and its code names 7 environment variables. Coverage: startup only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
IMSG_MCP_ATTACHMENTS_DIR, IMSG_MCP_CONFIG, IMSG_MCP_LOG_DIR, IMSG_MCP_SIGN_KEYCHAIN, IMSG_MCP_SIGN_KEYCHAIN_PASSWORD_FILE, IMSG_MCP_STATE_DIR, XPC_SERVICE_NAME
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- the tool list (the server exited before answering)
- what the tools do when called with real credentials
| Run date | 2026-11-23 |
| Coverage | startup only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try imsg-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
IMSG_MCP_SIGN_KEYCHAIN_PASSWORD_FILEConfiguration, not credentials: IMSG_MCP_ATTACHMENTS_DIR, IMSG_MCP_CONFIG, IMSG_MCP_LOG_DIR, IMSG_MCP_SIGN_KEYCHAIN, IMSG_MCP_STATE_DIR, XPC_SERVICE_NAME- Where it talks to
- no vendor host named in the codeAlso apple.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names apple.com as well as its own vendor. The guard injects IMSG_MCP_SIGN_KEYCHAIN_PASSWORD_FILE only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-23 and scored it 75/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 32 s · 3 scenarios · 0 deviationsStatic findings
# sudo scripts/host-setup.sh # show what would changeFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# sudo scripts/update.sh --user imsgbot [--binary dist/imsg-mcp] [--label ai.mynomos.imsg-mcp]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo -u "$BOT_USER" -H "$BINARY" initFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.chown "$BOT_USER" "$PLIST"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 700 "$APP_SUPPORT" "$LOG_DIR"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…: `IMSG_MCP_TEST_REAL_IMSG=1`) drives the real imsg binary with a synthetic chat.db under `sandbox-exec` so no Contacts prompt can appear; keep sending disabled there. Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.chmod 755 "$stage/server/imsg-mcp"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 600 "$APP_SUPPORT/config.toml"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.sudo -u "$BOT_USER" mkdir -p "$APP_SUPPORT" "$LOG_DIR" "$BOT_HOME/Library/LaunchAgents"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# with MCPB="..." (default: npx --yes @anthropic-ai/[email protected]).Fix: Pin versions and sources; vendor anything fetched at install time.then: sudo -u $BOT_USER -H $BINARY check-configFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell..write(`imsg-mcp dev remote mode (${realImsg ? "real imsg, synthetic chat.db, sending off" : "stub imsg, demo data"})Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.* The effective user's home from the user database. `sudo -u imsgbot` on macOS can keepFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# sudo scripts/host-setup.sh --apply # apply the power settingsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* bun scripts/dev-remote.ts --real-imsg # the real imsg serving a synthetic chat.db; sending offFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.chmod 600 "$PASSFILE"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# sudo scripts/uninstall.sh --user imsgbot [--label ai.mynomos.imsg-mcp] [--purge]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.chmod 644 "$PLIST"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.rm -rf /usr/local/libexec/imsg-mcpFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# Reload without a restart: kill -HUP <pid>Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.read -r -a mcpb <<<"${MCPB:-npx --yes @anthropic-ai/[email protected]}"Fix: Pin versions and sources; vendor anything fetched at install time.[ ] Build, sign and install imsg-mcp: scripts/build.sh, scripts/sign.sh, sudo scripts/install.sh --user imsgbotFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.JSON.stringify({ mcpServers: { imessage: { type: "http", url, headers } } }, null, 2);Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.# sudo scripts/install.sh --user imsgbot [--binary dist/imsg-mcp] [--label ai.mynomos.imsg-mcp]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.[...args, "-output", join(work, "document.txt"), input],Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.this.db.query("INSERT INTO sends (at_ms, identity) VALUES (?, ?)").run(atMs, identity);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why./** One inbound message as kept in `state.db`. Text is stored in full and cut on output. */Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.return `${path} has mode ${mode.toString(8).padStart(4, "0")}; run "chmod 600" so only its owner can read it`;Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// The kill switch or the allowlist changed before the retry; nothing was resent.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* against the live config right before dispatch and before any retry, so the killFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# (or: launchctl kill SIGHUP gui/$(id -u)/ai.mynomos.imsg-mcp)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// The chat lookup can take seconds; a kill switch flipped meanwhile still applies.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
5 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim project-nomos: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.