Skills/Glama/imsg-mcp

imsg-mcp@0.2.1

CAUTION· startup only

Publisher 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.

Registry GlamaPublisher project-nomos · publishing for 2 daysInstalls 0Last detonated 44 h ago

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 date2026-11-23
Coveragestartup only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try imsg-mcp
This recordbehavior.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.

$vet-skills run --net declared -- <the server's command>

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 deviations
t+CategoryObserved action
0.0sprocessinstall script run in the sandbox
0.0sprocessexec /usr/bin/uname
0.0sprocessexited 1: error: macOS only
11sprocessdependency install exit 0
31sclaimedstartup only: exited (0) before answering · code: 'ERR_MODULE_NOT_FOUND', url: 'file:///tmp/ks-detonate-m0wZa2/task/home/work/acme-api/.claude/skills/imsg-mcp/src/acceptance' } Node.js v22.23.5
31sprocessscript backend runs setup only
32sprocesssecond launch, clock +45 days, CI unset
32sprocessexec /usr/bin/uname
32sprocessexited 1: error: macOS only

Static findings

HIGH
Privileged sudo commandscripts/host-setup.sh:4 · Privileged sudo command — agent may execute with elevated privileges# sudo scripts/host-setup.sh # show what would changeFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/update.sh:4 · Privileged sudo command — agent may execute with elevated privileges# 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.
AST05
HIGH
Privileged sudo commandscripts/install.sh:68 · Privileged sudo command — agent may execute with elevated privilegessudo -u "$BOT_USER" -H "$BINARY" initFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandscripts/install.sh:77 · File permission modification command — agent changes file ownership/permissionschown "$BOT_USER" "$PLIST"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandscripts/install.sh:66 · File permission modification command — agent changes file ownership/permissionschmod 700 "$APP_SUPPORT" "$LOG_DIR"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionCLAUDE.md:51 · File type combined with upload action — agent may exfiltrate local data files…: `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.
AST07
MEDIUM
File permission modification commandscripts/build-mcpb.sh:35 · File permission modification command — agent changes file ownership/permissionschmod 755 "$stage/server/imsg-mcp"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandscripts/install.sh:72 · File permission modification command — agent changes file ownership/permissionschmod 600 "$APP_SUPPORT/config.toml"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandscripts/install.sh:65 · Privileged sudo command — agent may execute with elevated privilegessudo -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.
AST05
MEDIUM
npx invocation of non-well-known packagescripts/build-mcpb.sh:9 · npx invocation of non-well-known package — may execute untrusted code# with MCPB="..." (default: npx --yes @anthropic-ai/[email protected]).Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Privileged sudo commandscripts/install.sh:95 · Privileged sudo command — agent may execute with elevated privilegesthen: sudo -u $BOT_USER -H $BINARY check-configFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionscripts/dev-remote.ts:165 · File type combined with upload action — agent may exfiltrate local data files.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.
AST07
HIGH
Privileged sudo commandsrc/paths.ts:5 · Privileged sudo command — agent may execute with elevated privileges* 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.
AST05
HIGH
Privileged sudo commandscripts/host-setup.sh:5 · Privileged sudo command — agent may execute with elevated privileges# sudo scripts/host-setup.sh --apply # apply the power settingsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionscripts/dev-remote.ts:8 · File type combined with upload action — agent may exfiltrate local data files* 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.
AST07
MEDIUM
File permission modification commandscripts/make-signing-identity.sh:45 · File permission modification command — agent changes file ownership/permissionschmod 600 "$PASSFILE"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandscripts/uninstall.sh:4 · Privileged sudo command — agent may execute with elevated privileges# 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.
AST05
MEDIUM
File permission modification commandscripts/install.sh:78 · File permission modification command — agent changes file ownership/permissionschmod 644 "$PLIST"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Destructive file system command detectedscripts/uninstall.sh:27 · Destructive file system command detectedrm -rf /usr/local/libexec/imsg-mcpFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandsrc/config/example.ts:8 · Process kill command — agent can terminate processes# Reload without a restart: kill -HUP <pid>Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagescripts/build-mcpb.sh:16 · npx invocation of non-well-known package — may execute untrusted coderead -r -a mcpb <<<"${MCPB:-npx --yes @anthropic-ai/[email protected]}"Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Privileged sudo commandscripts/host-setup.sh:51 · Privileged sudo command — agent may execute with elevated privileges[ ] 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.
AST05
MEDIUM
MCP server using network transport (SSE/HTTP)scripts/dev-remote.ts:152 · MCP server using network transport (SSE/HTTP) — data sent over networkJSON.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.
AST04
HIGH
Privileged sudo commandscripts/install.sh:4 · Privileged sudo command — agent may execute with elevated privileges# 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.
AST05
MEDIUM
File type combined with upload actionsrc/attachments/convert.ts:272 · File type combined with upload action — agent may exfiltrate local data files[...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.
AST07
MEDIUM
File type combined with upload actionsrc/store/state-db.ts:289 · File type combined with upload action — agent may exfiltrate local data filesthis.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.
AST07
MEDIUM
File type combined with upload actionsrc/store/state-db.ts:13 · File type combined with upload action — agent may exfiltrate local data files/** 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.
AST07
MEDIUM
File permission modification commandsrc/config/store.ts:26 · File permission modification command — agent changes file ownership/permissionsreturn `${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.
AST05
MEDIUM
Process kill commandsrc/send/service.ts:340 · Process kill command — agent can terminate processes// 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.
AST05
MEDIUM
Process kill commandsrc/send/service.ts:189 · Process kill command — agent can terminate processes* 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.
AST05
MEDIUM
Process kill commandsrc/config/example.ts:9 · Process kill command — agent can terminate processes# (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.
AST05
MEDIUM
Process kill commandsrc/send/service.ts:257 · Process kill command — agent can terminate processes// 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.
AST05

Cost to the agent

Instructions loaded
≈2,019 tok
2 files · 80 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

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%
  1. 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.
  2. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  3. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  5. 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.
  6. npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim project-nomosPropose a patch to the maintainer