Raw scan report

Ssh Deploy — 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.

← Back to the scan page
{
  "tool": {
    "name": "mcptrustchecker",
    "version": "1.9.0",
    "methodologyVersion": "mcptrustchecker-1.9"
  },
  "target": {
    "id": "ssh-deploy-mcp",
    "source": {
      "kind": "package",
      "origin": "ssh-deploy-mcp"
    },
    "server": {
      "name": "ssh-deploy-mcp"
    }
  },
  "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": [
      "code-exec",
      "sensitive-source",
      "external-sink",
      "file-write",
      "untrusted-input"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (11 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_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_file → ssh_read_file → ssh_exec"
      },
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "untrusted": [
          "ssh_download_file"
        ],
        "sources": [
          "ssh_read_file",
          "ssh_download_file"
        ],
        "sinks": [
          "ssh_exec",
          "ssh_upload_file",
          "ssh_task_start"
        ],
        "path": [
          "ssh_download_file",
          "ssh_read_file",
          "ssh_exec"
        ],
        "edges": [
          {
            "from": "ssh_download_file",
            "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, 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_exec"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"ssh_task_start\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"ssh_task_start\" 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_task_start"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "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-006",
      "title": "Unconstrained command parameter \"command\" on \"ssh_exec\"",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"ssh_exec\" 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_exec",
        "field": "inputSchema.properties.command"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "param": "command"
      }
    },
    {
      "ruleId": "MTC-CAP-006",
      "title": "Unconstrained command parameter \"command\" on \"ssh_task_start\"",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"ssh_task_start\" 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_task_start",
        "field": "inputSchema.properties.command"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "param": "command"
      }
    },
    {
      "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_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-CAP-005",
      "title": "Mutating tool \"ssh_task_start\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"ssh_task_start\" 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_task_start"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-008",
      "title": "Unconstrained path parameter \"path\" on \"ssh_read_file\"",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"ssh_read_file\" takes a path parameter \"path\" 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": "ssh_read_file",
        "field": "inputSchema.properties.path"
      },
      "data": {
        "param": "path"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "critical",
      "confidence": "strong",
      "untrustedInput": [
        "ssh_download_file"
      ],
      "sensitiveSource": [
        "ssh_read_file",
        "ssh_download_file"
      ],
      "externalSink": [
        "ssh_exec",
        "ssh_upload_file",
        "ssh_task_start"
      ],
      "selfContained": false,
      "path": [
        "ssh_download_file",
        "ssh_read_file",
        "ssh_exec"
      ],
      "pathWired": false,
      "description": "A cross-tool exfiltration chain exists: ssh_download_file → ssh_read_file → ssh_exec."
    }
  ],
  "capabilities": [
    {
      "tool": "ssh_exec",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name",
          "parameter \"command\""
        ]
      }
    },
    {
      "tool": "ssh_test_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_read_file",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "ssh_upload_file",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"upload_file\""
        ]
      }
    },
    {
      "tool": "ssh_write_file",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"write_file\" in tool name"
        ]
      }
    },
    {
      "tool": "ssh_download_file",
      "tags": [
        "untrusted-input",
        "sensitive-source"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ],
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "ssh_task_start",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "parameter \"command\""
        ]
      }
    },
    {
      "tool": "ssh_task_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_task_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_task_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_task_list",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "dc23b8cc332c13e0daa5c81d552af27cb63a4ebd69085b793e3218e5129a69f1",
  "stats": {
    "tools": 11,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 1,
      "high": 2,
      "medium": 3,
      "low": 4,
      "info": 0
    }
  }
}