Imsg MCP Server

imsg-mcp npm v1.25.5 Source verified

Published by george43g — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

MCP server, CLI, and TUI for reading and sending iMessage / SMS on macOS — lets AI agents text humans, fetch conversation history, and stream-export entire chats. Includes a self-healing watchdog and an optional Rust acceleration module.

Trust grade
A
90/100
Last scanned get badge →
Trust
A · 90/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
Critical
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 100 − adoption risk = 90/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 10 = 90. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−10 capability blast radius (critical) — client exposure if the model is manipulated

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 10

critical Completed toxic-flow trifecta across toolsMTC-FLOW-002

This server (without client built-ins) exposes a complete data-exfiltration chain: get_attachment → get_logs → get_last_send_error. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.

Fix: Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.

Location: flow get_attachment → get_logs → get_last_send_error

high Shell/command execution in server code (dist/cli.js)MTC-SRC-002

In the server's implementation (`dist/cli.js:7`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: rt { spawn } from "node:child_process"; import { join, dirname } from "node:path"; function distRoot() { return dirnam

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/cli.js

high Shell/command execution in server code (dist/index-D8A4ss3o.js)MTC-SRC-002

In the server's implementation (`dist/index-D8A4ss3o.js:960`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: LF_OR_LF).map((line) => exec(line, columns, options)).join("\n"); } function breakLines(content, width) { return conte

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/index-D8A4ss3o.js

high Shell/command execution in server code (dist/index.js)MTC-SRC-002

In the server's implementation (`dist/index.js:2`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { execFile } from "node:child_process"; import { existsSync, mkdirSync, readdirSync, readFileSync, writeFileSync, rename

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/index.js

high Shell/command execution in server code (dist/media-intel-runtime-BAP0Fu5R.js)MTC-SRC-002

In the server's implementation (`dist/media-intel-runtime-BAP0Fu5R.js:4`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ecFileSync } from "node:child_process"; import { tmpdir } from "node:os"; import { lookupMediaIntel, fileSignature, stor

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/media-intel-runtime-BAP0Fu5R.js

high Shell/command execution in server code (dist/setup-wizard-BpzgXhCH.js)MTC-SRC-002

In the server's implementation (`dist/setup-wizard-BpzgXhCH.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ecFileSync } from "node:child_process"; import { loadTuiConfig, readCredentials, writeTuiConfig, setCredential } from ".

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/setup-wizard-BpzgXhCH.js

high Shell/command execution in server code (dist/shutdown-AR3fWdGM.js)MTC-SRC-002

In the server's implementation (`dist/shutdown-AR3fWdGM.js:3`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { execFile } from "node:child_process"; import { randomUUID, randomBytes, createHash } from "node:crypto"; import { join

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/shutdown-AR3fWdGM.js

high Shell/command execution in server code (dist/tui.js)MTC-SRC-002

In the server's implementation (`dist/tui.js:12`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: , execSync } from "node:child_process"; import { useScreenSize, withFullScreen } from "fullscreen-ink"; import { EventBu

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/tui.js

high Shell/command execution in server code (native/index.js)MTC-SRC-002

In the server's implementation (`native/index.js:56`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: y { return require('child_process').execSync('ldd --version', { encoding: 'utf8' }).includes('musl') } catch (e) {

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server native/index.js

medium Dynamic module load from a non-literal (native/index.js)MTC-SRC-005

In the server's implementation (`native/index.js:66`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try { return require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH); } catch (err) { loadErrors.push(err)

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server native/index.js

Tools 25

Each tool and what it can reach — statically extracted from the published source.

  • get_attachmentingests untrusted input
  • get_contactingests untrusted input
  • get_last_send_errornetwork egress
  • get_logsreads sensitive data
  • get_unread_messagesingests untrusted input
  • resolve_conversationnetwork egress
  • search_attachmentsingests untrusted input
  • send_messagenetwork egress
  • All loaded contactsno sensitive capability
  • chat_analyticsno sensitive capability
Show 15 more tools ↓
  • check_imessage_availabilityno sensitive capability
  • export_messagesno sensitive capability
  • get_conversation_eventsno sensitive capability
  • get_messagesno sensitive capability
  • health_checkno sensitive capability
  • init_humanno sensitive capability
  • list_contactsno sensitive capability
  • list_conversationsno sensitive capability
  • request_restartno sensitive capability
  • resolve_handleno sensitive capability
  • run_buildno sensitive capability
  • search_contactsno sensitive capability
  • search_messagesno sensitive capability
  • wait_for_changesno sensitive capability
  • wait_for_replyno sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

What this scan could not see

Versions 10

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v1.25.5 latest A 90/100 10 1.13.0 2026-09-07
v1.25.4 A 90/100 10 1.13.0 2026-09-01
v1.25.2 A 90/100 10 1.12.1 2026-08-23
v1.25.0 A 90/100 10 1.12.1 2026-08-22
v1.23.0 A 90/100 10 1.12.1 2026-08-21
Show 5 more versions ↓
v1.21.3 A 90/100 10 1.12.1 2026-08-15
v1.21.2 A 90/100 10 1.12.1 2026-08-13
v1.19.2 A 90/100 10 1.12.1 2026-08-09
v1.19.1 A 90/100 10 1.12.1 2026-08-02
v1.19.0 A 90/100 10 1.12.1 2026-07-29

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 90/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/imsg-mcp/badge.svg)](https://mcptrustchecker.com/registry/imsg-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/imsg-mcp"><img src="https://mcptrustchecker.com/registry/imsg-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/imsg-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan imsg-mcp --online

Use the free API → How scoring works

More in Web, Search & Scraping