Raw scan report

Kicad — 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": "mcp-server-kicad",
    "source": {
      "kind": "package",
      "origin": "mcp-server-kicad"
    },
    "server": {
      "name": "mcp-server-kicad"
    }
  },
  "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 (109 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 (mcp_server_kicad/_freerouting.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`mcp_server_kicad/_freerouting.py:84`): 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": "mcp_server_kicad/_freerouting.py"
      },
      "evidence": "try: result = subprocess.run( [\"java\", \"-version\"], capture_output=True, t",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "mcp_server_kicad/_freerouting.py",
        "line": 84,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (mcp_server_kicad/_shared.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`mcp_server_kicad/_shared.py:833`): 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": "mcp_server_kicad/_shared.py"
      },
      "evidence": "try: return subprocess.run( [executable] + args, capture_output=True, te",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "mcp_server_kicad/_shared.py",
        "line": 833,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/conftest.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/conftest.py:485`): 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/conftest.py"
      },
      "evidence": "f): self.proc = subprocess.Popen( self.argv, stdin=subprocess.PIPE, stdout=s",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/conftest.py",
        "line": 485,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "list_lib_footprints",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_footprint_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_footprint_svg",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upgrade_footprint_lib",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pcb_footprints",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pcb_traces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pcb_nets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pcb_zones",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pcb_layers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pcb_graphic_items",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_board_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_footprint_pads",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "place_footprint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "move_footprint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_placement",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_footprint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_trace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_via",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_pcb_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_pcb_line",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_copper_zone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_keepout_zone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fill_zones",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_pcb_from_schematic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_trace_width",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_traces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_thermal_vias",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_net_class",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_dangling_tracks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_drc",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_pcb",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_gerbers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_3d",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_positions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_ipc2581",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "autoroute_pcb",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_footprint_bounds",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_board",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_schematic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_symbol_library",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_sym_lib_table",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_hierarchical_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_hierarchical_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "modify_hierarchical_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_sheet_pin",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_sheet_pin",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "annotate_schematic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_hierarchy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "is_root_schematic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_hierarchy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_sheet_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "trace_hierarchical_net",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_cross_sheet_nets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_symbol_instances",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "move_hierarchical_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reorder_sheet_pages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "duplicate_sheet",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "flatten_hierarchy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_hierarchical_netlist",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_jobset",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_version",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_schematic_summary",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_components",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_wires",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_global_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_hierarchical_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_sheets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_junctions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_no_connects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_schematic_bus_entries",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_symbol_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pin_positions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_net_connections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "place_component",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_component",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_wire",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_junction",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_wires",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_junctions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_lib_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "move_component",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_component_property",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_page_size",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_global_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_hierarchical_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_hierarchical_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "modify_hierarchical_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_power_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "auto_place_decoupling_cap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wire_pins_to_net",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "connect_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "no_connect_pin",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_no_connect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_unconnected_pins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_erc",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_schematic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_netlist",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_bom",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_lib_symbols",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_symbol_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_symbol",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_symbol_svg",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upgrade_symbol_lib",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "0be8785f3893ad6efb6aae3f934ece22efecaa4e552c47f826248317a8827175",
  "stats": {
    "tools": 109,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 0,
      "low": 1,
      "info": 0
    }
  }
}