Mailappmcp — the complete, unedited output of the deterministic mcptrustchecker engine v1.13.0, scanned . Every finding, capability tag and score component below is exactly what the engine produced — no AI, no post-processing.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.13.0",
"methodologyVersion": "mcptrustchecker-1.13"
},
"target": {
"id": "mailappmcp",
"source": {
"kind": "package",
"origin": "mailappmcp"
},
"server": {
"name": "mailappmcp"
}
},
"grade": "A",
"score": {
"score": 93,
"threatScore": 100,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "client",
"term": "capability-exposure",
"level": "high",
"label": "capability blast radius (high) — client exposure if the model is manipulated",
"appliedPenalty": 6
},
{
"kind": "client",
"term": "verification-discount",
"level": "repo",
"label": "publisher verification (public source) — no provenance, but the source is public and inspectable",
"appliedPenalty": 1
},
{
"kind": "client",
"term": "coverage-honesty",
"level": "source",
"label": "inspection depth (source) — how much of the target the scan could see",
"appliedPenalty": 0
}
],
"gatesFired": [],
"methodologyVersion": "mcptrustchecker-1.13"
},
"capability": {
"level": "high",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"can execute shell commands or code"
],
"tags": [
"untrusted-input",
"external-sink",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (21 recovered), not enumerated from a running server. Tool-poisoning, Unicode-smuggling, capability and toxic-flow analysis ran on this inferred surface, but a mis-parsed registration could be missed or mis-attributed, so tool-derived findings are capped below “confirmed”. To grade the real runtime surface, scan the running server: --command \"npx -y <package>\"."
]
},
"findings": [
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/lib/applescript-core.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/lib/applescript-core.js:5`): 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.",
"remediation": "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": {
"kind": "server",
"name": "dist/lib/applescript-core.js"
},
"evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; const execFileAsync = promisify(execFile)",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/lib/applescript-core.js",
"line": 5,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/lib/applescript.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/lib/applescript.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.",
"remediation": "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": {
"kind": "server",
"name": "dist/lib/applescript.js"
},
"evidence": "ecFileSync } from \"node:child_process\"; import { runAppleScript, runJXA, jsLiteral, escapeForAppleScript } from \"./apple",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/lib/applescript.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-FLOW-005",
"title": "Untrusted input can drive an external action",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "Untrusted-input tools ([read-message]) co-exist with external-action tools ([send-message, forward-message]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
"remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
"location": {
"kind": "flow",
"name": "read-message → send-message"
},
"evidence": "untrusted [read-message] → sinks [send-message, forward-message]",
"owasp": "LLM06:2025 Excessive Agency",
"references": [],
"data": {
"untrusted": [
"read-message"
],
"sinks": [
"send-message",
"forward-message"
]
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "medium",
"confidence": "strong",
"untrustedInput": [
"read-message"
],
"sensitiveSource": [],
"externalSink": [
"send-message",
"forward-message"
],
"selfContained": false,
"description": "Untrusted input can drive an external action even though no sensitive source is exposed."
}
],
"capabilities": [
{
"tool": "list-mailboxes",
"tags": [],
"reasons": {}
},
{
"tool": "search-messages",
"tags": [],
"reasons": {}
},
{
"tool": "read-message",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"read_message\""
]
}
},
{
"tool": "compose-message",
"tags": [],
"reasons": {}
},
{
"tool": "send-message",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"send_message\""
]
}
},
{
"tool": "reply-to-message",
"tags": [],
"reasons": {}
},
{
"tool": "delete-messages",
"tags": [],
"reasons": {}
},
{
"tool": "mark-as-read",
"tags": [],
"reasons": {}
},
{
"tool": "move-messages",
"tags": [],
"reasons": {}
},
{
"tool": "forward-message",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"forward_message\""
]
}
},
{
"tool": "save-attachment",
"tags": [],
"reasons": {}
},
{
"tool": "flag-message",
"tags": [],
"reasons": {}
},
{
"tool": "check-for-new-mail",
"tags": [],
"reasons": {}
},
{
"tool": "redirect-message",
"tags": [],
"reasons": {}
},
{
"tool": "list-accounts",
"tags": [],
"reasons": {}
},
{
"tool": "list-signatures",
"tags": [],
"reasons": {}
},
{
"tool": "mark-as-junk",
"tags": [],
"reasons": {}
},
{
"tool": "get-message-source",
"tags": [],
"reasons": {}
},
{
"tool": "list-attachments",
"tags": [],
"reasons": {}
},
{
"tool": "set-message-color",
"tags": [],
"reasons": {}
},
{
"tool": "extract-email-address",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "1305ccf1a554b6e34092863d38bc80dcb8d6455fbb59d244a8dc42c026ac11c5",
"stats": {
"tools": 21,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 1,
"low": 0,
"info": 0
}
}
}