Raw scan report

Souschef — 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.

← Back to the scan page
{
  "tool": {
    "name": "mcptrustchecker",
    "version": "1.9.0",
    "methodologyVersion": "mcptrustchecker-1.9"
  },
  "target": {
    "id": "mcp-souschef",
    "source": {
      "kind": "package",
      "origin": "mcp-souschef"
    },
    "server": {
      "name": "mcp-souschef"
    }
  },
  "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 send data / act on an external service",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "can execute shell commands or code"
    ],
    "tags": [
      "sensitive-source",
      "code-exec",
      "external-sink"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (97 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-FLOW-004",
      "title": "Sensitive-source and external-sink co-exist",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "strong",
      "description": "Tools that read sensitive data ([read_file]) and tools that can send data out ([parse_powershell, convert_powershell, generate_powershell_role, generate_powershell_job_template, analyze_powershell_fidelity, parse_bash_script, convert_bash_to_ansible, generate_ansible_role_from_bash]) are exposed together. An agent can move private data to the sink.",
      "remediation": "Keep secret-reading and egress capabilities on separate, separately-approved servers.",
      "location": {
        "kind": "flow",
        "name": "read_file → parse_powershell"
      },
      "evidence": "sources [read_file] → sinks [parse_powershell, convert_powershell, generate_powershell_role, generate_powershell_job_template, analyze_powershell_fidelity, pars",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "read_file"
        ],
        "sinks": [
          "parse_powershell",
          "convert_powershell",
          "generate_powershell_role",
          "generate_powershell_job_template",
          "analyze_powershell_fidelity",
          "parse_bash_script",
          "convert_bash_to_ansible",
          "generate_ansible_role_from_bash"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"parse_powershell\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"parse_powershell\" appears to run shell commands or evaluate code (keyword \"powershell\" 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": "parse_powershell"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"convert_powershell\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"convert_powershell\" appears to run shell commands or evaluate code (keyword \"powershell\" 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": "convert_powershell"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"generate_powershell_role\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"generate_powershell_role\" appears to run shell commands or evaluate code (keyword \"powershell\" 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": "generate_powershell_role"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"generate_powershell_job_template\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"generate_powershell_job_template\" appears to run shell commands or evaluate code (keyword \"powershell\" 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": "generate_powershell_job_template"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"analyze_powershell_fidelity\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"analyze_powershell_fidelity\" appears to run shell commands or evaluate code (keyword \"powershell\" 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": "analyze_powershell_fidelity"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"parse_bash_script\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"parse_bash_script\" appears to run shell commands or evaluate code (keyword \"bash\" 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": "parse_bash_script"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"convert_bash_to_ansible\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"convert_bash_to_ansible\" appears to run shell commands or evaluate code (keyword \"bash\" 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": "convert_bash_to_ansible"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"generate_ansible_role_from_bash\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"generate_ansible_role_from_bash\" appears to run shell commands or evaluate code (keyword \"bash\" 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": "generate_ansible_role_from_bash"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/ansible_upgrade.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/ansible_upgrade.py:10`): 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": "souschef/ansible_upgrade.py"
      },
      "evidence": "alls use list args, not shell=True from datetime import date from pathlib import Path from typing import Any, NotRequire",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/ansible_upgrade.py",
        "line": 10,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/cli/__init__.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/cli/__init__.py:1667`): 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": "souschef/cli/__init__.py"
      },
      "evidence": "p the server\") subprocess.run(cmd, check=True) except subprocess.CalledProcessError as e: click.ec",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/cli/__init__.py",
        "line": 1667,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/converters/playbook.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/converters/playbook.py:919`): 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": "souschef/converters/playbook.py"
      },
      "evidence": "ailure result = subprocess.run( [\"ansible-lint\", \"--nocolor\", \"-p\", tmp_path], capture_o",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/converters/playbook.py",
        "line": 919,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/generators/repo.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/generators/repo.py:601`): 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": "souschef/generators/repo.py"
      },
      "evidence": "Initialize git subprocess.run( [\"git\", \"init\"], cwd=repo_path, check=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/generators/repo.py",
        "line": 601,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/migration_v2.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/migration_v2.py:1479`): 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": "souschef/migration_v2.py"
      },
      "evidence": "s] result = subprocess.run( [\"ansible-lint\", \"--nocolor\", *playbook_paths],",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/migration_v2.py",
        "line": 1479,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/parsers/ansible_inventory.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/parsers/ansible_inventory.py:374`): 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": "souschef/parsers/ansible_inventory.py"
      },
      "evidence": "try: result = subprocess.run( command, capture_output=True, text=True, check=True, timeout=10",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/parsers/ansible_inventory.py",
        "line": 374,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/parsers/powershell.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/parsers/powershell.py:345`): 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": "souschef/parsers/powershell.py"
      },
      "evidence": "turn None result = subprocess.run( [ pwsh_path, \"-NoLogo\", \"-NoProfile\"",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/parsers/powershell.py",
        "line": 345,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/ui/pages/cookbook_analysis.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/ui/pages/cookbook_analysis.py:2470`): 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": "souschef/ui/pages/cookbook_analysis.py"
      },
      "evidence": "try: result = subprocess.run( [\"which\", \"git\"], capture_output=True, text=",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/ui/pages/cookbook_analysis.py",
        "line": 2470,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (souschef/ui/pages/validation_reports.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/ui/pages/validation_reports.py:29`): 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": "souschef/ui/pages/validation_reports.py"
      },
      "evidence": "try: result = subprocess.run( [sys.executable, \"-m\", \"ansible_lint\", str(playbook_path)],",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "souschef/ui/pages/validation_reports.py",
        "line": 29,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (souschef/assessment.py)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`souschef/assessment.py:2901`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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": "souschef/assessment.py"
      },
      "evidence": "try: response = requests.post( \"https://api.anthropic.com/v1/messages\", headers={",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "souschef/assessment.py",
        "line": 2901,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"parse_powershell\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"parse_powershell\" 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": "parse_powershell"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"convert_powershell\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"convert_powershell\" 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": "convert_powershell"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"generate_powershell_role\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"generate_powershell_role\" 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": "generate_powershell_role"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"generate_powershell_job_template\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"generate_powershell_job_template\" 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": "generate_powershell_job_template"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"analyze_powershell_fidelity\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"analyze_powershell_fidelity\" 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": "analyze_powershell_fidelity"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"parse_bash_script\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"parse_bash_script\" 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": "parse_bash_script"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"convert_bash_to_ansible\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"convert_bash_to_ansible\" 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": "convert_bash_to_ansible"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"generate_ansible_role_from_bash\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"generate_ansible_role_from_bash\" 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": "generate_ansible_role_from_bash"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "read_file"
      ],
      "externalSink": [
        "parse_powershell",
        "convert_powershell",
        "generate_powershell_role",
        "generate_powershell_job_template",
        "analyze_powershell_fidelity",
        "parse_bash_script",
        "convert_bash_to_ansible",
        "generate_ansible_role_from_bash"
      ],
      "selfContained": false,
      "path": [
        "read_file",
        "analyze_powershell_fidelity"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: read_file → analyze_powershell_fidelity."
    }
  ],
  "capabilities": [
    {
      "tool": "parse_template",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_custom_resource",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_directory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_file",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "import_offline_bundle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_cookbook_metadata",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_cookbook_metadata",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_recipe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_attributes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_cookbook_structure",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_resource_to_task",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_inspec_profile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_inspec_to_test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_inspec_from_recipe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_chef_databag_to_vars",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "_validate_databags_directory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyse_chef_databag_usage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_chef_environment_to_inventory_group",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_inventory_from_chef_environments",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyse_chef_environment_usage",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assess_chef_migration_complexity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_migration_plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyse_cookbook_dependencies",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_migration_report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_conversion",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_chef_server_connection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_chef_nodes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_chef_roles",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_chef_environments",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_chef_cookbooks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_chef_policies",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_template_with_ai",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_habitat_plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyse_chef_search_patterns",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "profile_cookbook_performance",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "profile_parsing_operation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_jenkinsfile_from_chef",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_gitlab_ci_from_chef",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_github_workflow_from_chef",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assign_github_copilot_to_issue",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pause_github_copilot_agent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_github_copilot_agent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "resume_github_copilot_agent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_github_copilot_agent_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_ansible_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_chef_migration_assessment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_cookbook_comprehensive",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_all_cookbooks_comprehensive",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "simulate_chef_to_awx_migration",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assess_ansible_upgrade_readiness",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "plan_ansible_upgrade",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_ansible_eol_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_ansible_collection_compatibility",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_ansible_upgrade_test_plan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_migration_version_combinations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_version_combination_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "configure_migration_simulation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_v2_migration",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_v2_migration",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_v2_playbooks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "rollback_v2_migration",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "query_chef_server",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_chef_handler",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_chef_handler_to_ansible",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_handler_routing_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_salt_sls",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_salt_pillar",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_salt_top",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_salt_directory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_salt_to_ansible",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "query_salt_master",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "assess_salt_migration_complexity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "plan_salt_migration",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_salt_migration_report",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_salt_inventory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_salt_pillar_to_vars",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_salt_directory_to_ansible",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_powershell",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"powershell\" in tool name"
        ]
      }
    },
    {
      "tool": "convert_powershell",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"powershell\" in tool name"
        ]
      }
    },
    {
      "tool": "generate_windows_inventory_tool",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_windows_requirements",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_powershell_role",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"powershell\" in tool name"
        ]
      }
    },
    {
      "tool": "generate_powershell_job_template",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"powershell\" in tool name"
        ]
      }
    },
    {
      "tool": "analyze_powershell_fidelity",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"powershell\" in tool name"
        ]
      }
    },
    {
      "tool": "parse_bash_script",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"bash\" in tool name"
        ]
      }
    },
    {
      "tool": "convert_bash_to_ansible",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"bash\" in tool name"
        ]
      }
    },
    {
      "tool": "generate_ansible_role_from_bash",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"bash\" in tool name"
        ]
      }
    },
    {
      "tool": "list_puppet_server_nodes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "import_puppet_catalog_to_ir",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_puppet_manifest",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "parse_puppet_module",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_puppet_manifest_to_ansible",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_puppet_module_to_ansible",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_puppet_resource_to_task",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_puppet_supported_resource_types",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_puppet_manifest_to_ansible_with_ai",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "convert_puppet_module_to_ansible_with_ai",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "346d703f8464bd17dbd5c75e90c52cf9d6594749901d31e99ab8f6f1dd3def55",
  "stats": {
    "tools": 97,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 18,
      "medium": 1,
      "low": 8,
      "info": 0
    }
  }
}