Raw scan report

Supabase Coolify — 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": "supabase-coolify-mcp-server",
    "source": {
      "kind": "package",
      "origin": "supabase-coolify-mcp-server"
    },
    "server": {
      "name": "supabase-coolify-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",
      "reads sensitive or local data",
      "has a read → egress path (a data-exfiltration surface)",
      "can execute shell commands or code"
    ],
    "tags": [
      "sensitive-source",
      "code-exec",
      "external-sink"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (53 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 ([deploy_migration, execute_sql, rollback_migration, create_migration_with_rollback, get_edge_function_logs]) and tools that can send data out ([supabase_cli_execute]) 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": "deploy_migration → supabase_cli_execute"
      },
      "evidence": "sources [deploy_migration, execute_sql, rollback_migration, create_migration_with_rollback, get_edge_function_logs] → sinks [supabase_cli_execute]",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "deploy_migration",
          "execute_sql",
          "rollback_migration",
          "create_migration_with_rollback",
          "get_edge_function_logs"
        ],
        "sinks": [
          "supabase_cli_execute"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"supabase_cli_execute\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"supabase_cli_execute\" appears to run shell commands or evaluate code (parameter \"command\"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
      "remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
      "location": {
        "kind": "tool",
        "name": "supabase_cli_execute"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/supabase-cli.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/supabase-cli.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": "dist/supabase-cli.js"
      },
      "evidence": "import { spawn } from 'child_process'; import { promisify } from 'util'; import { exec } from 'child_process'; const ex",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/supabase-cli.js",
        "line": 5,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (diagnose.ts)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`diagnose.ts:543`): 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": "diagnose.ts"
      },
      "evidence": "nnectivity await axios.get('https://www.google.com', { timeout: 5000 }); this.addResult({",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "diagnose.ts",
        "line": 543,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-006",
      "title": "Unconstrained command parameter \"command\" on \"supabase_cli_execute\"",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"supabase_cli_execute\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
      "remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
      "location": {
        "kind": "tool",
        "name": "supabase_cli_execute",
        "field": "inputSchema.properties.command"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "param": "command"
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"supabase_cli_execute\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"supabase_cli_execute\" 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": "supabase_cli_execute"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "deploy_migration",
        "execute_sql",
        "rollback_migration",
        "create_migration_with_rollback",
        "get_edge_function_logs"
      ],
      "externalSink": [
        "supabase_cli_execute"
      ],
      "selfContained": false,
      "path": [
        "create_migration_with_rollback",
        "supabase_cli_execute"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: create_migration_with_rollback → supabase_cli_execute."
    }
  ],
  "capabilities": [
    {
      "tool": "list_migrations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_migration",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "parameter \"sql\""
        ]
      }
    },
    {
      "tool": "execute_sql",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"execute_sql\"",
          "parameter \"sql\""
        ]
      }
    },
    {
      "tool": "get_migration_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "rollback_migration",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "parameter \"sql\""
        ]
      }
    },
    {
      "tool": "rollback_to_version",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "rollback_last_migrations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_migration_with_rollback",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "parameter \"sql\""
        ]
      }
    },
    {
      "tool": "rollback_migration_with_down_sql",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_edge_functions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_edge_function",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_edge_function",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_edge_function_logs",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_logs\""
        ]
      }
    },
    {
      "tool": "invoke_edge_function",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_storage_buckets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_storage_bucket",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_storage_bucket",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_auth_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_auth_config",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_supabase_health",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_supabase_version",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_coolify_applications",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_coolify_application",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_coolify_application_env",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deploy_coolify_application",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_coolify_application",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_coolify_application",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "restart_coolify_application",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_coolify_services",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_coolify_service",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "start_coolify_service",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stop_coolify_service",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_coolify_logs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_cli_installed",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_init",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_link",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_start",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_stop",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_db_diff",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_db_push",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_db_reset",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_migration_new",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_migration_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_migration_repair",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_functions_deploy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_functions_serve",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_gen_types",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "supabase_cli_execute",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "parameter \"command\""
        ]
      }
    },
    {
      "tool": "deploy_supabase_to_coolify",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_supabase_deployment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_deployment_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "verify_setup",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "f2a059f4d36b2affbc88fdb89e4540129443446528f13361f99b08906d112f3d",
  "stats": {
    "tools": 53,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 2,
      "low": 1,
      "info": 0
    }
  }
}