Raw scan report

Sdk — 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": "@commoncompute/sdk",
    "source": {
      "kind": "package",
      "origin": "@commoncompute/sdk"
    },
    "server": {
      "name": "@commoncompute/sdk"
    }
  },
  "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": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "can execute shell commands or code"
    ],
    "tags": [
      "untrusted-input",
      "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 (71 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/chunk-E56TUHYC.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/chunk-E56TUHYC.js:8`): 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/chunk-E56TUHYC.js"
      },
      "evidence": "import { spawn } from \"child_process\"; import { promises as fs } from \"fs\"; import { homedir, hostname } from \"os\"; imp",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/chunk-E56TUHYC.js",
        "line": 8,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli.cjs)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli.cjs:449`): 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/cli.cjs"
      },
      "evidence": "child = (0, import_node_child_process.spawn)(opener, [url], { detached: true, stdio: \"ignore\" }); child.on(\"error\",",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli.cjs",
        "line": 449,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli.js:1186`): 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/cli.js"
      },
      "evidence": "import { spawn } from \"child_process\"; var playground = { name: \"playground\", category: \"misc\", summary: \"Open th",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli.js",
        "line": 1186,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/mcp/server.cjs)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/mcp/server.cjs:31`): 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/mcp/server.cjs"
      },
      "evidence": "auth.ts var import_node_child_process = require(\"child_process\"); var import_node_fs = require(\"fs\"); var import_node_os",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/mcp/server.cjs",
        "line": 31,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "cc_chat",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_embed",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_transcribe_audio",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_generate_image",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_quote_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_submit_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_job",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "cc_wait_for_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_job_events",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "cc_get_job_result_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_preview_job_result",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_cancel_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_list_workloads",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_workload",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "cc_list_models",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_model",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "cc_whoami",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_balance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_billing_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_get_usage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_list_keys",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"list_keys\""
        ]
      }
    },
    {
      "tool": "cc_create_key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cc_revoke_key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Workload catalog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Workload spec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Model catalog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Model spec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Job snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Job events",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "login",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api-key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "no-browser",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "paste",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "prompt",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "model",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "no-stream",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workload",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "units",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "priority",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "payload",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "max-spend-usd",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "idempotency-key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "limit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "type",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "id",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "timeout",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reason",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "out",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "end",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "granularity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "group-by",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "name",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mode",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "format",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "job-name",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "job-definition",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "array-size",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "jobs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "max",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scope",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"read_pr\""
        ]
      }
    },
    {
      "tool": "transport",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "json",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "no-json",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "quiet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "command",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "3ea4d40e39def899d8a7e9ac1f4545b772ac29120b838d46978272d71b8a8b20",
  "stats": {
    "tools": 71,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 4,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}