Raw scan report

Rhoai — the complete, unedited output of the deterministic mcptrustchecker engine v1.8.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.8.0",
    "methodologyVersion": "mcptrustchecker-1.8"
  },
  "target": {
    "id": "rhoai-mcp",
    "source": {
      "kind": "package",
      "origin": "rhoai-mcp"
    },
    "server": {
      "name": "rhoai-mcp"
    }
  },
  "grade": "D",
  "score": {
    "score": 67,
    "threatScore": 78,
    "grade": "D",
    "band": "D",
    "gateCap": "C",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 22,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-SRC-008",
        "category": "exfiltration",
        "severity": "high",
        "confidence": "confirmed",
        "rawWeight": 22,
        "confidenceMult": 1,
        "diminishingFactor": 1,
        "appliedPenalty": 22
      },
      {
        "kind": "client",
        "term": "capability-exposure",
        "level": "critical",
        "label": "capability blast radius (critical) — client exposure if the model is manipulated",
        "appliedPenalty": 10
      },
      {
        "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": [
      "1 confirmed high finding → grade capped at C"
    ],
    "methodologyVersion": "mcptrustchecker-1.8"
  },
  "capability": {
    "level": "critical",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can execute shell commands or code",
      "untrusted input can reach code execution"
    ],
    "tags": [
      "untrusted-input",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (90 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-008",
      "title": "Hardcoded AWS access key id in server code (tests/conftest.py)",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "confirmed",
      "description": "A live-looking AWS access key id is hardcoded in `tests/conftest.py:146`. Secrets in source ship to everyone who installs the package and are a direct credential leak.",
      "remediation": "Remove the secret, rotate it, and load credentials from the environment or a secret store.",
      "location": {
        "kind": "server",
        "name": "tests/conftest.py"
      },
      "evidence": "AWS access key id: AKIA…(redacted)",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "secretType": "aws-access-key",
        "file": "tests/conftest.py",
        "line": 146
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (evals/reporting/recorder.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`evals/reporting/recorder.py:38`): 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": "evals/reporting/recorder.py"
      },
      "evidence": "subprocess.check_output(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "evals/reporting/recorder.py",
        "line": 38
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/rhoai_mcp/domains/model_registry/auth.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/rhoai_mcp/domains/model_registry/auth.py:114`): 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/rhoai_mcp/domains/model_registry/auth.py"
      },
      "evidence": "subprocess.run(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/rhoai_mcp/domains/model_registry/auth.py",
        "line": 114
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "cluster_summary",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "project_summary",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "resource_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_resource_names",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "multi_resource_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "explore_cluster",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "diagnose_resource",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_resource",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_resources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "manage_resource",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "suggest_tools",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_tool_categories",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "recommend_model",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_deployment_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "estimate_resources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_training_prerequisites",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_training_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setup_hf_credentials",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "prepare_training",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setup_training_storage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setup_nfs_storage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fix_pvc_permissions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "training",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_example_items",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_example_item",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_data_connections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_data_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_s3_data_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_data_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_inference_services",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_inference_service",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_model",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_inference_service",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_serving_runtimes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_serving_runtime",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_model_endpoint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "prepare_model_deployment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_deployment_prerequisites",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "estimate_serving_resources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "recommend_serving_runtime",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "test_model_endpoint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_registered_models",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_registered_model",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "list_model_versions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_model_version",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_model_artifacts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_model_benchmarks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_validation_metrics",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_benchmarks_by_gpu",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_catalog_sources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_catalog_model_artifacts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_workbenches",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_workbench",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_workbench",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_workbench",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_workbench",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_workbench",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_notebook_images",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_workbench_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline_server",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_pipeline_server",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_pipeline_server",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_data_science_projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_project_details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_data_science_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_data_science_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_model_serving_mode",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_storage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_storage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_storage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_training_jobs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_training_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_cluster_resources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_training_runtimes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "suspend_training_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "resume_training_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_training_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait_for_job_completion",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_job_spec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_training_progress",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_training_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_job_events",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "manage_checkpoints",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_runtime_details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_runtime",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setup_training_runtime",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_runtime",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "train",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_container_training_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyze_training_failure",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "a05a4ac18e12b7a6864aeecc431e0b8acc8dff058750ebe379d4f610243231d8",
  "stats": {
    "tools": 90,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}