Raw scan report

Shopify — 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": "@kockatoos/shopify-mcp",
    "source": {
      "kind": "package",
      "origin": "@kockatoos/shopify-mcp"
    },
    "server": {
      "name": "@kockatoos/shopify-mcp"
    }
  },
  "grade": "B",
  "score": {
    "score": 89,
    "threatScore": 100,
    "grade": "B",
    "band": "B",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 0,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "client",
        "term": "capability-exposure",
        "level": "critical",
        "label": "capability blast radius (critical) — client exposure if the model is manipulated",
        "appliedPenalty": 10
      },
      {
        "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": "critical",
    "reasons": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "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",
      "untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)",
      "untrusted input can reach code execution"
    ],
    "tags": [
      "untrusted-input",
      "sensitive-source",
      "file-write",
      "external-sink",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (136 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-002",
      "title": "Completed toxic-flow trifecta across tools",
      "category": "exfiltration",
      "severity": "critical",
      "confidence": "strong",
      "description": "This server (without client built-ins) exposes a complete data-exfiltration chain: get_bundle → list_files → create_webhook. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.",
      "remediation": "Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.",
      "location": {
        "kind": "flow",
        "name": "get_bundle → list_files → create_webhook"
      },
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "references": [],
      "data": {
        "untrusted": [
          "get_bundle",
          "get_bundle_operation",
          "get_page"
        ],
        "sources": [
          "list_files"
        ],
        "sinks": [
          "create_webhook",
          "update_webhook",
          "delete_webhook"
        ],
        "path": [
          "get_bundle",
          "list_files",
          "create_webhook"
        ],
        "edges": [
          {
            "from": "get_bundle",
            "to": "list_files",
            "kind": "agent-mediated"
          },
          {
            "from": "list_files",
            "to": "create_webhook",
            "kind": "agent-mediated"
          }
        ],
        "wired": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/get-token.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/get-token.js:29`): 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/get-token.js"
      },
      "evidence": "require(\"http\")); const child_process_1 = require(\"child_process\"); // Load .env from CWD first, then package dir fallba",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/get-token.js",
        "line": 29,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (dist/get-token.js)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/get-token.js:82`): 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/get-token.js"
      },
      "evidence": "{ const res = await fetch(`https://${shop}/admin/oauth/access_token`, { method: \"POST\", headers: {",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "dist/get-token.js",
        "line": 82,
        "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_files\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"delete_files\" 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_files"
      },
      "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_files\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"delete_files\" 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_files"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "critical",
      "confidence": "strong",
      "untrustedInput": [
        "get_bundle",
        "get_bundle_operation",
        "get_page"
      ],
      "sensitiveSource": [
        "list_files"
      ],
      "externalSink": [
        "create_webhook",
        "update_webhook",
        "delete_webhook"
      ],
      "selfContained": false,
      "path": [
        "get_bundle",
        "list_files",
        "create_webhook"
      ],
      "pathWired": false,
      "description": "A cross-tool exfiltration chain exists: get_bundle → list_files → create_webhook."
    }
  ],
  "capabilities": [
    {
      "tool": "list_app_installations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_app_installation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_bundle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_bundle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_bundle",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "get_bundle_operation",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"read_pr\""
        ]
      }
    },
    {
      "tool": "list_custom_collections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_smart_collections",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_custom_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_smart_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_custom_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_custom_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_custom_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_smart_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_smart_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "reorder_collection_products",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_product_to_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_product_from_collection",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_collection_products",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_customers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_customers",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_customer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_customer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_customer",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_customer_metafields",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_customer_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_customer_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_customer_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_price_rules",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_price_rule",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_price_rule",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_price_rule",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_price_rule",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_discount_codes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_discount_code",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_discount_code",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_code_discounts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_code_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_code_discount_basic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_code_discount_basic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_code_discount_bxgy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_code_discount_bxgy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_code_discount_free_shipping",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_code_discount_free_shipping",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "activate_code_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deactivate_code_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_code_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_automatic_discounts",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_automatic_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_automatic_discount_basic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_automatic_discount_basic",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_automatic_discount_bxgy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_automatic_discount_bxgy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_automatic_discount_free_shipping",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_automatic_discount_free_shipping",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "activate_automatic_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "deactivate_automatic_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_automatic_discount",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_draft_orders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_draft_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_draft_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_draft_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "complete_draft_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "send_draft_order_invoice",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_draft_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_files",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "create_file",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"create_file\" in tool name"
        ]
      }
    },
    {
      "tool": "update_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "stage_upload",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_files",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"delete_file\" in tool name"
        ]
      }
    },
    {
      "tool": "list_fulfillment_orders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_fulfillments",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_fulfillment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_fulfillment_tracking",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_fulfillment",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_product_images",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_product_image",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_product_image",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_product_image",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_product_image",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_locations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_location",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_inventory_levels",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "adjust_inventory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_inventory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_menus",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_menu",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_menu",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_menu",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_menu",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_orders",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "close_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "cancel_order",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_order_metafields",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_order_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_order_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_order_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_pages",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_page",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"get_page\""
        ]
      }
    },
    {
      "tool": "create_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_page",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_products",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_product",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_product",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_product",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_product",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_product_metafields",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_product_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "set_product_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_product_metafield",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_metafield_definition",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_metafield_definitions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_shop_info",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_themes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_theme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_theme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_theme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "publish_theme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_theme",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_theme_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_theme_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upsert_theme_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_theme_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_variants",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_variant",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_variant",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_variant",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "delete_variant",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_webhooks",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_webhook",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_webhook",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"webhook\""
        ]
      }
    },
    {
      "tool": "update_webhook",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"webhook\""
        ]
      }
    },
    {
      "tool": "delete_webhook",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"webhook\""
        ]
      }
    }
  ],
  "surfaceDigest": "39ff79cbb80c4f658119b4def83309f4ea128c29dbad23db7b5bce98152e336a",
  "stats": {
    "tools": 136,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 1,
      "high": 1,
      "medium": 3,
      "low": 2,
      "info": 0
    }
  }
}