Gitlab Clone — 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": "gitlab-clone-mcp-server",
"source": {
"kind": "package",
"origin": "gitlab-clone-mcp-server"
},
"server": {
"name": "gitlab-clone-mcp-server"
}
},
"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 send data / act on an external service",
"can create, modify or delete files",
"can execute shell commands or code"
],
"tags": [
"external-sink",
"file-write",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (54 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 (gitlab_clone_mcp_server/server.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`gitlab_clone_mcp_server/server.py:1013`): 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": "gitlab_clone_mcp_server/server.py"
},
"evidence": "clone result = subprocess.run( [\"git\", \"clone\", clone_url, local_path], capture_outpu",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "gitlab_clone_mcp_server/server.py",
"line": 1013,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"create_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"create_file\" can write, overwrite or delete files (keyword \"create_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": "create_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"delete_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"delete_file\" can write, overwrite or delete files (keyword \"delete_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": "delete_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"create_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"create_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": "create_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"delete_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"delete_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": "delete_file"
},
"data": {
"tags": [
"file-write"
]
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "create_project",
"tags": [],
"reasons": {}
},
{
"tool": "delete_project",
"tags": [],
"reasons": {}
},
{
"tool": "list_projects",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_issues",
"tags": [],
"reasons": {}
},
{
"tool": "get_merge_requests",
"tags": [],
"reasons": {}
},
{
"tool": "create_issue",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"create_issue\""
]
}
},
{
"tool": "get_pipelines",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_branches",
"tags": [],
"reasons": {}
},
{
"tool": "list_groups",
"tags": [],
"reasons": {}
},
{
"tool": "get_group_members",
"tags": [],
"reasons": {}
},
{
"tool": "get_repository_files",
"tags": [],
"reasons": {}
},
{
"tool": "get_file_content",
"tags": [],
"reasons": {}
},
{
"tool": "get_commits",
"tags": [],
"reasons": {}
},
{
"tool": "create_commit",
"tags": [],
"reasons": {}
},
{
"tool": "create_branch",
"tags": [],
"reasons": {}
},
{
"tool": "delete_branch",
"tags": [],
"reasons": {}
},
{
"tool": "create_merge_request",
"tags": [],
"reasons": {}
},
{
"tool": "merge_merge_request",
"tags": [],
"reasons": {}
},
{
"tool": "create_tag",
"tags": [],
"reasons": {}
},
{
"tool": "get_pipeline_jobs",
"tags": [],
"reasons": {}
},
{
"tool": "trigger_pipeline",
"tags": [],
"reasons": {}
},
{
"tool": "get_current_user",
"tags": [],
"reasons": {}
},
{
"tool": "search_projects",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_milestones",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_labels",
"tags": [],
"reasons": {}
},
{
"tool": "list_project_hooks",
"tags": [],
"reasons": {}
},
{
"tool": "update_project",
"tags": [],
"reasons": {}
},
{
"tool": "fork_project",
"tags": [],
"reasons": {}
},
{
"tool": "archive_project",
"tags": [],
"reasons": {}
},
{
"tool": "unarchive_project",
"tags": [],
"reasons": {}
},
{
"tool": "create_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"create_file\" in tool name"
]
}
},
{
"tool": "update_file",
"tags": [],
"reasons": {}
},
{
"tool": "delete_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"delete_file\" in tool name"
]
}
},
{
"tool": "get_repository_tags",
"tags": [],
"reasons": {}
},
{
"tool": "delete_tag",
"tags": [],
"reasons": {}
},
{
"tool": "compare_branches",
"tags": [],
"reasons": {}
},
{
"tool": "revert_commit",
"tags": [],
"reasons": {}
},
{
"tool": "cherry_pick_commit",
"tags": [],
"reasons": {}
},
{
"tool": "update_issue",
"tags": [],
"reasons": {}
},
{
"tool": "close_issue",
"tags": [],
"reasons": {}
},
{
"tool": "clone_repository",
"tags": [],
"reasons": {}
},
{
"tool": "clone_group_repositories",
"tags": [],
"reasons": {}
},
{
"tool": "get_project",
"tags": [],
"reasons": {}
},
{
"tool": "star_project",
"tags": [],
"reasons": {}
},
{
"tool": "unstar_project",
"tags": [],
"reasons": {}
},
{
"tool": "list_user_projects",
"tags": [],
"reasons": {}
},
{
"tool": "list_starred_projects",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_languages",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_forks",
"tags": [],
"reasons": {}
},
{
"tool": "transfer_project",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_users",
"tags": [],
"reasons": {}
},
{
"tool": "share_project_with_group",
"tags": [],
"reasons": {}
},
{
"tool": "unshare_project_with_group",
"tags": [],
"reasons": {}
},
{
"tool": "list_group_projects",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "b3fca32df81137290152031dd74392c0f0384efefc5b886e61725add7b352036",
"stats": {
"tools": 54,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 1,
"medium": 2,
"low": 2,
"info": 0
}
}
}