Raw scan report

Qiskit Mcp Servers — 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": "qiskit-mcp-servers",
    "source": {
      "kind": "package",
      "origin": "qiskit-mcp-servers"
    },
    "server": {
      "name": "qiskit-mcp-servers"
    }
  },
  "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": [
      "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"
    ],
    "tags": [
      "untrusted-input",
      "sensitive-source",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (71 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 (qiskit-gym-mcp-server/src/qiskit_gym_mcp_server/server_tools.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`qiskit-gym-mcp-server/src/qiskit_gym_mcp_server/server_tools.py:476`): 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": "qiskit-gym-mcp-server/src/qiskit_gym_mcp_server/server_tools.py"
      },
      "evidence": "_tb_state.process = subprocess.Popen( # nosec B603 B607 [\"tensorboard\", \"--logdir\", QISKIT_GYM_TENSORBO",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "qiskit-gym-mcp-server/src/qiskit_gym_mcp_server/server_tools.py",
        "line": 476,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "search_docs_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_page_tool",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"get_page\""
        ]
      }
    },
    {
      "tool": "lookup_error_code_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_permutation_env_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_linear_function_env_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_clifford_env_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_environments_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_environment_info_tool",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_env\""
        ]
      }
    },
    {
      "tool": "delete_environment_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_training_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_train_environments_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_training_status_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_training_metrics_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait_for_training_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_training_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_training_sessions_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_tensorboard_experiments_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_tensorboard_metrics_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_tensorboard_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_tensorboard_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_tensorboard_status_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "synthesize_permutation_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "synthesize_linear_function_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "synthesize_clifford_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "save_model_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "load_model_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_saved_models_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_loaded_models_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_model_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_model_info_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_coupling_map_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "extract_subtopologies_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_subtopology_shapes_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_fake_backend_coupling_map_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_available_fake_backends_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_random_permutation_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_random_linear_function_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_random_clifford_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_qpy_to_qasm3_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_qasm3_to_qpy_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setup_ibm_quantum_account_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_backends_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "least_busy_backend_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_backend_properties_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_backend_calibration_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_coupling_map_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_optimal_qubit_chains_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_optimal_qv_qubits_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_my_jobs_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_job_status_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_job_results_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_job_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_estimator_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_saved_account_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_saved_accounts_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "active_account_info_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "active_instance_info_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "available_instances_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "usage_info_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_sampler_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_routing_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_linear_function_synthesis_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_clifford_synthesis_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_permutation_synthesis_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_pauli_network_synthesis_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hybrid_ai_transpile_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "transpile_circuit_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyze_circuit_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "compare_optimization_levels_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "load_circuit_from_qasm_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_circuit_to_qasm_tool",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "ca5665d9310735ae1029724bfb1c7a4704c9471613558e13d9cadeab37181c69",
  "stats": {
    "tools": 71,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}