Raw scan report

Ha Connect — 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": "@coffeerunhobby/mcp-ha-connect",
    "source": {
      "kind": "package",
      "origin": "@coffeerunhobby/mcp-ha-connect"
    },
    "server": {
      "name": "@coffeerunhobby/mcp-ha-connect"
    }
  },
  "grade": "A",
  "score": {
    "score": 97,
    "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": "moderate",
        "label": "capability blast radius (moderate) — client exposure if the model is manipulated",
        "appliedPenalty": 3
      },
      {
        "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": "moderate",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service"
    ],
    "tags": [
      "external-sink",
      "untrusted-input"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (67 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-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([omada_browse, omada_read]) co-exist with external-action tools ([sendNotification]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
      "remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
      "location": {
        "kind": "flow",
        "name": "omada_browse → sendNotification"
      },
      "evidence": "untrusted [omada_browse, omada_read] → sinks [sendNotification]",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "omada_browse",
          "omada_read"
        ],
        "sinks": [
          "sendNotification"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/security/dependencies.test.ts)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/security/dependencies.test.ts: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": "tests/security/dependencies.test.ts"
      },
      "evidence": "ecFileSync } from 'node:child_process'; import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/security/dependencies.test.ts",
        "line": 17,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "omada_browse",
        "omada_read"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "sendNotification"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "analyzeSensors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "enableAutomation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "disableAutomation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "toggleAutomation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reloadAutomations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listCalendars",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getCalendarEvents",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "callService",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "controlClimate",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "controlCover",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "controlFan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "controlLight",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "controlMediaPlayer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createAutomation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deleteAutomation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "entityAction",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getAllSensors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getAutomationTrace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getDomainSummary",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getEntitiesByDomain",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getHistory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getState",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getStates",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getVersion",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listAutomations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listEntities",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listPersons",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "activateScene",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "runScript",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "searchEntities",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sendNotification",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"send_message\""
        ]
      }
    },
    {
      "tool": "listNotificationTargets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "restartHomeAssistant",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getSystemLog",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "checkUpdates",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "triggerAutomation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "invokeAction",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_blockClient",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_cyclePoePort",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_disableClientRateLimit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getClient",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getDevice",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getFirewallSetting",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getInternetInfo",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getLanNetworkList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getLanProfileList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getPortForwardingStatus",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getRateLimitProfiles",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getSsidDetail",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getSsidList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getSwitchStackDetail",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getThreatList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_getWlanGroupList",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_browse",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"browse\""
        ]
      }
    },
    {
      "tool": "omada_read",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"browse\""
        ]
      }
    },
    {
      "tool": "omada_listClients",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_listClientsActivity",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_listClientsPastConnections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_listDevices",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_listDevicesStats",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_listMostActiveClients",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_listSites",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_searchDevices",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_setClientRateLimit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_setClientRateLimitProfile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_setSsidEnabled",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "omada_unblockClient",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "d07900748007c7451f318aaae6e97d6ee06d716cc52036b988f64dbbdc004e86",
  "stats": {
    "tools": 67,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 0,
      "medium": 1,
      "low": 1,
      "info": 0
    }
  }
}