Raw scan report

Gitlab — 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": "@anupsahu/gitlab-mcp",
    "source": {
      "kind": "package",
      "origin": "@anupsahu/gitlab-mcp"
    },
    "server": {
      "name": "@anupsahu/gitlab-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": [
      "can send data / act on an external service",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)"
    ],
    "tags": [
      "sensitive-source",
      "external-sink"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (85 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-004",
      "title": "Sensitive-source and external-sink co-exist",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "strong",
      "description": "Tools that read sensitive data ([get_file_contents, get_repository_tree]) and tools that can send data out ([create_issue, create_issue_note, create_issue_link]) are exposed together. An agent can move private data to the sink.",
      "remediation": "Keep secret-reading and egress capabilities on separate, separately-approved servers.",
      "location": {
        "kind": "flow",
        "name": "get_file_contents → create_issue"
      },
      "evidence": "sources [get_file_contents, get_repository_tree] → sinks [create_issue, create_issue_note, create_issue_link]",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "get_file_contents",
          "get_repository_tree"
        ],
        "sinks": [
          "create_issue",
          "create_issue_note",
          "create_issue_link"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint in packaging/dev tooling (build/test/utils/server-launcher.js)",
      "category": "exfiltration",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`build/test/utils/server-launcher.js:179`): 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": "build/test/utils/server-launcher.js"
      },
      "evidence": "const response = await fetch(`http://${HOST}:${port}/health`, { method: 'GET', signal:",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "build/test/utils/server-launcher.js",
        "line": 179,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (build/test/utils/server-launcher.js)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`build/test/utils/server-launcher.js:5`): 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": "build/test/utils/server-launcher.js"
      },
      "evidence": "import { spawn } from 'child_process'; import * as path from 'path'; export const HOST = process.env.HOST || '127.0.0.1",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/test/utils/server-launcher.js",
        "line": 5,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "get_file_contents",
        "get_repository_tree"
      ],
      "externalSink": [
        "create_issue",
        "create_issue_note",
        "create_issue_link"
      ],
      "selfContained": false,
      "path": [
        "get_file_contents",
        "create_issue"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: get_file_contents → create_issue."
    }
  ],
  "capabilities": [
    {
      "tool": "oauth_login_pkce",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "oauth_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "oauth_logout",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "merge_merge_request",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_or_update_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_repositories",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_file_contents",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_file_contents\""
        ]
      }
    },
    {
      "tool": "push_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_issue",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"create_issue\""
        ]
      }
    },
    {
      "tool": "create_merge_request",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fork_repository",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_branch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_merge_request",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_merge_request_diffs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_merge_request_diffs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_branch_diffs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_merge_request",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_merge_request_thread",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mr_discussions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_merge_request_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_merge_request_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_draft_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_draft_notes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_draft_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_draft_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_draft_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "publish_draft_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "bulk_publish_draft_notes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_issue_note",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_issue_note",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"create_issue\""
        ]
      }
    },
    {
      "tool": "list_issues",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "my_issues",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_issue",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_issue",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_issue",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_issue_links",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_issue_discussions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_issue_link",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_issue_link",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"create_issue\""
        ]
      }
    },
    {
      "tool": "delete_issue_link",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_namespaces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_namespace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "verify_namespace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_project",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_project_members",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_labels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_label",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_group_projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_wiki_pages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_wiki_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_wiki_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_wiki_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_wiki_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_repository_tree",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"list_files\""
        ]
      }
    },
    {
      "tool": "list_pipelines",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pipeline_jobs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pipeline_trigger_jobs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline_job",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_pipeline_job_output",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "retry_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_pipeline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_merge_requests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_milestones",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_milestone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_milestone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "edit_milestone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_milestone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_milestone_issue",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_milestone_merge_requests",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "promote_milestone",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_milestone_burndown_events",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_users",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_commits",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_commit_diff",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_group_iterations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upload_markdown",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "c5f0be71385e91cc37b165cbd21e2dd0c498d6118119caf61c0ad5bb9ae89eb5",
  "stats": {
    "tools": 85,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 0,
      "low": 2,
      "info": 0
    }
  }
}