Raw scan report

Cloudflare (official) — 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": "@cloudflare/mcp-server-cloudflare",
    "source": {
      "kind": "package",
      "origin": "@cloudflare/mcp-server-cloudflare"
    },
    "server": {
      "name": "@cloudflare/mcp-server-cloudflare"
    }
  },
  "grade": "A",
  "score": {
    "score": 94,
    "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": "vendor",
        "label": "publisher verification (official vendor) — published under a known vendor’s authority",
        "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": [
      "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)",
      "can execute shell commands or code"
    ],
    "tags": [
      "file-write",
      "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 (92 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 ([d1_query, kv_list]) and tools that can send data out ([do_create_namespace, queue_send_message]) 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": "d1_query → do_create_namespace"
      },
      "evidence": "sources [d1_query, kv_list] → sinks [do_create_namespace, queue_send_message]",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "sources": [
          "d1_query",
          "kv_list"
        ],
        "sinks": [
          "do_create_namespace",
          "queue_send_message"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-001",
      "title": "Tool \"do_create_namespace\" exposes command/code execution",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "Tool \"do_create_namespace\" appears to run shell commands or evaluate code (parameter \"script\"). 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": "do_create_namespace"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    },
    {
      "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:4`): 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": "s import { exec } from \"child_process\"; import { promisify } from \"util\"; // src/utils/wrangler.ts import fs, { mkdirSy",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/index.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (dist/index.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/index.js:138`): 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": "dist/index.js"
      },
      "evidence": "ed\" }; return await fetch(\"https://dash.cloudflare.com/oauth2/token\", { method: \"POST\", body: body.toString(",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "dist/index.js",
        "line": 138,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"r2_put_object\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"r2_put_object\" can write, overwrite or delete files (keyword \"put_object\" 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": "r2_put_object"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-006",
      "title": "Unconstrained command parameter \"script\" on \"do_create_namespace\"",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"do_create_namespace\" takes a command-shaped parameter \"script\" 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": "do_create_namespace",
        "field": "inputSchema.properties.script"
      },
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "param": "script"
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"r2_put_object\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"r2_put_object\" 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": "r2_put_object"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"do_create_namespace\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"do_create_namespace\" 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": "do_create_namespace"
      },
      "data": {
        "tags": [
          "code-exec"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "high",
      "confidence": "strong",
      "untrustedInput": [],
      "sensitiveSource": [
        "d1_query",
        "kv_list"
      ],
      "externalSink": [
        "do_create_namespace",
        "queue_send_message"
      ],
      "selfContained": false,
      "path": [
        "d1_query",
        "do_create_namespace"
      ],
      "pathWired": false,
      "description": "A sensitive-source → external-sink chain exists: d1_query → do_create_namespace."
    }
  ],
  "capabilities": [
    {
      "tool": "r2_list_buckets",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "r2_create_bucket",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "r2_delete_bucket",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "r2_list_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "r2_get_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "r2_put_object",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"put_object\" in tool name"
        ]
      }
    },
    {
      "tool": "r2_delete_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "d1_list_databases",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "d1_create_database",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "d1_delete_database",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "d1_query",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"sql_query\""
        ]
      }
    },
    {
      "tool": "get_kvs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kv_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kv_put",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kv_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "kv_list",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"list_keys\""
        ]
      }
    },
    {
      "tool": "analytics_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workers_analytics_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "worker_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "worker_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "worker_put",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "worker_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "worker_deploy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_create_namespace",
      "tags": [
        "code-exec"
      ],
      "reasons": {
        "code-exec": [
          "parameter \"script\""
        ]
      }
    },
    {
      "tool": "do_delete_namespace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_list_namespaces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_get_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_list_objects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_delete_object",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_alarm_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_alarm_set",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "do_alarm_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_send_message",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"send_message\""
        ]
      }
    },
    {
      "tool": "queue_send_batch",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_get_message",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_delete_message",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "queue_update_visibility",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_inference",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_list_models",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_get_model",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_embeddings",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_text_generation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ai_image_generation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_execute",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "template_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "template_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "template_create_worker",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Test Template 1",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "Test Template 2",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "test-template",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wfp_create_dispatch_namespace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wfp_delete_dispatch_namespace",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wfp_list_dispatch_namespaces",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wfp_add_custom_domain",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wfp_remove_custom_domain",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wfp_list_custom_domains",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "service_binding_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "service_binding_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "service_binding_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "service_binding_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "env_var_set",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "env_var_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "env_var_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "env_var_bulk_set",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "route_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "route_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "route_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "route_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cron_create",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cron_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cron_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cron_update",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "zones_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "zones_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "domain_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "secret_put",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "secret_delete",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "secret_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "version_list",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "version_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "version_rollback",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wrangler_config_get",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "wrangler_config_update",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "68c9937bd768b85e92190ca08428f71dfee61d39f0c83f44d64ea47e98d4fd33",
  "stats": {
    "tools": 92,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 3,
      "medium": 3,
      "low": 2,
      "info": 0
    }
  }
}