Raw scan report

Gogcli — 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": "gogcli-mcp",
    "source": {
      "kind": "package",
      "origin": "gogcli-mcp"
    },
    "server": {
      "name": "gogcli-mcp"
    }
  },
  "grade": "A",
  "score": {
    "score": 93,
    "threatScore": 99,
    "grade": "A",
    "band": "A",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 1.2,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-SRC-008",
        "category": "exfiltration",
        "severity": "low",
        "confidence": "heuristic",
        "rawWeight": 3,
        "confidenceMult": 0.4,
        "diminishingFactor": 1,
        "appliedPenalty": 1.2
      },
      {
        "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)",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "can execute shell commands or code"
    ],
    "tags": [
      "untrusted-input",
      "sensitive-source",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (103 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-001",
      "title": "Dynamic code execution in server code (dist/index.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/index.js:2946`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. 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/index.js"
      },
      "evidence": "const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode); const v",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-001",
        "file": "dist/index.js",
        "line": 2946,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-001",
      "title": "Dynamic code execution in server code (dist/lib.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/lib.js:2945`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. 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.js"
      },
      "evidence": "const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode); const v",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-001",
        "file": "dist/lib.js",
        "line": 2945,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/index.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/index.js:36058`): 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/index.js"
      },
      "evidence": "?? (await import(\"node:child_process\")).spawn; const effectiveTimeout = timeout ?? TIMEOUT_MS; return new Promise((",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/index.js",
        "line": 36058,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/lib.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/lib.js:27865`): 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.js"
      },
      "evidence": "?? (await import(\"node:child_process\")).spawn; const effectiveTimeout = timeout ?? TIMEOUT_MS; return new Promise((",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/lib.js",
        "line": 27865,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/runner.ts)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/runner.ts: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": "src/runner.ts"
      },
      "evidence": "ildProcess } from 'node:child_process'; import { delimiter, join } from 'node:path'; import { parseBoolEnv, readEnvVar,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/runner.ts",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint in packaging/dev tooling (tests/worker.test.ts)",
      "category": "exfiltration",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/worker.test.ts:51`): 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": "tests/worker.test.ts"
      },
      "evidence": "const res = await SELF.fetch('https://example.com/.well-known/oauth-authorization-server'); expect(res.status).toBe",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "tests/worker.test.ts",
        "line": 51,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-008",
      "title": "Hardcoded Google API key in test/example/packaging (tests/runner.test.ts)",
      "category": "exfiltration",
      "severity": "low",
      "confidence": "heuristic",
      "description": "A hardcoded Google API key (a client API key (restricted by referrer/quota, not a private secret)) appears in `tests/runner.test.ts:548`. Verify whether this is a real credential; if so, remove and rotate it.",
      "remediation": "Remove the secret, rotate it, and load credentials from the environment or a secret store.",
      "location": {
        "kind": "server",
        "name": "tests/runner.test.ts"
      },
      "evidence": "Google API key: AIza…(redacted)",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "secretType": "google-api-key",
        "file": "tests/runner.test.ts",
        "line": 548
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/auth-log.test.ts)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/auth-log.test.ts:453`): 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": "tests/auth-log.test.ts"
      },
      "evidence": "urce); await expect(exec(['--json', '--color=never', '--no-input', 'gmail', 'search', 'q'], {})).resolves.toBe(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/auth-log.test.ts",
        "line": 453,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/connector-runtime.test.ts)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/connector-runtime.test.ts:112`): 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": "tests/connector-runtime.test.ts"
      },
      "evidence": "; const out = await exec(['sheets', 'get', 'A1'], {}); expect(out).toBe('gog output'); const [url, init] =",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/connector-runtime.test.ts",
        "line": 112,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/runner.test.ts)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/runner.test.ts:3`): 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": "tests/runner.test.ts"
      },
      "evidence": "ockedSpawn } from 'node:child_process'; import { run, runBinary, runExecutor, RunnerTransportError, isRunnerTransportErr",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/runner.test.ts",
        "line": 3,
        "nonRuntime": true
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "gog_api_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_api_describe",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_api_call",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_content",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_pull",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_deployments",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_versions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_appscript_run_function",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_services",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_add_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_auth_add_complete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_calendar_events",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_calendar_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_calendar_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_calendar_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_calendar_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_calendar_respond",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_spaces_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_spaces_find",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_spaces_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_threads_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_messages_list",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"read_message\""
        ]
      }
    },
    {
      "tool": "gog_chat_messages_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_messages_send",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_dm_send",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_dm_space",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_reactions_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_reactions_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_chat_reactions_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_courses_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_courses_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_students_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_students_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_teachers_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_teachers_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_roster",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_coursework_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_coursework_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_submissions_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_submissions_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_submissions_grade",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_submissions_return",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_submissions_turn_in",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_submissions_reclaim",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_announcements_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_announcements_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_announcements_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_topics_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_topics_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_invitations_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_invitations_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_invitations_accept",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_classroom_profile_get",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "gog_contacts_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_contacts_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_contacts_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_contacts_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_docs_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_docs_cat",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_docs_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_docs_write",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_docs_find_replace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_docs_structure",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_ls",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"list_files\""
        ]
      }
    },
    {
      "tool": "gog_drive_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_mkdir",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_rename",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_move",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_share",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_extract_text",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_drive_read_bytes",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "gog_gmail_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_gmail_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_gmail_send",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_gmail_reply",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_gmail_reply_all",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_append",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_clear",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_metadata",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_sheets_find_replace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_slides_export",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_slides_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_slides_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_slides_copy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_slides_list_slides",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_slides_read_slide",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_tasks_lists",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_tasks_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_tasks_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_tasks_add",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_tasks_done",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "gog_tasks_delete",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "14a7089e8777b2ed856ef9d371104ddf5779f8b2dc88f8bfb30ed4cb94263415",
  "stats": {
    "tools": 103,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 5,
      "medium": 0,
      "low": 5,
      "info": 0
    }
  }
}