Raw scan report

Bitbucket — 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": "mcp-server-bitbucket",
    "source": {
      "kind": "package",
      "origin": "mcp-server-bitbucket"
    },
    "server": {
      "name": "mcp-server-bitbucket"
    }
  },
  "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": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "can send data / act on an external service",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)"
    ],
    "tags": [
      "external-sink",
      "sensitive-source",
      "untrusted-input"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (73 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-002",
      "title": "Completed toxic-flow trifecta across tools",
      "category": "exfiltration",
      "severity": "critical",
      "confidence": "strong",
      "description": "This server (without client built-ins) exposes a complete data-exfiltration chain: list_directory → get_environment → create_pull_request. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.",
      "remediation": "Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.",
      "location": {
        "kind": "flow",
        "name": "list_directory → get_environment → create_pull_request"
      },
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "untrusted": [
          "list_directory"
        ],
        "sources": [
          "get_pipeline_logs",
          "get_environment",
          "get_file_content"
        ],
        "sinks": [
          "create_pull_request",
          "create_webhook",
          "delete_webhook"
        ],
        "path": [
          "list_directory",
          "get_environment",
          "create_pull_request"
        ],
        "edges": [
          {
            "from": "list_directory",
            "to": "get_environment",
            "kind": "agent-mediated"
          },
          {
            "from": "get_environment",
            "to": "create_pull_request",
            "kind": "agent-mediated"
          }
        ],
        "wired": false
      }
    },
    {
      "ruleId": "MTC-CAP-007",
      "title": "Unconstrained URL/host parameter \"url\" on \"create_webhook\"",
      "category": "network",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"create_webhook\" takes a URL/host parameter \"url\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
      "remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
      "location": {
        "kind": "tool",
        "name": "create_webhook",
        "field": "inputSchema.properties.url"
      },
      "owasp": "LLM06:2025 Excessive Agency",
      "data": {
        "param": "url"
      }
    },
    {
      "ruleId": "MTC-CAP-008",
      "title": "Unconstrained path parameter \"path\" on \"get_file_content\"",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"get_file_content\" takes a path parameter \"path\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
      "remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
      "location": {
        "kind": "tool",
        "name": "get_file_content",
        "field": "inputSchema.properties.path"
      },
      "data": {
        "param": "path"
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "critical",
      "confidence": "strong",
      "untrustedInput": [
        "list_directory"
      ],
      "sensitiveSource": [
        "get_pipeline_logs",
        "get_environment",
        "get_file_content"
      ],
      "externalSink": [
        "create_pull_request",
        "create_webhook",
        "delete_webhook"
      ],
      "selfContained": false,
      "path": [
        "list_directory",
        "get_environment",
        "create_pull_request"
      ],
      "pathWired": false,
      "description": "A cross-tool exfiltration chain exists: list_directory → get_environment → create_pull_request."
    }
  ],
  "capabilities": [
    {
      "tool": "get_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_repositories",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_pull_request",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"create_pull_request\""
        ]
      }
    },
    {
      "tool": "get_pull_request",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pull_requests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "merge_pull_request",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pr_comments",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_pr_comment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "approve_pr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "unapprove_pr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "request_changes_pr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "decline_pr",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pr_diff",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "trigger_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pipelines",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline_logs",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_logs\""
        ]
      }
    },
    {
      "tool": "stop_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pipeline_variables",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline_variable",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_pipeline_variable",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_pipeline_variable",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_pipeline_variable",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_pipeline_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_branches",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_branch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_commits",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "compare_commits",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commit_statuses",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_commit_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_environments",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_environment",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_env\""
        ]
      }
    },
    {
      "tool": "list_deployment_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_webhooks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_webhook",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"webhook\""
        ]
      }
    },
    {
      "tool": "get_webhook",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_webhook",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"webhook\"",
          "parameter \"webhook\""
        ]
      }
    },
    {
      "tool": "list_tags",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_tag",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_tag",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_branch_restrictions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_branch_restriction",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_branch_restriction",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_file_content",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "list_directory",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"browse\""
        ]
      }
    },
    {
      "tool": "list_user_permissions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_user_permission",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_user_permission",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_user_permission",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_group_permissions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_group_permission",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_group_permission",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_group_permission",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Repositories",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Repository Details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Repository Branches",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Pull Requests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "code_review",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "repo_slug",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pr_id",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "release_notes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "base_tag",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "head",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pipeline_debug",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "repo_summary",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "0c98da177278fdd278c47864c45b41460eab01fe3959b487c07039345e4ac515",
  "stats": {
    "tools": 73,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 1,
      "high": 0,
      "medium": 1,
      "low": 1,
      "info": 0
    }
  }
}