Raw scan report

Zebbern Kali — 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": "zebbern-kali-mcp",
    "source": {
      "kind": "package",
      "origin": "zebbern-kali-mcp"
    },
    "server": {
      "name": "zebbern-kali-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.13"
  },
  "capability": {
    "level": "high",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service",
      "can execute shell commands or code"
    ],
    "tags": [
      "code-exec",
      "untrusted-input",
      "external-sink"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (133 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-CAP-001",
      "title": "Tool \"zebbern_exec\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"zebbern_exec\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "zebbern_exec"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"exec_stream\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"exec_stream\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "exec_stream"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_listener_start\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_listener_start\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_listener_start"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_command\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_command\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_command"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_send_payload\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_send_payload\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_send_payload"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_status\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_status\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_status"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_stop\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_stop\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_stop"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_upload_content\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_upload_content\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_upload_content"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_download_content\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_download_content\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_download_content"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "untrusted-input",
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"reverse_shell_generate_payload\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"reverse_shell_generate_payload\" appears to run shell commands or evaluate code (keyword \"shell\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_generate_payload"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-FLOW-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([ctf_download_file, ctf_scoreboard, kali_download, target_download_file, payload_host_start, reverse_shell_download_content, ssh_session_download_content]) co-exist with external-action tools ([zebbern_exec, exec_stream, target_upload_file, reverse_shell_listener_start, reverse_shell_command, reverse_shell_send_payload, reverse_shell_status, reverse_shell_stop, reverse_shell_upload_content, reverse_shell_download_content, reverse_shell_generate_payload]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
      "remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
      "location": {
        "kind": "flow",
        "name": "ctf_download_file → zebbern_exec"
      },
      "evidence": "untrusted [ctf_download_file, ctf_scoreboard, kali_download, target_download_file, payload_host_start, reverse_shell_download_content, ssh_session_download_cont",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "ctf_download_file",
          "ctf_scoreboard",
          "kali_download",
          "target_download_file",
          "payload_host_start",
          "reverse_shell_download_content",
          "ssh_session_download_content"
        ],
        "sinks": [
          "zebbern_exec",
          "exec_stream",
          "target_upload_file",
          "reverse_shell_listener_start",
          "reverse_shell_command",
          "reverse_shell_send_payload",
          "reverse_shell_status",
          "reverse_shell_stop",
          "reverse_shell_upload_content",
          "reverse_shell_download_content",
          "reverse_shell_generate_payload"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-006",
      "title": "Reads a sensitive credential path or dumps the environment in packaging/dev tooling (tests/test_pivot_tunnel_wiring.py)",
      "category": "exfiltration",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_pivot_tunnel_wiring.py:114`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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/test_pivot_tunnel_wiring.py"
      },
      "evidence": "ort=80, key_file=\"/root/id_rsa\", ) cmd = seen[\"cmd\"] assert cmd[0] == \"ssh\" assert \"-i\"",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-006",
        "file": "tests/test_pivot_tunnel_wiring.py",
        "line": 114,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"zebbern_exec\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"zebbern_exec\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "zebbern_exec"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"exec_stream\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"exec_stream\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "exec_stream"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_listener_start\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_listener_start\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_listener_start"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_command\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_command\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_command"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_send_payload\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_send_payload\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_send_payload"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_status\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_status\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_status"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_stop\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_stop\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_stop"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_upload_content\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_upload_content\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_upload_content"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_download_content\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_download_content\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_download_content"
      },
      "data": {
        "tags": [
          "untrusted-input",
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"reverse_shell_generate_payload\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"reverse_shell_generate_payload\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
      "remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
      "location": {
        "kind": "tool",
        "name": "reverse_shell_generate_payload"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_checkout_source.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_checkout_source.py:16`): 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/test_checkout_source.py"
      },
      "evidence": "ELPER) converted = subprocess.run( [ \"wsl.exe\", \"--\", \"wslpath\",",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_checkout_source.py",
        "line": 16,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_deployment_config.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_deployment_config.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": "tests/test_deployment_config.py"
      },
      "evidence": "f\", file)] result = subprocess.run( [\"docker\", \"compose\", *compose_files, \"config\", \"--format\", \"json\"],",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_deployment_config.py",
        "line": 46,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_job_manager.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_job_manager.py:376`): 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/test_job_manager.py"
      },
      "evidence": "t(\"sh -c 'sleep 30 &'\", shell=True, timeout=5) wait_for_terminal(manager, job[\"job_id\"]) deadline = tim",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_job_manager.py",
        "line": 376,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_job_routes.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_job_routes.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": "tests/test_job_routes.py"
      },
      "evidence": "\"\"\" ) result = subprocess.run( [sys.executable, \"-c\", code], cwd=PROJECT_ROOT, capture_",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_job_routes.py",
        "line": 52,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_reverse_shell_teardown.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_reverse_shell_teardown.py:3`): 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/test_reverse_shell_teardown.py"
      },
      "evidence": "tener is spawned with ``shell=True`` under ``preexec_fn=os.setsid``, so the tracked process is the SHELL and the real ``",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_reverse_shell_teardown.py",
        "line": 3,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SUP-012",
      "title": "Package has no license",
      "category": "hygiene",
      "severity": "info",
      "confidence": "strong",
      "description": "\"zebbern-kali-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
      "location": {
        "kind": "package",
        "name": "zebbern-kali-mcp"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "ctf_download_file",
        "ctf_scoreboard",
        "kali_download",
        "target_download_file",
        "payload_host_start",
        "reverse_shell_download_content",
        "ssh_session_download_content"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "zebbern_exec",
        "exec_stream",
        "target_upload_file",
        "reverse_shell_listener_start",
        "reverse_shell_command",
        "reverse_shell_send_payload",
        "reverse_shell_status",
        "reverse_shell_stop",
        "reverse_shell_upload_content",
        "reverse_shell_download_content",
        "reverse_shell_generate_payload"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "ad_tools_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_bloodhound_collect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_secretsdump",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_kerberoast",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_asreproast",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_psexec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_wmiexec",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_ldap_enum",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_password_spray",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ad_smb_enum",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_graphql_introspect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_graphql_fuzz",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_jwt_analyze",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_jwt_crack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_fuzz_endpoint",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_rate_limit_test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_auth_bypass_test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_ffuf_fuzz",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_kiterunner_scan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_nuclei_scan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "api_newman_run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_latest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_check",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_generate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callback_wait",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "zebbern_exec",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name"
        ]
      }
    },
    {
      "tool": "exec_stream",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name"
        ]
      }
    },
    {
      "tool": "health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "job_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "job_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "job_output",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "job_cancel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "system_network_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "send_input",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_output",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ctf_connect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ctf_list_challenges",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ctf_get_challenge",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ctf_submit_flag",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ctf_download_file",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "ctf_scoreboard",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "ctf_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exploit_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exploit_suggest_from_nmap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exploit_suggest_for_service",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exploit_details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "exploit_copy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kali_upload",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kali_download",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "target_upload_file",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"upload_file\""
        ]
      }
    },
    {
      "tool": "target_download_file",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "hosts_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hosts_remove",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hosts_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hosts_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_nmap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_nikto",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_ssh_audit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_gobuster",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_wpscan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_sqlmap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_hydra",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_john",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_enum4linux",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_subfinder",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_httpx",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_arjun",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_fierce",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_byp4xx",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_subzy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_assetfinder",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_waybackurls",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_masscan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_katana",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_sslscan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_crtsh",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_gowitness",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tools_amass",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cve_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cve_package_audit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "msf_session_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "msf_session_execute",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "msf_session_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "msf_session_destroy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "msf_session_destroy_all",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_chisel_server",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_chisel_client",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_ssh_local",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_ssh_remote",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_ssh_dynamic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_socat_forward",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_ligolo_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_list_tunnels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_stop_tunnel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_stop_all_tunnels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_list_pivots",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_add_pivot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_remove",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pivot_generate_proxychains",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_tool_output",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "payload_templates",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "payload_generate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "payload_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "payload_host_start",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "payload_host_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "payload_one_liner",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reverse_shell_listener_start",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_command",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_send_payload",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_status",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_stop",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_upload_content",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_download_content",
      "tags": [
        "untrusted-input",
        "code-exec"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ],
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reverse_shell_generate_payload",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "ssh_session_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_session_command",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_session_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_session_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_sessions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_session_upload_content",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ssh_session_download_content",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"download\""
        ]
      }
    },
    {
      "tool": "ssh_estimate_transfer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "vpn_connect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "vpn_disconnect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "vpn_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fingerprint_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fingerprint_waf",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fingerprint_headers",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "d27e223bf2967c6a230a21f22cf2f05bd4fa26d1a311be90f65dc62dc692680d",
  "stats": {
    "tools": 133,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 10,
      "medium": 1,
      "low": 16,
      "info": 1
    }
  }
}