Raw scan report

Clauder — 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": "clauder-mcp",
    "source": {
      "kind": "package",
      "origin": "clauder-mcp"
    },
    "server": {
      "name": "clauder-mcp"
    }
  },
  "grade": "B",
  "score": {
    "score": 88,
    "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": "none",
        "label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
        "appliedPenalty": 2
      },
      {
        "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)",
      "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": [
      "sensitive-source",
      "code-exec",
      "untrusted-input"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (25 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: verify_references → read_file → probe_scripts. 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": "verify_references → read_file → probe_scripts"
      },
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "untrusted": [
          "verify_references"
        ],
        "sources": [
          "read_file"
        ],
        "sinks": [
          "probe_scripts"
        ],
        "path": [
          "verify_references",
          "read_file",
          "probe_scripts"
        ],
        "edges": [
          {
            "from": "verify_references",
            "to": "read_file",
            "kind": "agent-mediated"
          },
          {
            "from": "read_file",
            "to": "probe_scripts",
            "kind": "agent-mediated"
          }
        ],
        "wired": false
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"probe_scripts\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"probe_scripts\" appears to run shell commands or evaluate code (parameter \"script\"). 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": "probe_scripts"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/clauder_mcp/server.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/clauder_mcp/server.py:350`): 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": "src/clauder_mcp/server.py"
      },
      "evidence": "completed = subprocess.run( command, input=prompt, text=True, capture_output",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/clauder_mcp/server.py",
        "line": 350,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-006",
      "title": "Unconstrained command parameter \"script_paths\" on \"probe_scripts\"",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"probe_scripts\" takes a command-shaped parameter \"script_paths\" 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": "probe_scripts",
        "field": "inputSchema.properties.script_paths"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "param": "script_paths"
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"probe_scripts\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"probe_scripts\" 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": "probe_scripts"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-008",
      "title": "Unconstrained path parameter \"file_path\" on \"read_file\"",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"read_file\" takes a path parameter \"file_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": "read_file",
        "field": "inputSchema.properties.file_path"
      },
      "data": {
        "param": "file_path"
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package declares no source repository",
      "category": "supply-chain",
      "severity": "info",
      "confidence": "strong",
      "description": "\"clauder-mcp\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
      "remediation": "Prefer packages that link to public, reviewable source.",
      "location": {
        "kind": "package",
        "name": "clauder-mcp"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "critical",
      "confidence": "strong",
      "untrustedInput": [
        "verify_references"
      ],
      "sensitiveSource": [
        "read_file"
      ],
      "externalSink": [
        "probe_scripts"
      ],
      "selfContained": false,
      "path": [
        "verify_references",
        "read_file",
        "probe_scripts"
      ],
      "pathWired": false,
      "description": "A cross-tool exfiltration chain exists: verify_references → read_file → probe_scripts."
    }
  ],
  "capabilities": [
    {
      "tool": "execute_r",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "execute_r_with_plot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_r_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_active_document",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "modify_code_section",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "insert_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_task_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_task_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clean_error_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "execute_r_async",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_async_result",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_async_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_sessions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "connect_session",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_file",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "search_project_code",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "probe_scripts",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "parameter \"script\""
        ]
      }
    },
    {
      "tool": "verify_references",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"web_search\""
        ]
      }
    },
    {
      "tool": "get_viewer_content",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_session_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_annotation_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_annotation_job_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_annotation_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "load_annotation_data",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "annotate",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "33f32d1e5483d63a61bb8fc669724efc40e64ed930d0a31833a469343425b912",
  "stats": {
    "tools": 25,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 1,
      "high": 2,
      "medium": 1,
      "low": 2,
      "info": 1
    }
  }
}