Raw scan report

Browserstack — 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": "@browserstack/mcp-server",
    "source": {
      "kind": "package",
      "origin": "@browserstack/mcp-server"
    },
    "server": {
      "name": "@browserstack/mcp-server"
    }
  },
  "grade": "A",
  "score": {
    "score": 94,
    "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": "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": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service",
      "can execute shell commands or code"
    ],
    "tags": [
      "untrusted-input",
      "external-sink",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (45 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/lib/local.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/lib/local.js:2`): 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/lib/local.js"
      },
      "evidence": "port { execSync } from \"child_process\"; import { Local } from \"browserstack-local\"; import config from \"../config.js\"; a",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/lib/local.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-FLOW-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([fetchAccessibilityIssues, fetchAutomationScreenshots, getFailureLogs, fetchSelfHealedSelectors, getTestPlan, getSubTestPlan]) co-exist with external-action tools ([uploadProductRequirementFile]). 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": "fetchAccessibilityIssues → uploadProductRequirementFile"
      },
      "evidence": "untrusted [fetchAccessibilityIssues, fetchAutomationScreenshots, getFailureLogs, fetchSelfHealedSelectors, getTestPlan, getSubTestPlan] → sinks [uploadProductRe",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "fetchAccessibilityIssues",
          "fetchAutomationScreenshots",
          "getFailureLogs",
          "fetchSelfHealedSelectors",
          "getTestPlan",
          "getSubTestPlan"
        ],
        "sinks": [
          "uploadProductRequirementFile"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (dist/tools/review-agent-utils/percy-approve-reject.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/tools/review-agent-utils/percy-approve-reject.js:18`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. 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/review-agent-utils/percy-approve-reject.js"
      },
      "evidence": "const response = await fetch(\"https://percy.io/api/v1/reviews\", { method: \"POST\", headers: {",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "dist/tools/review-agent-utils/percy-approve-reject.js",
        "line": 18,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "fetchAccessibilityIssues",
        "fetchAutomationScreenshots",
        "getFailureLogs",
        "fetchSelfHealedSelectors",
        "getTestPlan",
        "getSubTestPlan"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "uploadProductRequirementFile"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "accessibilityExpert",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "startAccessibilityScan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createAccessibilityAuthConfig",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getAccessibilityAuthConfig",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fetchAccessibilityIssues",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "takeAppScreenshot",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "runAppTestsOnBrowserStack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "setupBrowserStackAppAutomateTests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "runAppLiveSession",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fetchAutomationScreenshots",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "setupBrowserStackAutomateTests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fetchBuildInsights",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getFailureLogs",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "runBrowserLiveSession",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getFailuresInLastRun",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "percyVisualTestIntegrationAgent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "expandPercyVisualTesting",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "addPercySnapshotCommands",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listTestFiles",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "runPercyScan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fetchPercyChanges",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "managePercyBuildApproval",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fetchRCA",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getBuildId",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listBuildId",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listTestIds",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fetchSelfHealedSelectors",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "prepareSelfHealingPlan",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createProjectOrFolder",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createTestCase",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "updateTestCase",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listTestCases",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listFolders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listTestCaseTemplates",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createTestRun",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listTestRuns",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "updateTestRun",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "addTestResult",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "uploadProductRequirementFile",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"upload_file\""
        ]
      }
    },
    {
      "tool": "createTestCasesFromFile",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "createLCASteps",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "listTestPlans",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getTestPlan",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "listSubTestPlans",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "getSubTestPlan",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    }
  ],
  "surfaceDigest": "ecdb2ac282e98d9b3402d457e8d546d82779a92f6dcbe5b374d1a7e66c9ce259",
  "stats": {
    "tools": 45,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 2,
      "low": 0,
      "info": 0
    }
  }
}