Imap — 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": "imap-mcp-server",
"source": {
"kind": "package",
"origin": "imap-mcp-server"
},
"server": {
"name": "imap-mcp-server"
}
},
"grade": "A",
"score": {
"score": 97,
"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": "moderate",
"label": "capability blast radius (moderate) — client exposure if the model is manipulated",
"appliedPenalty": 3
},
{
"kind": "client",
"term": "verification-discount",
"level": "source",
"label": "publisher verification (provenance) — cryptographic build provenance ties the artifact to its source",
"appliedPenalty": 0
},
{
"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": "moderate",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service"
],
"tags": [
"untrusted-input",
"external-sink"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (40 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-FLOW-005",
"title": "Untrusted input can drive an external action",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "Untrusted-input tools ([imap_get_email, imap_download_attachment, imap_find_thread_messages]) co-exist with external-action tools ([imap_upload_file, imap_send_email, imap_save_draft, imap_reply_to_email, imap_forward_email]). 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": "imap_get_email → imap_upload_file"
},
"evidence": "untrusted [imap_get_email, imap_download_attachment, imap_find_thread_messages] → sinks [imap_upload_file, imap_send_email, imap_save_draft, imap_reply_to_email",
"owasp": "LLM06:2025 Excessive Agency",
"references": [],
"data": {
"untrusted": [
"imap_get_email",
"imap_download_attachment",
"imap_find_thread_messages"
],
"sinks": [
"imap_upload_file",
"imap_send_email",
"imap_save_draft",
"imap_reply_to_email",
"imap_forward_email"
]
}
},
{
"ruleId": "MTC-SRC-003",
"title": "Hardcoded egress to an external endpoint (dist/index.js)",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/index.js:2453`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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/index.js"
},
"evidence": "const response = await fetch( `https://www.ipqualityscore.com/api/json/email/${apiKey}/${encodeURIComponent(`te",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-003",
"file": "dist/index.js",
"line": 2453,
"nonRuntime": false
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "medium",
"confidence": "strong",
"untrustedInput": [
"imap_get_email",
"imap_download_attachment",
"imap_find_thread_messages"
],
"sensitiveSource": [],
"externalSink": [
"imap_upload_file",
"imap_send_email",
"imap_save_draft",
"imap_reply_to_email",
"imap_forward_email"
],
"selfContained": false,
"description": "Untrusted input can drive an external action even though no sensitive source is exposed."
}
],
"capabilities": [
{
"tool": "imap_add_account",
"tags": [],
"reasons": {}
},
{
"tool": "imap_update_account",
"tags": [],
"reasons": {}
},
{
"tool": "imap_list_accounts",
"tags": [],
"reasons": {}
},
{
"tool": "imap_remove_account",
"tags": [],
"reasons": {}
},
{
"tool": "imap_connect",
"tags": [],
"reasons": {}
},
{
"tool": "imap_disconnect",
"tags": [],
"reasons": {}
},
{
"tool": "imap_test_account",
"tags": [],
"reasons": {}
},
{
"tool": "imap_search_emails",
"tags": [],
"reasons": {}
},
{
"tool": "imap_get_email",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "imap_upload_file",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"send_email\""
]
}
},
{
"tool": "imap_download_attachment",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "imap_mark_as_read",
"tags": [],
"reasons": {}
},
{
"tool": "imap_mark_as_unread",
"tags": [],
"reasons": {}
},
{
"tool": "imap_flag_email",
"tags": [],
"reasons": {}
},
{
"tool": "imap_unflag_email",
"tags": [],
"reasons": {}
},
{
"tool": "imap_add_keyword",
"tags": [],
"reasons": {}
},
{
"tool": "imap_remove_keyword",
"tags": [],
"reasons": {}
},
{
"tool": "imap_delete_email",
"tags": [],
"reasons": {}
},
{
"tool": "imap_move_email",
"tags": [],
"reasons": {}
},
{
"tool": "imap_bulk_delete",
"tags": [],
"reasons": {}
},
{
"tool": "imap_bulk_delete_by_search",
"tags": [],
"reasons": {}
},
{
"tool": "imap_get_latest_emails",
"tags": [],
"reasons": {}
},
{
"tool": "imap_send_email",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"send_email\""
]
}
},
{
"tool": "imap_save_draft",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"send_email\""
]
}
},
{
"tool": "imap_reply_to_email",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"send_email\""
]
}
},
{
"tool": "imap_forward_email",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"forward_email\""
]
}
},
{
"tool": "imap_find_thread_messages",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"read_message\""
]
}
},
{
"tool": "imap_find_email_by_message_id",
"tags": [],
"reasons": {}
},
{
"tool": "imap_list_folders",
"tags": [],
"reasons": {}
},
{
"tool": "imap_folder_status",
"tags": [],
"reasons": {}
},
{
"tool": "imap_create_folder",
"tags": [],
"reasons": {}
},
{
"tool": "imap_get_unread_count",
"tags": [],
"reasons": {}
},
{
"tool": "imap_check_spam",
"tags": [],
"reasons": {}
},
{
"tool": "imap_delete_spam",
"tags": [],
"reasons": {}
},
{
"tool": "imap_domain_stats",
"tags": [],
"reasons": {}
},
{
"tool": "imap_add_spam_domain",
"tags": [],
"reasons": {}
},
{
"tool": "imap_remove_spam_domain",
"tags": [],
"reasons": {}
},
{
"tool": "imap_add_whitelist_domain",
"tags": [],
"reasons": {}
},
{
"tool": "imap_list_spam_domains",
"tags": [],
"reasons": {}
},
{
"tool": "imap_delete_by_domain",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "9678188df360068f232ef295f43799747b1f9483f48927dd95f60ddf86a0aff9",
"stats": {
"tools": 40,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 0,
"medium": 2,
"low": 0,
"info": 0
}
}
}