Raw scan report

Mk Qa Master — 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": "mk-qa-master",
    "source": {
      "kind": "package",
      "origin": "mk-qa-master"
    },
    "server": {
      "name": "mk-qa-master"
    }
  },
  "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 (22 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/mk_qa_master/config.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/mk_qa_master/config.py:174`): 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/mk_qa_master/config.py"
      },
      "evidence": "try: result = subprocess.run( [\"adb\", \"connect\", ANDROID_HOST], capture_output=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/mk_qa_master/config.py",
        "line": 174,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/mk_qa_master/edge/resilience.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/mk_qa_master/edge/resilience.py:73`): 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/mk_qa_master/edge/resilience.py"
      },
      "evidence": "_netem_enabled() subprocess.run( [\"tc\", \"qdisc\", \"add\", \"dev\", \"lo\", \"root\", \"netem\", \"delay\", f",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/mk_qa_master/edge/resilience.py",
        "line": 73,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_fixture_vulnerable.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_fixture_vulnerable.py:61`): 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": "examples/sample_vulnerable_api/tests/test_fixture_vulnerable.py"
      },
      "evidence": "clobber.\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_fixture_vulnerable.py",
        "line": 61,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_rule_bola_fla_dogfood.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_rule_bola_fla_dogfood.py:53`): 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": "examples/sample_vulnerable_api/tests/test_rule_bola_fla_dogfood.py"
      },
      "evidence": "ady in use\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_rule_bola_fla_dogfood.py",
        "line": 53,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_rule_broken_auth_dogfood.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_rule_broken_auth_dogfood.py:52`): 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": "examples/sample_vulnerable_api/tests/test_rule_broken_auth_dogfood.py"
      },
      "evidence": "ady in use\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_rule_broken_auth_dogfood.py",
        "line": 52,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_rule_headers_dogfood.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_rule_headers_dogfood.py:47`): 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": "examples/sample_vulnerable_api/tests/test_rule_headers_dogfood.py"
      },
      "evidence": "d clobber.\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_rule_headers_dogfood.py",
        "line": 47,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_rule_mass_assignment_dogfood.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_rule_mass_assignment_dogfood.py:62`): 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": "examples/sample_vulnerable_api/tests/test_rule_mass_assignment_dogfood.py"
      },
      "evidence": "ady in use\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_rule_mass_assignment_dogfood.py",
        "line": 62,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_runner_api_security_dogfood.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_runner_api_security_dogfood.py:46`): 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": "examples/sample_vulnerable_api/tests/test_runner_api_security_dogfood.py"
      },
      "evidence": "ady in use\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_runner_api_security_dogfood.py",
        "line": 46,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (examples/sample_vulnerable_api/tests/test_runner_api_security_plan_dogfood.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`examples/sample_vulnerable_api/tests/test_runner_api_security_plan_dogfood.py:44`): 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": "examples/sample_vulnerable_api/tests/test_runner_api_security_plan_dogfood.py"
      },
      "evidence": "ady in use\") proc = subprocess.Popen( [sys.executable, str(APP_PATH)], stdout=subprocess.PIPE,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "examples/sample_vulnerable_api/tests/test_runner_api_security_plan_dogfood.py",
        "line": 44,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (scripts/spike-maestro-perf.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/spike-maestro-perf.py:64`): 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": "scripts/spike-maestro-perf.py"
      },
      "evidence": "otonic() proc = subprocess.run( [\"maestro\", \"test\", path], capture_output=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "scripts/spike-maestro-perf.py",
        "line": 64,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "get_runner_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_tests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_tests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_failed",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_test_report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_failure_details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "codegen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_html_report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_test_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_optimization_plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyze_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyze_screen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyze_stream",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "init_qa_knowledge",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_qa_context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "inspect_visual_challenge",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "solve_visual_challenge",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "auto_generate_tests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_api_security_scan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "qa_plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "verify_plan",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "7d55976436f52cf98382544909db8c6651a5860f856615da7c8eba4850c89c73",
  "stats": {
    "tools": 22,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 0,
      "low": 8,
      "info": 0
    }
  }
}