Raw scan report

Cloudpanel — 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": "cloudpanel-mcp",
    "source": {
      "kind": "package",
      "origin": "cloudpanel-mcp"
    },
    "server": {
      "name": "cloudpanel-mcp"
    }
  },
  "grade": "B",
  "score": {
    "score": 82,
    "threatScore": 89,
    "grade": "B",
    "band": "B",
    "categorySubtotals": {
      "injection": 9.45,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 1.2,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-SRC-009",
        "category": "injection",
        "severity": "medium",
        "confidence": "strong",
        "rawWeight": 9,
        "confidenceMult": 0.7,
        "diminishingFactor": 1,
        "appliedPenalty": 6.3
      },
      {
        "kind": "threat",
        "ruleId": "MTC-SRC-009",
        "category": "injection",
        "severity": "medium",
        "confidence": "strong",
        "rawWeight": 9,
        "confidenceMult": 0.7,
        "diminishingFactor": 0.5,
        "appliedPenalty": 3.15
      },
      {
        "kind": "threat",
        "ruleId": "MTC-SUP-010",
        "category": "supply-chain",
        "severity": "low",
        "confidence": "heuristic",
        "rawWeight": 3,
        "confidenceMult": 0.4,
        "diminishingFactor": 1,
        "appliedPenalty": 1.2
      },
      {
        "kind": "client",
        "term": "capability-exposure",
        "level": "high",
        "label": "capability blast radius (high) — client exposure if the model is manipulated",
        "appliedPenalty": 6
      },
      {
        "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": "high",
    "reasons": [
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "can execute shell commands or code"
    ],
    "tags": [
      "sensitive-source",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (49 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-004",
      "title": "Sensitive-source and external-sink co-exist",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "strong",
      "description": "Tools that read sensitive data ([cloudpanel_export_database, cloudpanel_import_database]) and tools that can send data out ([docker_exec]) are exposed together. An agent can move private data to the sink.",
      "remediation": "Keep secret-reading and egress capabilities on separate, separately-approved servers.",
      "location": {
        "kind": "flow",
        "name": "cloudpanel_export_database → docker_exec"
      },
      "evidence": "sources [cloudpanel_export_database, cloudpanel_import_database] → sinks [docker_exec]",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "cloudpanel_export_database",
          "cloudpanel_import_database"
        ],
        "sinks": [
          "docker_exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-006",
      "title": "Reads a sensitive credential path or dumps the environment (build/cli.js)",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/cli.js:16`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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": "build/cli.js"
      },
      "evidence": "(os.homedir(), \".ssh\", \"id_ed25519\"), CP_HOST: HOST, }, }; } const PLATFORMS = [ { n",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-006",
        "file": "build/cli.js",
        "line": 16,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"docker_exec\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"docker_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": "docker_exec"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/cli.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/cli.js:2`): 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": "build/cli.js"
      },
      "evidence": "import { spawn } from \"child_process\"; import fs from \"fs\"; import path from \"path\"; import os from \"os\"; const PROJECT",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/cli.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/ssh.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/ssh.js:126`): 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": "build/ssh.js"
      },
      "evidence": "}); } async exec(command) { try { await this.connect(); return await this.ex",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/ssh.js",
        "line": 126,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-009",
      "title": "Untrusted input concatenated into a command sink (build/index.js)",
      "category": "injection",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`build/index.js:186`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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": "build/index.js"
      },
      "evidence": "onst result = await ssh.exec(`clpctl lets-encrypt:list --domainName=${domainName} 2>/dev/null || openssl x509 -in /etc/l",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-009",
        "file": "build/index.js",
        "line": 186,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-009",
      "title": "Untrusted input concatenated into a command sink (build/ssh.js)",
      "category": "injection",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`build/ssh.js:141`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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": "build/ssh.js"
      },
      "evidence": ") { return this.exec(`clpctl ${args} 2>&1`); } async checkClpctl() { try { const res",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-009",
        "file": "build/ssh.js",
        "line": 141,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"docker_exec\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"docker_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": "docker_exec"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SUP-010",
      "title": "Package runs install-time scripts (install)",
      "category": "supply-chain",
      "severity": "low",
      "confidence": "heuristic",
      "description": "\"cloudpanel-mcp\" executes install script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.",
      "remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
      "location": {
        "kind": "package",
        "name": "cloudpanel-mcp"
      },
      "evidence": "node build/cli.js install",
      "owasp": "LLM03:2025 Supply Chain",
      "references": [
        "https://github.com/ossf/package-analysis",
        "https://owasp.org/www-project-top-10-ci-cd-security-risks/"
      ],
      "data": {
        "scripts": [
          "install"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "cloudpanel_export_database",
        "cloudpanel_import_database"
      ],
      "externalSink": [
        "docker_exec"
      ],
      "selfContained": false,
      "path": [
        "cloudpanel_export_database",
        "docker_exec"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: cloudpanel_export_database → docker_exec."
    }
  ],
  "capabilities": [
    {
      "tool": "cloudpanel_list_sites",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_php_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_nodejs_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_python_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_reverse_proxy_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_static_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_delete_site",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_install_ssl",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_list_ssl_certificates",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_mysql_database",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_mysql_user",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_delete_mysql_database",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_delete_mysql_user",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_postgresql_database",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_export_database",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"dump\""
        ]
      }
    },
    {
      "tool": "cloudpanel_import_database",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"dump\""
        ]
      }
    },
    {
      "tool": "cloudpanel_system_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_system_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_list_users",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_user",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_delete_user",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_enable_2fa",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_disable_2fa",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_create_backup",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_list_backups",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_delete_backup",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_list_containers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_deploy_compose",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_container_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_stop_container",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_restart_container",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_list_images",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_prune",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_exec",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name"
        ]
      }
    },
    {
      "tool": "docker_load_image",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "docker_login",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_docker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_postgresql",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_nodejs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_software_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_nginx",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_certbot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_redis",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_install_mysql",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_firewall_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_firewall_allow_port",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_dns_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cloudpanel_raw_command",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "91e215b057ce8cb217837cec4b333c0975edccd2163666c0fef2b3ad0dd1ee1a",
  "stats": {
    "tools": 49,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 5,
      "medium": 2,
      "low": 2,
      "info": 0
    }
  }
}