Ssh Mcp Server Secured — 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": "@marian-craciunescu/ssh-mcp-server-secured",
"source": {
"kind": "package",
"origin": "@marian-craciunescu/ssh-mcp-server-secured"
},
"server": {
"name": "@marian-craciunescu/ssh-mcp-server-secured"
}
},
"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.13"
},
"capability": {
"level": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"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": [
"code-exec",
"external-sink",
"untrusted-input",
"sensitive-source"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (17 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: ssh_download_file → ssh_list_files → ssh_execute. 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.",
"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": "ssh_download_file → ssh_list_files → ssh_execute"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"ssh_download_file"
],
"sources": [
"ssh_list_files"
],
"sinks": [
"ssh_run",
"ssh_execute",
"ssh_execute_on_multiple",
"ssh_get_command_filter",
"ssh_get_profile_config",
"ssh_upload_file"
],
"path": [
"ssh_download_file",
"ssh_list_files",
"ssh_execute"
],
"edges": [
{
"from": "ssh_download_file",
"to": "ssh_list_files",
"kind": "agent-mediated"
},
{
"from": "ssh_list_files",
"to": "ssh_execute",
"kind": "agent-mediated"
}
],
"wired": false
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_run\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_run\" appears to run shell commands or evaluate code (parameter \"command\"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "ssh_run"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_execute\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_execute\" appears to run shell commands or evaluate code (parameter \"command\"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "ssh_execute"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_execute_on_multiple\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_execute_on_multiple\" appears to run shell commands or evaluate code (parameter \"command\"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "ssh_execute_on_multiple"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_get_command_filter\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_get_command_filter\" appears to run shell commands or evaluate code (parameter \"command\"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "ssh_get_command_filter"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_get_profile_config\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_get_profile_config\" appears to run shell commands or evaluate code (parameter \"command\"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "ssh_get_profile_config"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"ssh_run\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ssh_run\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "ssh_run",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"ssh_execute\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ssh_execute\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "ssh_execute",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"ssh_execute_on_multiple\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ssh_execute_on_multiple\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "ssh_execute_on_multiple",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"ssh_get_command_filter\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ssh_get_command_filter\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "ssh_get_command_filter",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"ssh_get_profile_config\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"ssh_get_profile_config\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "ssh_get_profile_config",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_run\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_run\" 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": "ssh_run"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_execute\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_execute\" 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": "ssh_execute"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_execute_on_multiple\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_execute_on_multiple\" 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": "ssh_execute_on_multiple"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_get_command_filter\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_get_command_filter\" 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": "ssh_get_command_filter"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_get_profile_config\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_get_profile_config\" 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": "ssh_get_profile_config"
},
"data": {
"tags": [
"code-exec"
]
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"ssh_download_file"
],
"sensitiveSource": [
"ssh_list_files"
],
"externalSink": [
"ssh_run",
"ssh_execute",
"ssh_execute_on_multiple",
"ssh_get_command_filter",
"ssh_get_profile_config",
"ssh_upload_file"
],
"selfContained": false,
"path": [
"ssh_download_file",
"ssh_list_files",
"ssh_execute"
],
"pathWired": false,
"description": "A cross-tool exfiltration chain exists: ssh_download_file → ssh_list_files → ssh_execute."
}
],
"capabilities": [
{
"tool": "ssh_connect",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_connect_with_jump_command",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_load_connections",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_run",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "ssh_run_with_jump",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_execute",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "ssh_execute_on_multiple",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "ssh_disconnect",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_disconnect_all",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_get_command_filter",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "ssh_get_profile_config",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "ssh_list_connections",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_check_connections",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_upload_file",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"upload_file\""
]
}
},
{
"tool": "ssh_download_file",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "ssh_list_files",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"list_files\""
]
}
},
{
"tool": "ssh_failed_connections",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "edc820817f0e159ca3f84539ed3eada93ce344635a7de1b366824e47a59ef37b",
"stats": {
"tools": 17,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 5,
"medium": 5,
"low": 5,
"info": 0
}
}
}