Raw scan report

R Adb — 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": "r-adb-mcp-server",
    "source": {
      "kind": "package",
      "origin": "r-adb-mcp-server"
    },
    "server": {
      "name": "r-adb-mcp-server"
    }
  },
  "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": [
      "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 (77 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 ([get_ui_hierarchy, list_files, read_file]) and tools that can send data out ([shell_command, send_sms]) 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": "get_ui_hierarchy → shell_command"
      },
      "evidence": "sources [get_ui_hierarchy, list_files, read_file] → sinks [shell_command, send_sms]",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "get_ui_hierarchy",
          "list_files",
          "read_file"
        ],
        "sinks": [
          "shell_command",
          "send_sms"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"shell_command\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"shell_command\" appears to run shell commands or evaluate code (keyword \"shell\" 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": "shell_command"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/adb_mcp_server/server.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/adb_mcp_server/server.py:32`): 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/adb_mcp_server/server.py"
      },
      "evidence": "try: result = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout) if result.returncod",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/adb_mcp_server/server.py",
        "line": 32,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"shell_command\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"shell_command\" 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": "shell_command"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "get_ui_hierarchy",
        "list_files",
        "read_file"
      ],
      "externalSink": [
        "shell_command",
        "send_sms"
      ],
      "selfContained": false,
      "path": [
        "get_ui_hierarchy",
        "send_sms"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: get_ui_hierarchy → send_sms."
    }
  ],
  "capabilities": [
    {
      "tool": "list_devices",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_device_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_screen_specs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot_to_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_screen_record",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_screen_record",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pull_recordings",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_ui_hierarchy",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"dump\""
        ]
      }
    },
    {
      "tool": "get_clickable_elements",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_element_by_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_element_by_id",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "tap_element",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "long_press",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "double_tap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "swipe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scroll_down",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scroll_up",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "scroll_to_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "input_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_text_field",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "press_key",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "press_back",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "press_home",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "press_recent_apps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_current_activity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "launch_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "launch_activity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "force_stop_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_app_data",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_packages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_app_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "install_apk",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "uninstall_app",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_logcat",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_logcat",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_flutter_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_crash_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_anr_traces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_memory_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_cpu_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_battery_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_gpu_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_frame_stats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_network_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_wifi",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_airplane_mode",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_proxy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_proxy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_show_taps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_show_layout_bounds",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_animation_scale",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "rotate_screen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "change_screen_size",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reset_screen_size",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "change_density",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reset_density",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "push_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pull_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_files",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"list_files\""
        ]
      }
    },
    {
      "tool": "read_file",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "shell_command",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "keyword \"shell\" in tool name"
        ]
      }
    },
    {
      "tool": "reboot_device",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_flutter_performance_overlay",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_flutter_app_running",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_accessibility_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_font_scale",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_talkback",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_high_contrast",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggle_color_inversion",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_location",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "send_sms",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"sms\""
        ]
      }
    },
    {
      "tool": "simulate_call",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "capture_screen_for_comparison",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_all_text_on_screen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_element_colors_at_position",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "f3972403570486c8552115d75b78cdb7b152ab9fb93e227dc4f9a6099787b5fe",
  "stats": {
    "tools": 77,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 0,
      "low": 1,
      "info": 0
    }
  }
}