Raw scan report

Mnehmos.ooda.mcp — 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": "mnehmos.ooda.mcp",
    "source": {
      "kind": "package",
      "origin": "mnehmos.ooda.mcp"
    },
    "server": {
      "name": "mnehmos.ooda.mcp"
    }
  },
  "grade": "B",
  "score": {
    "score": 89,
    "threatScore": 100,
    "grade": "B",
    "band": "B",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "client",
        "term": "capability-exposure",
        "level": "critical",
        "label": "capability blast radius (critical) — client exposure if the model is manipulated",
        "appliedPenalty": 10
      },
      {
        "kind": "client",
        "term": "verification-discount",
        "level": "repo",
        "label": "publisher verification (public source) — no provenance, but the source is public and inspectable",
        "appliedPenalty": 1
      },
      {
        "kind": "client",
        "term": "coverage-honesty",
        "level": "source",
        "label": "inspection depth (source) — how much of the target the scan could see",
        "appliedPenalty": 0
      }
    ],
    "gatesFired": [],
    "methodologyVersion": "mcptrustchecker-1.13"
  },
  "capability": {
    "level": "critical",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can create, modify or delete files",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "can execute shell commands or code",
      "untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)",
      "untrusted input can reach code execution"
    ],
    "tags": [
      "code-exec",
      "sensitive-source",
      "file-write",
      "untrusted-input"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (100 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-002",
      "title": "Completed toxic-flow trifecta across tools",
      "category": "exfiltration",
      "severity": "critical",
      "confidence": "strong",
      "description": "This server (without client built-ins) exposes a complete data-exfiltration chain: get_page_content → batch_read_files → batch_exec_cli. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.",
      "remediation": "Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.",
      "location": {
        "kind": "flow",
        "name": "get_page_content → batch_read_files → batch_exec_cli"
      },
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "untrusted": [
          "read_process_output",
          "get_page_content"
        ],
        "sources": [
          "read_file",
          "read_file_lines",
          "batch_read_files",
          "batch_tools",
          "get_environment"
        ],
        "sinks": [
          "exec_cli",
          "execute_code",
          "batch_exec_cli"
        ],
        "path": [
          "get_page_content",
          "batch_read_files",
          "batch_exec_cli"
        ],
        "edges": [
          {
            "from": "get_page_content",
            "to": "batch_read_files",
            "kind": "agent-mediated"
          },
          {
            "from": "batch_read_files",
            "to": "batch_exec_cli",
            "kind": "agent-mediated"
          }
        ],
        "wired": false
      }
    },
    {
      "ruleId": "MTC-SRC-010",
      "title": "Dynamic evaluation of a non-literal value (dist/tools/browser/providers/puppeteerProvider.js)",
      "category": "injection",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/browser/providers/puppeteerProvider.js:76`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. 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": "dist/tools/browser/providers/puppeteerProvider.js"
      },
      "evidence": "line return eval(code); }, script); } async screenshot() { if (!this.page)",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-010",
        "file": "dist/tools/browser/providers/puppeteerProvider.js",
        "line": 76,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"exec_cli\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"exec_cli\" 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_cli"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"execute_code\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"execute_code\" appears to run shell commands or evaluate code (keyword \"execute code\" 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": "execute_code"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"batch_exec_cli\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"batch_exec_cli\" 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": "batch_exec_cli"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-001",
      "title": "Dynamic code execution in server code (dist/tools/browser/providers/puppeteerProvider.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/browser/providers/puppeteerProvider.js:76`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. 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": "dist/tools/browser/providers/puppeteerProvider.js"
      },
      "evidence": "line return eval(code); }, script); } async screenshot() { if (!this.page)",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-001",
        "file": "dist/tools/browser/providers/puppeteerProvider.js",
        "line": 76,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/cli.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/cli.js:2`): 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": "dist/tools/cli.js"
      },
      "evidence": "; import { exec } from 'child_process'; import fs from 'fs'; import path from 'path'; import { loadConfig } from '../con",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/cli.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/clipboard.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/clipboard.js:2`): 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": "dist/tools/clipboard.js"
      },
      "evidence": "; import { exec } from 'child_process'; import { promisify } from 'util'; import os from 'os'; import fs from 'fs'; impo",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/clipboard.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/executeCode.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/executeCode.js:4`): 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": "dist/tools/executeCode.js"
      },
      "evidence": "import { spawn } from 'child_process'; import { logAudit } from '../audit.js'; import { loadConfig } from '../config.js",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/executeCode.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/input.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/input.js:2`): 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": "dist/tools/input.js"
      },
      "evidence": "; import { exec } from 'child_process'; import { promisify } from 'util'; import os from 'os'; import { logAudit } from",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/input.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/screen.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/screen.js:2`): 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": "dist/tools/screen.js"
      },
      "evidence": "; import { exec } from 'child_process'; import { promisify } from 'util'; import fs from 'fs'; import path from 'path';",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/screen.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/sessions.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/sessions.js:4`): 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": "dist/tools/sessions.js"
      },
      "evidence": "import { spawn } from 'child_process'; import { logAudit } from '../audit.js'; import { loadConfig } from '../config.js",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/sessions.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/system.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/system.js:2`): 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": "dist/tools/system.js"
      },
      "evidence": "; import { exec } from 'child_process'; import { promisify } from 'util'; import os from 'os'; import { logAudit } from",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/system.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/tools/window.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/window.js:2`): 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": "dist/tools/window.js"
      },
      "evidence": "; import { exec } from 'child_process'; import { promisify } from 'util'; import os from 'os'; import { logAudit } from",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/window.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/utils/powerShellSession.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/utils/powerShellSession.js:1`): 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": "dist/utils/powerShellSession.js"
      },
      "evidence": "import { spawn } from 'child_process'; export class PowerShellSession { static instance; process = null; bu",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/utils/powerShellSession.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"write_file\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"write_file\" can write, overwrite or delete files (keyword \"write_file\" in tool name). Verify it is scoped to a safe directory.",
      "remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
      "location": {
        "kind": "tool",
        "name": "write_file"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"move_file\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"move_file\" can write, overwrite or delete files (keyword \"move_file\" in tool name). Verify it is scoped to a safe directory.",
      "remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
      "location": {
        "kind": "tool",
        "name": "move_file"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"delete_file\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"delete_file\" can write, overwrite or delete files (keyword \"delete_file\" in tool name). Verify it is scoped to a safe directory.",
      "remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
      "location": {
        "kind": "tool",
        "name": "delete_file"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"batch_write_files\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"batch_write_files\" can write, overwrite or delete files (keyword \"write_file\" in tool name). Verify it is scoped to a safe directory.",
      "remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
      "location": {
        "kind": "tool",
        "name": "batch_write_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"batch_move_files\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"batch_move_files\" can write, overwrite or delete files (keyword \"move_file\" in tool name). Verify it is scoped to a safe directory.",
      "remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
      "location": {
        "kind": "tool",
        "name": "batch_move_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"batch_delete_files\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"batch_delete_files\" can write, overwrite or delete files (keyword \"delete_file\" in tool name). Verify it is scoped to a safe directory.",
      "remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
      "location": {
        "kind": "tool",
        "name": "batch_delete_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"exec_cli\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"exec_cli\" 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_cli"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"execute_code\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"execute_code\" 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": "execute_code"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"write_file\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"write_file\" 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": "write_file"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"move_file\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"move_file\" 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": "move_file"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"delete_file\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"delete_file\" 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": "delete_file"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"batch_exec_cli\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"batch_exec_cli\" 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": "batch_exec_cli"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"batch_write_files\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"batch_write_files\" 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": "batch_write_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"batch_move_files\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"batch_move_files\" 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": "batch_move_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"batch_delete_files\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"batch_delete_files\" 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": "batch_delete_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "critical",
      "confidence": "strong",
      "untrustedInput": [
        "read_process_output",
        "get_page_content"
      ],
      "sensitiveSource": [
        "read_file",
        "read_file_lines",
        "batch_read_files",
        "batch_tools",
        "get_environment"
      ],
      "externalSink": [
        "exec_cli",
        "execute_code",
        "batch_exec_cli"
      ],
      "selfContained": false,
      "path": [
        "get_page_content",
        "batch_read_files",
        "batch_exec_cli"
      ],
      "pathWired": false,
      "description": "A cross-tool exfiltration chain exists: get_page_content → batch_read_files → batch_exec_cli."
    }
  ],
  "capabilities": [
    {
      "tool": "exec_cli",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name"
        ]
      }
    },
    {
      "tool": "execute_code",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"execute code\" in tool name"
        ]
      }
    },
    {
      "tool": "read_file",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "write_file",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"write_file\" in tool name"
        ]
      }
    },
    {
      "tool": "list_directory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "str_replace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "copy_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "move_file",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"move_file\" in tool name"
        ]
      }
    },
    {
      "tool": "delete_file",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"delete_file\" in tool name"
        ]
      }
    },
    {
      "tool": "file_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_file_lines",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "search_in_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_exec_cli",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"exec\" in tool name"
        ]
      }
    },
    {
      "tool": "batch_read_files",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "batch_write_files",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"write_file\" in tool name"
        ]
      }
    },
    {
      "tool": "batch_list_directories",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_copy_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_move_files",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"move_file\" in tool name"
        ]
      }
    },
    {
      "tool": "batch_delete_files",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"delete_file\" in tool name"
        ]
      }
    },
    {
      "tool": "batch_file_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_str_replace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_search_in_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "edit_block",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "apply_diff",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_diff_preview",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_edit_blocks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "write_from_line",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_tools",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "start_process",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "interact_with_process",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_process_output",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"read_pr\""
        ]
      }
    },
    {
      "tool": "list_sessions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "terminate_process",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_query",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_batch_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_batch_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_batch_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "crud_batch_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_screen_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait_for_screen_change",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_on_screen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "keyboard_type",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "keyboard_press",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "keyboard_shortcut",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mouse_move",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mouse_click",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mouse_drag",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mouse_scroll",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_mouse_position",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_keyboard_actions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_mouse_actions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_windows",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_active_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "focus_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "minimize_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "maximize_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "restore_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "close_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "resize_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "move_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "launch_application",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait_for_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clipboard_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clipboard_write",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clipboard_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clipboard_has_format",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_system_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_processes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kill_process",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_environment",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_env\""
        ]
      }
    },
    {
      "tool": "set_environment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_network_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "notify",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_config_value",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reset_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_usage_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_recent_tool_calls",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_audit_log_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_old_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_search_results",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_active_searches",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "launch_browser",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "close_browser",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "navigate_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_page_content",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"get_page\""
        ]
      }
    },
    {
      "tool": "click_element",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "type_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "evaluate_js",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_console_logs",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "1c70ef66a5b2511a9e56faf4ecb047fd1d521064526c13e387bb25cebcc7b633",
  "stats": {
    "tools": 100,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 1,
      "high": 14,
      "medium": 6,
      "low": 9,
      "info": 0
    }
  }
}