Raw scan report

Baepsae — 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": "mcp-baepsae",
    "source": {
      "kind": "package",
      "origin": "mcp-baepsae"
    },
    "server": {
      "name": "mcp-baepsae"
    }
  },
  "grade": "A",
  "score": {
    "score": 93,
    "threatScore": 99,
    "grade": "A",
    "band": "A",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 1.2,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-SUP-010",
        "category": "supply-chain",
        "severity": "low",
        "confidence": "heuristic",
        "rawWeight": 3,
        "confidenceMult": 0.4,
        "diminishingFactor": 1,
        "appliedPenalty": 1.2
      },
      {
        "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": "source",
        "label": "publisher verification (provenance) — cryptographic build provenance ties the artifact to its source",
        "appliedPenalty": 0
      },
      {
        "kind": "client",
        "term": "coverage-honesty",
        "level": "source",
        "label": "inspection depth (source) — how much of the target the scan could see",
        "appliedPenalty": 0
      }
    ],
    "gatesFired": [],
    "methodologyVersion": "mcptrustchecker-1.13"
  },
  "capability": {
    "level": "high",
    "reasons": [
      "can execute shell commands or code"
    ],
    "tags": [
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (47 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 (dist/tools/info.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/info.js:5`): 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/info.js"
      },
      "evidence": "uire(\"zod\"); const node_child_process_1 = require(\"node:child_process\"); const utils_js_1 = require(\"../utils.js\"); func",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/tools/info.js",
        "line": 5,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/utils.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/utils.js:17`): 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.js"
      },
      "evidence": "eBinaryPath; const node_child_process_1 = require(\"node:child_process\"); const node_fs_1 = require(\"node:fs\"); const pro",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/utils.js",
        "line": 17,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (scripts/dump-tabbar-actions.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/dump-tabbar-actions.mjs:5`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
      "remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
      "location": {
        "kind": "server",
        "name": "scripts/dump-tabbar-actions.mjs"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirna",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "scripts/dump-tabbar-actions.mjs",
        "line": 5,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (scripts/research-coordinate-calibration.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/research-coordinate-calibration.mjs: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": "scripts/research-coordinate-calibration.mjs"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { Client } from \"@modelcontextprotocol/sdk/client/index.js\"; import { St",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "scripts/research-coordinate-calibration.mjs",
        "line": 4,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (scripts/research-input-channels.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/research-input-channels.mjs: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": "scripts/research-input-channels.mjs"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { Client } from \"@modelcontextprotocol/sdk/client/index.js\"; import { St",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "scripts/research-input-channels.mjs",
        "line": 4,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (scripts/research-tap-tab-grid.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/research-tap-tab-grid.mjs: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": "scripts/research-tap-tab-grid.mjs"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import { Client } from \"@modelcontextprotocol/sdk/client/index.js\"; import { St",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "scripts/research-tap-tab-grid.mjs",
        "line": 4,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal in packaging/dev tooling (scripts/generate-tool-manifest.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/generate-tool-manifest.mjs:11`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
      "remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
      "location": {
        "kind": "server",
        "name": "scripts/generate-tool-manifest.mjs"
      },
      "evidence": "ORY_LABELS_KR } = await import(manifestUrl); const READMES = [ { file: path.join(projectRoot, \"README.md\"), h",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "scripts/generate-tool-manifest.mjs",
        "line": 11,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SUP-010",
      "title": "Package runs install-time scripts (postinstall)",
      "category": "supply-chain",
      "severity": "low",
      "confidence": "heuristic",
      "description": "\"mcp-baepsae\" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.",
      "remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
      "location": {
        "kind": "package",
        "name": "mcp-baepsae"
      },
      "evidence": "if [ \"$(uname)\" = \"Darwin\" ]; then if [ -f bundled/baepsae-native ] && bundled/baepsae-native --version >/dev/null 2>&1; then exit 0; fi; if command -v swift >/",
      "owasp": "LLM03:2025 Supply Chain",
      "references": [
        "https://github.com/ossf/package-analysis",
        "https://owasp.org/www-project-top-10-ci-cd-security-risks/"
      ],
      "data": {
        "scripts": [
          "postinstall"
        ]
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "baepsae_help",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "baepsae_version",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "doctor",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_apps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_focused_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "button",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "key_sequence",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "key_combo",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "touch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gesture",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "input_source",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_input_sources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stream_video",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "record_video",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_simulators",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "open_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "install_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "uninstall_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "launch_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "terminate_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_windows",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "activate_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "right_click",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "menu_action",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clipboard",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "focus_window",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "context_menu_action",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "watch_notification",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "analyze_ui",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "query_ui",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "type_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "swipe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scroll",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "drag_drop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tap_tab",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wait_for_ui",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "detect_dialog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_ui_value",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_ui_param",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_ui_value",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "hit_test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "enumerate_ui",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_steps",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "d4ef22dc8b086e35b0a04413e170ba6d6f1ed6363f9c161d7a13eb4465ebde67",
  "stats": {
    "tools": 47,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 0,
      "low": 6,
      "info": 0
    }
  }
}