Imagerelay — the complete, unedited output of the deterministic mcptrustchecker engine v1.9.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.9.0",
"methodologyVersion": "mcptrustchecker-1.9"
},
"target": {
"id": "imagerelay-mcp-server",
"source": {
"kind": "package",
"origin": "imagerelay-mcp-server"
},
"server": {
"name": "imagerelay-mcp-server"
}
},
"grade": "B",
"score": {
"score": 89,
"threatScore": 100,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "client",
"term": "capability-exposure",
"level": "critical",
"label": "capability blast radius (critical) — client exposure if the model is manipulated",
"appliedPenalty": 10
},
{
"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.9"
},
"capability": {
"level": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"can create, modify or delete files",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code",
"untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)",
"untrusted input can reach code execution"
],
"tags": [
"sensitive-source",
"untrusted-input",
"external-sink",
"file-write",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (102 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-002",
"title": "Completed toxic-flow trifecta across tools",
"category": "exfiltration",
"severity": "critical",
"confidence": "strong",
"description": "This server (without client built-ins) exposes a complete data-exfiltration chain: ir_create_folder_link → ir_get_collection_files ⇒ ir_create_webhook. Untrusted input is ingested, private data is read, and it can be sent to an external sink — and at least one leg is a direct schema wire (⇒), where a producer's output drops straight into a free-text parameter of the next tool, so the chain needs little agent cooperation. Static analysis proves the primitive exists, not that a specific run will occur.",
"remediation": "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": {
"kind": "flow",
"name": "ir_create_folder_link → ir_get_collection_files → ir_create_webhook"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"ir_upload_file_from_url",
"ir_create_folder_link",
"ir_create_quick_link"
],
"sources": [
"ir_get_collection_files",
"ir_get_files"
],
"sinks": [
"ir_upload_file_from_url",
"ir_get_upload_links",
"ir_get_supported_webhooks",
"ir_get_webhook",
"ir_create_webhook",
"ir_update_webhook",
"ir_delete_webhook"
],
"path": [
"ir_create_folder_link",
"ir_get_collection_files",
"ir_create_webhook"
],
"edges": [
{
"from": "ir_create_folder_link",
"to": "ir_get_collection_files",
"kind": "agent-mediated"
},
{
"from": "ir_get_collection_files",
"to": "ir_create_webhook",
"kind": "schema-wired"
}
],
"wired": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/op-fallback.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/op-fallback.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/op-fallback.js"
},
"evidence": "ecFileSync } from \"node:child_process\"; /** * If the given env var is empty, attempt to resolve it from 1Password CLI.",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/op-fallback.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-007",
"title": "Unconstrained URL/host parameter \"url\" on \"ir_upload_file_from_url\"",
"category": "network",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ir_upload_file_from_url\" takes a URL/host parameter \"url\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
"remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
"location": {
"kind": "tool",
"name": "ir_upload_file_from_url",
"field": "inputSchema.properties.url"
},
"owasp": "LLM06:2025 Excessive Agency",
"data": {
"param": "url"
}
},
{
"ruleId": "MTC-CAP-007",
"title": "Unconstrained URL/host parameter \"url\" on \"ir_create_webhook\"",
"category": "network",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ir_create_webhook\" takes a URL/host parameter \"url\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
"remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
"location": {
"kind": "tool",
"name": "ir_create_webhook",
"field": "inputSchema.properties.url"
},
"owasp": "LLM06:2025 Excessive Agency",
"data": {
"param": "url"
}
},
{
"ruleId": "MTC-CAP-007",
"title": "Unconstrained URL/host parameter \"url\" on \"ir_update_webhook\"",
"category": "network",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ir_update_webhook\" takes a URL/host parameter \"url\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
"remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
"location": {
"kind": "tool",
"name": "ir_update_webhook",
"field": "inputSchema.properties.url"
},
"owasp": "LLM06:2025 Excessive Agency",
"data": {
"param": "url"
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"ir_move_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"ir_move_file\" can write, overwrite or delete files (keyword \"move_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "ir_move_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"ir_delete_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"ir_delete_file\" can write, overwrite or delete files (keyword \"delete_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "ir_delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"ir_create_file_version\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"ir_create_file_version\" can write, overwrite or delete files (keyword \"create_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "ir_create_file_version"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ir_move_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_move_file\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "ir_move_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ir_delete_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_delete_file\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "ir_delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ir_create_file_version\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_create_file_version\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "ir_create_file_version"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_type_id\" on \"ir_get_files\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_get_files\" takes a path parameter \"file_type_id\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "ir_get_files",
"field": "inputSchema.properties.file_type_id"
},
"data": {
"param": "file_type_id"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_id\" on \"ir_move_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_move_file\" takes a path parameter \"file_id\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "ir_move_file",
"field": "inputSchema.properties.file_id"
},
"data": {
"param": "file_id"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_id\" on \"ir_delete_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_delete_file\" takes a path parameter \"file_id\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "ir_delete_file",
"field": "inputSchema.properties.file_id"
},
"data": {
"param": "file_id"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"file_id\" on \"ir_create_file_version\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ir_create_file_version\" takes a path parameter \"file_id\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "ir_create_file_version",
"field": "inputSchema.properties.file_id"
},
"data": {
"param": "file_id"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"ir_upload_file_from_url",
"ir_create_folder_link",
"ir_create_quick_link"
],
"sensitiveSource": [
"ir_get_collection_files",
"ir_get_files"
],
"externalSink": [
"ir_upload_file_from_url",
"ir_get_upload_links",
"ir_get_supported_webhooks",
"ir_get_webhook",
"ir_create_webhook",
"ir_update_webhook",
"ir_delete_webhook"
],
"selfContained": false,
"path": [
"ir_create_folder_link",
"ir_get_collection_files",
"ir_create_webhook"
],
"pathWired": true,
"description": "A cross-tool exfiltration chain exists: ir_create_folder_link → ir_get_collection_files ⇒ ir_create_webhook."
}
],
"capabilities": [
{
"tool": "ir_auth_status",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_collections",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_collection",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_collection_files",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"list_files\""
]
}
},
{
"tool": "ir_create_collection",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_collection",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_collection",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_custom_attributes",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_custom_attribute",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_custom_attribute",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_custom_attribute",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_files",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"list_files\""
]
}
},
{
"tool": "ir_get_file",
"tags": [],
"reasons": {}
},
{
"tool": "ir_upload_file_from_url",
"tags": [
"untrusted-input",
"external-sink"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
],
"external-sink": [
"keyword \"upload_file\""
]
}
},
{
"tool": "ir_update_file_metadata",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_file_tags",
"tags": [],
"reasons": {}
},
{
"tool": "ir_move_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"move_file\" in tool name"
]
}
},
{
"tool": "ir_delete_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"delete_file\" in tool name"
]
}
},
{
"tool": "ir_duplicate_file",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_file_types",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_file_type",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_synced_file",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_upload_job",
"tags": [],
"reasons": {}
},
{
"tool": "ir_check_upload_job_status",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_file_version",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"create_file\" in tool name"
]
}
},
{
"tool": "ir_complete_file_version",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_root_folder",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_folders",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_folder",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_child_folders",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_folder",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_folder",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_folder",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_invited_users",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_invited_user",
"tags": [],
"reasons": {}
},
{
"tool": "ir_invite_user",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_invited_user",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_sso_user",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_keyword_sets",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_keywords",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_keyword_set",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_keyword",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_keyword_set",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_keyword",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_keyword_set",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_keyword",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_keyword",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_folder_links",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_folder_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_folder_link",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "ir_delete_folder_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_upload_links",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload_file\""
]
}
},
{
"tool": "ir_get_upload_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_upload_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_upload_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_permissions",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_permission",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_user_permission",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_products",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_product",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_product",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_product_variants",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_product",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_product_catalog",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_product_variant",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_variant",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_variant",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_variant",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_product",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_catalogs",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_catalog",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_catalog",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_catalog",
"tags": [],
"reasons": {}
},
{
"tool": "ir_delete_catalog",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_catalog_products",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_categories",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_category",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_templates",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_template",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_template",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_template",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_channel_template_mappings",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_dimensions",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_dimension",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_dimension",
"tags": [],
"reasons": {}
},
{
"tool": "ir_update_dimension",
"tags": [],
"reasons": {}
},
{
"tool": "ir_add_dimension_option",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_quick_links",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_user_quick_links",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_quick_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_create_quick_link",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "ir_delete_quick_link",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_me",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_users",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_user",
"tags": [],
"reasons": {}
},
{
"tool": "ir_search_users",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_supported_webhooks",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\""
]
}
},
{
"tool": "ir_get_webhooks",
"tags": [],
"reasons": {}
},
{
"tool": "ir_get_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\"",
"parameter \"webhook\""
]
}
},
{
"tool": "ir_create_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\""
]
}
},
{
"tool": "ir_update_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\"",
"parameter \"webhook\""
]
}
},
{
"tool": "ir_delete_webhook",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"webhook\"",
"parameter \"webhook\""
]
}
}
],
"surfaceDigest": "9157b2cc8eec6ce9b1f41e491dcdbf9c1ac83af273431788f172068617cb717a",
"stats": {
"tools": 102,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 1,
"medium": 6,
"low": 7,
"info": 0
}
}
}