Pyrokine Ssh — 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": "@pyrokine/mcp-ssh",
"source": {
"kind": "package",
"origin": "@pyrokine/mcp-ssh"
},
"server": {
"name": "@pyrokine/mcp-ssh"
}
},
"grade": "B",
"score": {
"score": 88,
"threatScore": 99,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 1.2,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-INJ-TARGET-1",
"category": "injection",
"severity": "low",
"confidence": "heuristic",
"rawWeight": 3,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 1.2
},
{
"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 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": [
"code-exec",
"untrusted-input",
"sensitive-source",
"file-write"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (35 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 → ssh_read_file → ssh_exec. 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 → ssh_read_file → ssh_exec"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"ssh_download"
],
"sources": [
"ssh_read_file"
],
"sinks": [
"ssh_exec",
"ssh_exec_as_user",
"ssh_exec_sudo",
"ssh_exec_batch",
"ssh_quick_exec",
"ssh_exec_parallel",
"ssh_exec_script"
],
"path": [
"ssh_download",
"ssh_read_file",
"ssh_exec"
],
"edges": [
{
"from": "ssh_download",
"to": "ssh_read_file",
"kind": "agent-mediated"
},
{
"from": "ssh_read_file",
"to": "ssh_exec",
"kind": "agent-mediated"
}
],
"wired": false
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_exec\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_exec\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_exec"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_exec_as_user\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_exec_as_user\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_exec_as_user"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_exec_sudo\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_exec_sudo\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_exec_sudo"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_exec_batch\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_exec_batch\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_exec_batch"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_quick_exec\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_quick_exec\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_quick_exec"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_exec_parallel\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_exec_parallel\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_exec_parallel"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"ssh_exec_script\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"ssh_exec_script\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). 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_exec_script"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/file-ops.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/file-ops.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.",
"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/file-ops.js"
},
"evidence": "import { spawn } from 'child_process'; import { createHash, randomBytes } from 'crypto'; import * as fs from 'fs'; impo",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/file-ops.js",
"line": 4,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/session-manager.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/session-manager.js:280`): 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/session-manager.js"
},
"evidence": "执行命令 */ async exec(alias, command, options = {}) { const session = this.getSession(alias); con",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/session-manager.js",
"line": 280,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"ssh_write_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"ssh_write_file\" can write, overwrite or delete files (keyword \"write_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": "ssh_write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_exec\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_exec\" 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_exec"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_exec_as_user\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_exec_as_user\" 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_exec_as_user"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_exec_sudo\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_exec_sudo\" 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_exec_sudo"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_exec_batch\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_exec_batch\" 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_exec_batch"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_quick_exec\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_quick_exec\" 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_quick_exec"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_exec_parallel\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_exec_parallel\" 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_exec_parallel"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_exec_script\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_exec_script\" 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_exec_script"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"ssh_write_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"ssh_write_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": "ssh_write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-INJ-TARGET-1",
"title": "Reference to a credential-exfiltration path in metadata",
"category": "injection",
"severity": "low",
"confidence": "heuristic",
"description": "Reference to a credential-exfiltration path in metadata detected in the description of tool \"ssh_config_list\". Instruction-like content in tool metadata is executed by the model, not the human, and is the primary tool-poisoning vector.",
"remediation": "Tool descriptions should describe behavior, not instruct the assistant. Treat imperative / secrecy / sequencing language in metadata as hostile.",
"location": {
"kind": "tool",
"name": "ssh_config_list",
"field": "description"
},
"evidence": "~/.ssh",
"owasp": "LLM01:2025 Prompt Injection",
"data": {
"kind": "sensitive-target"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"ssh_download"
],
"sensitiveSource": [
"ssh_read_file"
],
"externalSink": [
"ssh_exec",
"ssh_exec_as_user",
"ssh_exec_sudo",
"ssh_exec_batch",
"ssh_quick_exec",
"ssh_exec_parallel",
"ssh_exec_script"
],
"selfContained": false,
"path": [
"ssh_download",
"ssh_read_file",
"ssh_exec"
],
"pathWired": false,
"description": "A cross-tool exfiltration chain exists: ssh_download → ssh_read_file → ssh_exec."
}
],
"capabilities": [
{
"tool": "ssh_connect",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_disconnect",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_list_sessions",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_reconnect",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_config_list",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_exec",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_exec_as_user",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_exec_sudo",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_exec_batch",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_quick_exec",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_exec_parallel",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_exec_script",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "ssh_upload",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_download",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "ssh_read_file",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "ssh_write_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"write_file\" in tool name"
]
}
},
{
"tool": "ssh_list_dir",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_file_info",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_mkdir",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_sync",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_forward_local",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_forward_remote",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_forward_close",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_forward_list",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_operation_start",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_operation_status",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_operation_read",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_operation_cancel",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_operation_list",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_pty_start",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_pty_write",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_pty_read",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_pty_resize",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_pty_close",
"tags": [],
"reasons": {}
},
{
"tool": "ssh_pty_list",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "5efb39f4cbf4feca4308111a859718e42a715bc9a3d83b88e6b52d3cfbc264ab",
"stats": {
"tools": 35,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 9,
"medium": 1,
"low": 9,
"info": 0
}
}
}