Raw scan report

Xc — 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": "xc-mcp",
    "source": {
      "kind": "package",
      "origin": "xc-mcp"
    },
    "server": {
      "name": "xc-mcp"
    }
  },
  "grade": "A",
  "score": {
    "score": 93,
    "threatScore": 100,
    "grade": "A",
    "band": "A",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "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": [
      "can execute shell commands or code"
    ],
    "tags": [
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (70 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-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/diagnostics/hang/tools.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/diagnostics/hang/tools.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": "dist/tools/diagnostics/hang/tools.js"
      },
      "evidence": "import { spawn } from 'child_process'; import { McpError, ErrorCode } from '@modelcontextprotocol/sdk/types.js'; import",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/diagnostics/hang/tools.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/utils/command.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/utils/command.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/utils/command.js"
      },
      "evidence": "execSync, spawn } from 'child_process'; import { promisify } from 'util'; import { McpError, ErrorCode } from '@modelcon",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/utils/command.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/utils/validation.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/utils/validation.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/utils/validation.js"
      },
      "evidence": "port { execSync } from 'child_process'; import { access, constants, stat } from 'fs/promises'; import { McpError, ErrorC",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/utils/validation.js",
        "line": 1,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "localization-audit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcode-model-inspect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "visual-diff",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache-get-stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache-get-config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache-set-config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cache-clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "persistence-enable",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "persistence-disable",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "persistence-status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-appearance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-location",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hang-start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hang-stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hang-get-details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hang-list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-targets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-ui-tap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-ui-input",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-ui-gesture",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-ui-describe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-ui-find-element",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "accessibility-quality-check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "accessibility-audit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-list-apps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-install",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-uninstall",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-launch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idb-terminate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-get-details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-boot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-shutdown",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-erase",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-clone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-rename",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-health-check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-install",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-uninstall",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-launch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-terminate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-get-app-container",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-openurl",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-io",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-push",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-addmedia",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-pbcopy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-privacy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-status-bar",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-stream-logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-suggest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simctl-container",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "rtfm",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow-tap-element",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow-fresh-install",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow-build-and-run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "test-record-step",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "test-record-report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-version",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-build",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-clean",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-get-details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-showsdks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-inspect-scheme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "xcodebuild-validate-capabilities",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "3b721bde7c3651b1c2d6f90c299079d0db6a10887a3cd378ba0834968000c084",
  "stats": {
    "tools": 70,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}