Raw scan report

Stackchan — 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": "stackchan-mcp",
    "source": {
      "kind": "package",
      "origin": "stackchan-mcp"
    },
    "server": {
      "name": "stackchan-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": [
      "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 (49 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 (stackchan_mcp/cli.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`stackchan_mcp/cli.py:236`): 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": "stackchan_mcp/cli.py"
      },
      "evidence": "try: result = subprocess.run( [\"lsof\", f\"-iTCP:{port}\", \"-sTCP:LISTEN\", \"-Fpcn\"], capt",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "stackchan_mcp/cli.py",
        "line": 236,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (stackchan_mcp/ownership.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`stackchan_mcp/ownership.py:128`): 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": "stackchan_mcp/ownership.py"
      },
      "evidence": "try: result = subprocess.run( [\"ps\", \"-o\", \"lstart=\", \"-p\", str(pid)], capture_output=",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "stackchan_mcp/ownership.py",
        "line": 128,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SUP-012",
      "title": "Package has no license",
      "category": "hygiene",
      "severity": "info",
      "confidence": "strong",
      "description": "\"stackchan-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
      "location": {
        "kind": "package",
        "name": "stackchan-mcp"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "get_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_device_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "take_photo",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_volume",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_brightness",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "move_head",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackchan_follow_pose_stream",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stackchan_follow_led_stream",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_head_angles",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gpio_test",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "uart_diag",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_vm_en",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gateway_config_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gateway_config_set",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_touch_sensor_enabled",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_touch_sensor_enabled",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_avatar",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_mouth",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_mouth_sequence",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_blink",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_servo_torque",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_auto_torque_release",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_touch_state",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_led",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_all_leds",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_leds",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "clear_leds",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_b_ws2812_init",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_b_ws2812_set_pixel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_b_ws2812_set_strip",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_b_ws2812_refresh",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_b_ws2812_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_c_ws2812_init",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_c_ws2812_set_pixel",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_c_ws2812_set_strip",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_c_ws2812_refresh",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "port_c_ws2812_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "say",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listen",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "beat_mode_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "beat_mode_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "beat_mode_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "beat_meta_snapshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "beat_clip_save",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "i2c_scan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "i2c_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "i2c_write",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "i2c_write_read",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "load_avatar_set",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "61a009e6045312ed164a3cd5dfb2a408ca13f82aee4c45840f187c33dedba112",
  "stats": {
    "tools": 49,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 0,
      "low": 0,
      "info": 1
    }
  }
}