Raw scan report

Caid — 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": "caid-mcp",
    "source": {
      "kind": "package",
      "origin": "caid-mcp"
    },
    "server": {
      "name": "caid-mcp"
    }
  },
  "grade": "A",
  "score": {
    "score": 92,
    "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": "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": "high",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can execute shell commands or code"
    ],
    "tags": [
      "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 (107 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-CAP-001",
      "title": "Tool \"shell_object\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"shell_object\" appears to run shell commands or evaluate code (keyword \"shell\" 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": "shell_object"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (caid_mcp/core.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`caid_mcp/core.py:237`): 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": "caid_mcp/core.py"
      },
      "evidence": "try: proc = subprocess.run( [sys.executable, \"-c\", script], capture_output=True, tex",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "caid_mcp/core.py",
        "line": 237,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (caid_mcp/tools/advanced.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`caid_mcp/tools/advanced.py:53`): 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": "caid_mcp/tools/advanced.py"
      },
      "evidence": "try: proc = subprocess.run( [sys.executable, \"-c\", wrapper], capture_output=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "caid_mcp/tools/advanced.py",
        "line": 53,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (caid_mcp/tools/parts_user.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`caid_mcp/tools/parts_user.py:154`): 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": "caid_mcp/tools/parts_user.py"
      },
      "evidence": "try: proc = subprocess.run( [sys.executable, \"-c\", wrapper], capture_output=True, te",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "caid_mcp/tools/parts_user.py",
        "line": 154,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-FLOW-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([freecad_library_browse, freecad_library_import]) co-exist with external-action tools ([shell_object]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
      "remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
      "location": {
        "kind": "flow",
        "name": "freecad_library_browse → shell_object"
      },
      "evidence": "untrusted [freecad_library_browse, freecad_library_import] → sinks [shell_object]",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "freecad_library_browse",
          "freecad_library_import"
        ],
        "sinks": [
          "shell_object"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"shell_object\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"shell_object\" 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": "shell_object"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_caid_mcp.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_caid_mcp.py:529`): 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": "tests/test_caid_mcp.py"
      },
      "evidence": "\"scene\": scene} exec(\"result = caid.box(5, 5, 5)\", exec_globals) assert \"result\" in exec_globals",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_caid_mcp.py",
        "line": 529,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package declares no source repository",
      "category": "supply-chain",
      "severity": "info",
      "confidence": "strong",
      "description": "\"caid-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": "caid-mcp"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "freecad_library_browse",
        "freecad_library_import"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "shell_object"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "run_cadquery_script",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_linear_pattern",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_circular_pattern",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_assembly",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assembly_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assembly_move",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assembly_rotate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assembly_merge",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "boolean_union",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "boolean_cut",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "boolean_intersect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "combine_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_belt_wire",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_array_on_curve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_pulley_assembly",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_line",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_arc",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_circle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_polyline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_spline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "offset_curve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "project_curve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fillet_wire_corners",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "extend_curve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chamfer_wire_corners",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "join_curves",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reverse_curve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "extrude_surface",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "unroll_surface",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "render_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "render_scene",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "compare_renders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_stl",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_step",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_brep",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_fastener_sizes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_bolt",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_nut",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_washer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_clearance_hole",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_tap_hole",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_object_valid",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "heal_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simplify_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "save_snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "restore_snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_snapshots",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "undo",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "import_step",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "import_brep",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_hole",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fillet_solid_edges",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "chamfer_solid_edges",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "shell_object",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "freecad_library_browse",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"browse\""
        ]
      }
    },
    {
      "tool": "freecad_library_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "freecad_library_import",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "scan_part_library",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_parts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_parts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "import_part",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_warehouse_parts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_warehouse_sizes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_warehouse_fastener",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_warehouse_bearing",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_box",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_cylinder",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_sphere",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_cone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_torus",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_extruded_polygon",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_revolved_profile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_edges",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_faces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "measure_distance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "inspect_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mass_properties",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_edges_near_point",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_faces_near_point",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "duplicate_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_scene",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "server_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_object_properties",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_object_properties",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_group",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ungroup",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_groups",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_layer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_layers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "split_with_plane",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "split_with_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "intersect_curves",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sweep_along_path",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sweep_circle_along_path",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "loft_profiles",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "loft_circle_to_rect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "translate_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "rotate_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scale_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mirror_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "orient_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "align_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "distribute_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "section_view",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exploded_view",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "b53772a24e310ec7aa3c779b3d61701cca5b4f72a8710e56c54d181723e3c6b8",
  "stats": {
    "tools": 107,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 4,
      "medium": 1,
      "low": 2,
      "info": 1
    }
  }
}