Raw scan report

Kicad Mcp Pro — the complete, unedited output of the deterministic mcptrustchecker engine v1.13.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.13.0",
    "methodologyVersion": "mcptrustchecker-1.13"
  },
  "target": {
    "id": "kicad-mcp-pro",
    "source": {
      "kind": "package",
      "origin": "kicad-mcp-pro"
    },
    "server": {
      "name": "kicad-mcp-pro"
    }
  },
  "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.13"
  },
  "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 (82 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 (src/kicad_mcp/bridge.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/bridge.py:526`): 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/kicad_mcp/bridge.py"
      },
      "evidence": "0000200 proc = subprocess.Popen( args, stdout=subprocess.DEVNULL, stderr=su",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/bridge.py",
        "line": 526,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/diagnostics.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/diagnostics.py:283`): 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/kicad_mcp/diagnostics.py"
      },
      "evidence": "try: result = subprocess.run( [git_executable, \"-C\", str(repo), *args], check=False,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/diagnostics.py",
        "line": 283,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/discovery.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/discovery.py:148`): 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/kicad_mcp/discovery.py"
      },
      "evidence": "try: result = subprocess.run( [str(cli_path), \"--version\"], capture_output=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/discovery.py",
        "line": 148,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/evals/live_adapters.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/evals/live_adapters.py:395`): 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/kicad_mcp/evals/live_adapters.py"
      },
      "evidence": "completed = subprocess.run( list(self._configuration.command), input=request",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/evals/live_adapters.py",
        "line": 395,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/evals/reference_agent_runner.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/evals/reference_agent_runner.py:690`): 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/kicad_mcp/evals/reference_agent_runner.py"
      },
      "evidence": "ry: completed = subprocess.run( command, input=prompt, cwd=workspace.checkou",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/evals/reference_agent_runner.py",
        "line": 690,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/evals/release_policy.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/evals/release_policy.py:240`): 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/kicad_mcp/evals/release_policy.py"
      },
      "evidence": "ble, None) result = subprocess.run( [git, *arguments], cwd=repo_root, check=False, c",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/evals/release_policy.py",
        "line": 240,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/server.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/server.py:3251`): 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/kicad_mcp/server.py"
      },
      "evidence": "cmd=cmd) proc = subprocess.Popen( cmd, stdout=sys.stdout, stderr=sys.stderr,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/server.py",
        "line": 3251,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/setup.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/setup.py:895`): 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/kicad_mcp/setup.py"
      },
      "evidence": "result = subprocess.run( [claude_path, \"mcp\", \"list\"], capture_ou",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/setup.py",
        "line": 895,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/tools/export_support.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/tools/export_support.py:68`): 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/kicad_mcp/tools/export_support.py"
      },
      "evidence": "result = subprocess.run( [str(cfg.kicad_cli), *args], cap",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/tools/export_support.py",
        "line": 68,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/kicad_mcp/tools/manufacturing.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/kicad_mcp/tools/manufacturing.py:262`): 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/kicad_mcp/tools/manufacturing.py"
      },
      "evidence": "y: result = subprocess.run( cmd, capture_output=True, text=T",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/kicad_mcp/tools/manufacturing.py",
        "line": 262,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal (src/kicad_mcp/tools/schematic.py)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`src/kicad_mcp/tools/schematic.py:2075`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/kicad_mcp/tools/schematic.py"
      },
      "evidence": "metadata contract = __import__( \"kicad_mcp.models.live_preview\", fromlist=[\"LivePreviewPayload\"] ).LiveP",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "src/kicad_mcp/tools/schematic.py",
        "line": 2075,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "kicad_capability_parity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_ground_plane_voids",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_return_path_continuity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_split_plane_crossing",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_decoupling_placement",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_via_stitching",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_differential_pair_symmetry",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_check_high_speed_routing_rules",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "emc_run_full_compliance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_tracks_bulk",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_blind_via",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_microvia",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_segment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_circle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_rectangle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_set_board_outline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_add_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_save",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_refill_zones",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_highlight_net",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_set_net_class",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pcb_get_live_edit_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pdn_calculate_voltage_drop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_power_integrity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pdn_recommend_decoupling_caps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pdn_check_copper_weight",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pdn_generate_power_plane",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "thermal_calculate_via_count",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "thermal_check_copper_pour",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "thermal_simulate_plane_spreading",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kicad_list_tool_categories",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kicad_get_tools_in_category",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_wire",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_power_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_bus",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_bus_wire_entry",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_no_connect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_analyze_net_compilation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_build_circuit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_pin_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_route_wire_between_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_delete_wire",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_delete_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_delete_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_delete_no_connect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_move_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_modify_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_create_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_move_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_delete_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_hierarchical_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_global_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_add_sheet_pin",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_import_sheet_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_spread_sheets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_wire_sheet_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_get_wires",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_get_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_get_net_names",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_get_pin_positions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_check_power_flags",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_auto_place_symbols",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_annotate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_list_sheets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_get_sheet_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_list_sheet_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_get_connectivity_graph",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sch_trace_net",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_get_solver_capabilities",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_calculate_trace_impedance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_calculate_trace_width_for_impedance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_check_differential_pair_skew",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_validate_length_matching",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_analyze_high_speed_channel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_generate_stackup",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_check_via_stub",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_calculate_decoupling_placement",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_list_dielectric_materials",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_synthesize_stackup_for_interfaces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "si_bind_interfaces_to_net_classes",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "cf8b259ab2f68795f717e8e6ac444f1361127654aa0d4bd5c56066d6bdcac438",
  "stats": {
    "tools": 82,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 10,
      "medium": 1,
      "low": 0,
      "info": 0
    }
  }
}