Freecad Robust — 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.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.9.0",
"methodologyVersion": "mcptrustchecker-1.9"
},
"target": {
"id": "freecad-robust-mcp",
"source": {
"kind": "package",
"origin": "freecad-robust-mcp"
},
"server": {
"name": "freecad-robust-mcp"
}
},
"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": [
"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 (83 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 (addon/FreecadRobustMCPBridge/freecad_mcp_bridge/server.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`addon/FreecadRobustMCPBridge/freecad_mcp_bridge/server.py:587`): 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": "addon/FreecadRobustMCPBridge/freecad_mcp_bridge/server.py"
},
"evidence": "\"exec\") exec(compiled, exec_globals) # noqa: S102 elapsed = (time.perf_counter() - start)",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "addon/FreecadRobustMCPBridge/freecad_mcp_bridge/server.py",
"line": 587,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/freecad_mcp/bridge/embedded.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/freecad_mcp/bridge/embedded.py:165`): 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/freecad_mcp/bridge/embedded.py"
},
"evidence": "\"exec\") exec(compiled, exec_globals) # noqa: S102 elapsed = (time.perf_counter() - start)",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/freecad_mcp/bridge/embedded.py",
"line": 165,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/freecad_mcp/bridge/socket.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/freecad_mcp/bridge/socket.py:891`): 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/freecad_mcp/bridge/socket.py"
},
"evidence": "v in args.items(): exec(f\"{{k}} = {{v!r}}\") with open(macro_file, \"r\") as f: macro_code = f.read() exec(macro",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/freecad_mcp/bridge/socket.py",
"line": 891,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/freecad_mcp/bridge/xmlrpc.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/freecad_mcp/bridge/xmlrpc.py:873`): 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/freecad_mcp/bridge/xmlrpc.py"
},
"evidence": "v in args.items(): exec(f\"{{k}} = {{v!r}}\") # Execute macro with open(macro_file, \"r\") as f: macro_code = f.re",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/freecad_mcp/bridge/xmlrpc.py",
"line": 873,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/just_commands/conftest.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/just_commands/conftest.py:110`): 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/just_commands/conftest.py"
},
"evidence": "xt result = subprocess.run( # noqa: S603 cmd, cwd=self.project_root,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/just_commands/conftest.py",
"line": 110,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/just_commands/test_docker.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/just_commands/test_docker.py:39`): 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/just_commands/test_docker.py"
},
"evidence": "ontext result = subprocess.run( [\"docker\", \"info\"], # noqa: S607 capture_output=True,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/just_commands/test_docker.py",
"line": 39,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/just_commands/test_release.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/just_commands/test_release.py:285`): 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/just_commands/test_release.py"
},
"evidence": "est context subprocess.run( # noqa: S603 [\"git\", \"add\", str(test_file)], # noqa: S607",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/just_commands/test_release.py",
"line": 285,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/unit/test_server.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/unit/test_server.py:335`): 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/unit/test_server.py"
},
"evidence": "connect proc = subprocess.Popen( # noqa: S603 [ sys.executable, \"-",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/unit/test_server.py",
"line": 335,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"freecad-robust-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "freecad-robust-mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "list_documents",
"tags": [],
"reasons": {}
},
{
"tool": "get_active_document",
"tags": [],
"reasons": {}
},
{
"tool": "create_document",
"tags": [],
"reasons": {}
},
{
"tool": "open_document",
"tags": [],
"reasons": {}
},
{
"tool": "save_document",
"tags": [],
"reasons": {}
},
{
"tool": "close_document",
"tags": [],
"reasons": {}
},
{
"tool": "recompute_document",
"tags": [],
"reasons": {}
},
{
"tool": "execute_python",
"tags": [],
"reasons": {}
},
{
"tool": "get_freecad_version",
"tags": [],
"reasons": {}
},
{
"tool": "get_connection_status",
"tags": [],
"reasons": {}
},
{
"tool": "get_console_output",
"tags": [],
"reasons": {}
},
{
"tool": "get_mcp_server_environment",
"tags": [],
"reasons": {}
},
{
"tool": "export_step",
"tags": [],
"reasons": {}
},
{
"tool": "export_stl",
"tags": [],
"reasons": {}
},
{
"tool": "export_3mf",
"tags": [],
"reasons": {}
},
{
"tool": "export_obj",
"tags": [],
"reasons": {}
},
{
"tool": "export_iges",
"tags": [],
"reasons": {}
},
{
"tool": "import_step",
"tags": [],
"reasons": {}
},
{
"tool": "import_stl",
"tags": [],
"reasons": {}
},
{
"tool": "list_macros",
"tags": [],
"reasons": {}
},
{
"tool": "run_macro",
"tags": [],
"reasons": {}
},
{
"tool": "create_macro",
"tags": [],
"reasons": {}
},
{
"tool": "read_macro",
"tags": [],
"reasons": {}
},
{
"tool": "delete_macro",
"tags": [],
"reasons": {}
},
{
"tool": "create_macro_from_template",
"tags": [],
"reasons": {}
},
{
"tool": "list_objects",
"tags": [],
"reasons": {}
},
{
"tool": "inspect_object",
"tags": [],
"reasons": {}
},
{
"tool": "create_object",
"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_wedge",
"tags": [],
"reasons": {}
},
{
"tool": "create_helix",
"tags": [],
"reasons": {}
},
{
"tool": "edit_object",
"tags": [],
"reasons": {}
},
{
"tool": "delete_object",
"tags": [],
"reasons": {}
},
{
"tool": "boolean_operation",
"tags": [],
"reasons": {}
},
{
"tool": "set_placement",
"tags": [],
"reasons": {}
},
{
"tool": "scale_object",
"tags": [],
"reasons": {}
},
{
"tool": "rotate_object",
"tags": [],
"reasons": {}
},
{
"tool": "copy_object",
"tags": [],
"reasons": {}
},
{
"tool": "mirror_object",
"tags": [],
"reasons": {}
},
{
"tool": "get_selection",
"tags": [],
"reasons": {}
},
{
"tool": "set_selection",
"tags": [],
"reasons": {}
},
{
"tool": "clear_selection",
"tags": [],
"reasons": {}
},
{
"tool": "create_partdesign_body",
"tags": [],
"reasons": {}
},
{
"tool": "create_sketch",
"tags": [],
"reasons": {}
},
{
"tool": "add_sketch_rectangle",
"tags": [],
"reasons": {}
},
{
"tool": "add_sketch_circle",
"tags": [],
"reasons": {}
},
{
"tool": "pad_sketch",
"tags": [],
"reasons": {}
},
{
"tool": "pocket_sketch",
"tags": [],
"reasons": {}
},
{
"tool": "fillet_edges",
"tags": [],
"reasons": {}
},
{
"tool": "chamfer_edges",
"tags": [],
"reasons": {}
},
{
"tool": "revolution_sketch",
"tags": [],
"reasons": {}
},
{
"tool": "groove_sketch",
"tags": [],
"reasons": {}
},
{
"tool": "create_hole",
"tags": [],
"reasons": {}
},
{
"tool": "linear_pattern",
"tags": [],
"reasons": {}
},
{
"tool": "polar_pattern",
"tags": [],
"reasons": {}
},
{
"tool": "mirrored_feature",
"tags": [],
"reasons": {}
},
{
"tool": "add_sketch_line",
"tags": [],
"reasons": {}
},
{
"tool": "add_sketch_arc",
"tags": [],
"reasons": {}
},
{
"tool": "add_sketch_point",
"tags": [],
"reasons": {}
},
{
"tool": "loft_sketches",
"tags": [],
"reasons": {}
},
{
"tool": "sweep_sketch",
"tags": [],
"reasons": {}
},
{
"tool": "get_screenshot",
"tags": [],
"reasons": {}
},
{
"tool": "set_view_angle",
"tags": [],
"reasons": {}
},
{
"tool": "list_workbenches",
"tags": [],
"reasons": {}
},
{
"tool": "activate_workbench",
"tags": [],
"reasons": {}
},
{
"tool": "fit_all",
"tags": [],
"reasons": {}
},
{
"tool": "set_object_visibility",
"tags": [],
"reasons": {}
},
{
"tool": "set_display_mode",
"tags": [],
"reasons": {}
},
{
"tool": "set_object_color",
"tags": [],
"reasons": {}
},
{
"tool": "zoom_in",
"tags": [],
"reasons": {}
},
{
"tool": "zoom_out",
"tags": [],
"reasons": {}
},
{
"tool": "set_camera_position",
"tags": [],
"reasons": {}
},
{
"tool": "undo",
"tags": [],
"reasons": {}
},
{
"tool": "redo",
"tags": [],
"reasons": {}
},
{
"tool": "get_undo_redo_status",
"tags": [],
"reasons": {}
},
{
"tool": "list_parts_library",
"tags": [],
"reasons": {}
},
{
"tool": "insert_part_from_library",
"tags": [],
"reasons": {}
},
{
"tool": "get_console_log",
"tags": [],
"reasons": {}
},
{
"tool": "recompute",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "19d1ad8120ed171122ee05422575f130b7e6875f9f5f4b261b6f5012d948b7ca",
"stats": {
"tools": 83,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 4,
"medium": 0,
"low": 4,
"info": 1
}
}
}