Raw scan report

Macos Control — 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": "macos-control-mcp",
    "source": {
      "kind": "package",
      "origin": "macos-control-mcp"
    },
    "server": {
      "name": "macos-control-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 execute shell commands or code"
    ],
    "tags": [
      "untrusted-input",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (22 recovered), not enumerated from a running server. Tool-poisoning, Unicode-smuggling, capability and toxic-flow analysis ran on this inferred surface, but a mis-parsed registration could be missed or mis-attributed, so tool-derived findings are capped below “confirmed”. To grade the real runtime surface, scan the running server: --command \"npx -y <package>\"."
    ]
  },
  "findings": [
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/src/tools/apps.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/src/tools/apps.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": "build/src/tools/apps.js"
      },
      "evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; import { runAppleScript, escapeForAppleSc",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/src/tools/apps.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/src/tools/ocr.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/src/tools/ocr.js: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": "build/src/tools/ocr.js"
      },
      "evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; import { unlink } from \"node:fs/promises\"",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/src/tools/ocr.js",
        "line": 3,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/src/utils/applescript.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/src/utils/applescript.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": "build/src/utils/applescript.js"
      },
      "evidence": "rt { spawn } from \"node:child_process\"; const TIMEOUT_MS = 10_000; export class AppleScriptError extends Error { kin",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/src/utils/applescript.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/src/utils/python.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/src/utils/python.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": "build/src/utils/python.js"
      },
      "evidence": "ile, spawn } from \"node:child_process\"; import { promisify } from \"node:util\"; import { resolve } from \"node:path\"; impo",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/src/utils/python.js",
        "line": 1,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (build/src/utils/screenshot.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/src/utils/screenshot.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": "build/src/utils/screenshot.js"
      },
      "evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; import { readFile, unlink } from \"node:fs",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/src/utils/screenshot.js",
        "line": 1,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screen_ocr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_text_on_screen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "click_at",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "double_click_at",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "type_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "press_key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scroll",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "launch_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_running_apps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_ui_elements",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "click_element",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "open_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_clipboard",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_clipboard",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "execute_javascript",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_page_text",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"get_page\""
        ]
      }
    },
    {
      "tool": "get_page_elements",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"get_page\""
        ]
      }
    },
    {
      "tool": "click_by_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fill_by_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "select_option",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "batch_actions",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "da83234c4e7b73aecb0b5a90bc672250b4ee05ffa080384193d95241958ad28a",
  "stats": {
    "tools": 22,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 5,
      "medium": 0,
      "low": 0,
      "info": 0
    }
  }
}