Raw scan report

Ascript — 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": "ascript-mcp",
    "source": {
      "kind": "package",
      "origin": "ascript-mcp"
    },
    "server": {
      "name": "ascript-mcp"
    }
  },
  "grade": "A",
  "score": {
    "score": 92,
    "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": "none",
        "label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
        "appliedPenalty": 2
      },
      {
        "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 (29 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 ([dump_ui_tree]) and tools that can send data out ([eval_python, upload_file]) 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": "dump_ui_tree → eval_python"
      },
      "evidence": "sources [dump_ui_tree] → sinks [eval_python, upload_file]",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "dump_ui_tree"
        ],
        "sinks": [
          "eval_python",
          "upload_file"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"eval_python\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"eval_python\" appears to run shell commands or evaluate code (keyword \"eval\" 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": "eval_python"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/ascript_mcp/device.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/ascript_mcp/device.py:531`): 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": "src/ascript_mcp/device.py"
      },
      "evidence": "try: result = subprocess.run( [adb, \"devices\"], capture_output=True, text=",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/ascript_mcp/device.py",
        "line": 531,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-006",
      "title": "Unconstrained command parameter \"code\" on \"eval_python\"",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"eval_python\" takes a command-shaped parameter \"code\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
      "remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
      "location": {
        "kind": "tool",
        "name": "eval_python",
        "field": "inputSchema.properties.code"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "param": "code"
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"eval_python\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"eval_python\" 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": "eval_python"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package declares no source repository",
      "category": "supply-chain",
      "severity": "info",
      "confidence": "strong",
      "description": "\"ascript-mcp\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
      "remediation": "Prefer packages that link to public, reviewable source.",
      "location": {
        "kind": "package",
        "name": "ascript-mcp"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "dump_ui_tree"
      ],
      "externalSink": [
        "eval_python",
        "upload_file"
      ],
      "selfContained": false,
      "path": [
        "dump_ui_tree",
        "eval_python"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: dump_ui_tree → eval_python."
    }
  ],
  "capabilities": [
    {
      "tool": "get_platform_overview",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_module_apis",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_api",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_code_example",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_setup_guide",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "auto_connect",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scan_devices",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "connect_device",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "observe_device",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_and_run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screen_capture",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "dump_ui_tree",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"dump\""
        ]
      }
    },
    {
      "tool": "test_selector",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ocr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_colors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "compare_colors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_python_packages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_device_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "eval_python",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"eval\" in tool name"
        ]
      }
    },
    {
      "tool": "run_project_debug",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_run_log",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_plugins",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_plugin_detail",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_project_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upload_file",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"upload_file\""
        ]
      }
    }
  ],
  "surfaceDigest": "215305dc78b85f0545c28b81923266b78c6de0a514f22cff13dfda6b349773f4",
  "stats": {
    "tools": 29,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 1,
      "low": 1,
      "info": 1
    }
  }
}