Bitbucket Server — 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.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.13.0",
"methodologyVersion": "mcptrustchecker-1.13"
},
"target": {
"id": "@upendra_sengar/bitbucket-server-mcp",
"source": {
"kind": "package",
"origin": "@upendra_sengar/bitbucket-server-mcp"
},
"server": {
"name": "@upendra_sengar/bitbucket-server-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": [
"ingests untrusted external content (a prompt-injection entry point)",
"can send data / act on an external service",
"can create, modify or delete files",
"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",
"untrusted-input",
"sensitive-source",
"file-write"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (59 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: browse_repository → get_file_content → 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": "browse_repository → get_file_content → create_pull_request"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"browse_repository"
],
"sources": [
"get_file_content"
],
"sinks": [
"create_pull_request"
],
"path": [
"browse_repository",
"get_file_content",
"create_pull_request"
],
"edges": [
{
"from": "browse_repository",
"to": "get_file_content",
"kind": "agent-mediated"
},
{
"from": "get_file_content",
"to": "create_pull_request",
"kind": "agent-mediated"
}
],
"wired": false
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"edit_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"edit_file\" can write, overwrite or delete files (keyword \"edit_file\" in tool name). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "edit_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"edit_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"edit_file\" 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": "edit_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"filePath\" on \"get_file_content\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"get_file_content\" takes a path parameter \"filePath\" 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.filePath"
},
"data": {
"param": "filePath"
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"filePath\" on \"edit_file\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"edit_file\" takes a path parameter \"filePath\" 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": "edit_file",
"field": "inputSchema.properties.filePath"
},
"data": {
"param": "filePath"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"browse_repository"
],
"sensitiveSource": [
"get_file_content"
],
"externalSink": [
"create_pull_request"
],
"selfContained": false,
"path": [
"browse_repository",
"get_file_content",
"create_pull_request"
],
"pathWired": false,
"description": "A cross-tool exfiltration chain exists: browse_repository → get_file_content → create_pull_request."
}
],
"capabilities": [
{
"tool": "manage_comment",
"tags": [],
"reasons": {}
},
{
"tool": "search_emoticons",
"tags": [],
"reasons": {}
},
{
"tool": "list_commit_comments",
"tags": [],
"reasons": {}
},
{
"tool": "manage_commit_comments",
"tags": [],
"reasons": {}
},
{
"tool": "list_default_reviewer_conditions",
"tags": [],
"reasons": {}
},
{
"tool": "manage_deployments",
"tags": [],
"reasons": {}
},
{
"tool": "list_forks",
"tags": [],
"reasons": {}
},
{
"tool": "fork_repository",
"tags": [],
"reasons": {}
},
{
"tool": "list_gpg_keys",
"tags": [],
"reasons": {}
},
{
"tool": "manage_gpg_keys",
"tags": [],
"reasons": {}
},
{
"tool": "list_repository_hooks",
"tags": [],
"reasons": {}
},
{
"tool": "manage_repository_hooks",
"tags": [],
"reasons": {}
},
{
"tool": "get_code_insights",
"tags": [],
"reasons": {}
},
{
"tool": "get_build_status",
"tags": [],
"reasons": {}
},
{
"tool": "list_labels",
"tags": [],
"reasons": {}
},
{
"tool": "manage_labels",
"tags": [],
"reasons": {}
},
{
"tool": "list_merge_checks",
"tags": [],
"reasons": {}
},
{
"tool": "manage_merge_checks",
"tags": [],
"reasons": {}
},
{
"tool": "create_pull_request",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_pull_request\""
]
}
},
{
"tool": "get_pull_request",
"tags": [],
"reasons": {}
},
{
"tool": "update_pull_request",
"tags": [],
"reasons": {}
},
{
"tool": "merge_pull_request",
"tags": [],
"reasons": {}
},
{
"tool": "decline_pull_request",
"tags": [],
"reasons": {}
},
{
"tool": "list_pull_requests",
"tags": [],
"reasons": {}
},
{
"tool": "list_dashboard_pull_requests",
"tags": [],
"reasons": {}
},
{
"tool": "get_pull_request_activity",
"tags": [],
"reasons": {}
},
{
"tool": "get_diff",
"tags": [],
"reasons": {}
},
{
"tool": "get_pull_request_commits",
"tags": [],
"reasons": {}
},
{
"tool": "get_commit_pull_requests",
"tags": [],
"reasons": {}
},
{
"tool": "manage_review",
"tags": [],
"reasons": {}
},
{
"tool": "list_branch_restrictions",
"tags": [],
"reasons": {}
},
{
"tool": "list_branches",
"tags": [],
"reasons": {}
},
{
"tool": "list_commits",
"tags": [],
"reasons": {}
},
{
"tool": "manage_branches",
"tags": [],
"reasons": {}
},
{
"tool": "get_commit",
"tags": [],
"reasons": {}
},
{
"tool": "compare_refs",
"tags": [],
"reasons": {}
},
{
"tool": "list_tags",
"tags": [],
"reasons": {}
},
{
"tool": "get_tag",
"tags": [],
"reasons": {}
},
{
"tool": "manage_tags",
"tags": [],
"reasons": {}
},
{
"tool": "list_projects",
"tags": [],
"reasons": {}
},
{
"tool": "list_repositories",
"tags": [],
"reasons": {}
},
{
"tool": "browse_repository",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"browse\""
]
}
},
{
"tool": "get_file_content",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "upload_attachment",
"tags": [],
"reasons": {}
},
{
"tool": "edit_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"edit_file\" in tool name"
]
}
},
{
"tool": "get_file_blame",
"tags": [],
"reasons": {}
},
{
"tool": "create_repository",
"tags": [],
"reasons": {}
},
{
"tool": "delete_repository",
"tags": [],
"reasons": {}
},
{
"tool": "list_reviewer_groups",
"tags": [],
"reasons": {}
},
{
"tool": "manage_reviewer_groups",
"tags": [],
"reasons": {}
},
{
"tool": "search",
"tags": [],
"reasons": {}
},
{
"tool": "list_secret_scanning_rules",
"tags": [],
"reasons": {}
},
{
"tool": "list_ssh_keys",
"tags": [],
"reasons": {}
},
{
"tool": "manage_ssh_keys",
"tags": [],
"reasons": {}
},
{
"tool": "get_server_info",
"tags": [],
"reasons": {}
},
{
"tool": "get_user_profile",
"tags": [],
"reasons": {}
},
{
"tool": "search_users",
"tags": [],
"reasons": {}
},
{
"tool": "list_webhooks",
"tags": [],
"reasons": {}
},
{
"tool": "manage_webhooks",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "7088f10609d1ee4283a8a1d82e56f3d76ae9f508a9d5af5dbc093e82aaea0c21",
"stats": {
"tools": 59,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 0,
"medium": 1,
"low": 3,
"info": 0
}
}
}