Raw scan report

Facets Module — 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": "facets-module-mcp",
    "source": {
      "kind": "package",
      "origin": "facets-module-mcp"
    },
    "server": {
      "name": "facets-module-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": [
      "ingests untrusted external content (a prompt-injection entry point)",
      "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": [
      "sensitive-source",
      "untrusted-input",
      "file-write",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (30 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-002",
      "title": "Shell/command execution in server code (facets_mcp/utils/ftf_command_utils.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`facets_mcp/utils/ftf_command_utils.py:56`): 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": "facets_mcp/utils/ftf_command_utils.py"
      },
      "evidence": "config result = subprocess.run( [\"git\", \"config\", \"--get\", \"remote.origin.url\"], cwd=wor",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "facets_mcp/utils/ftf_command_utils.py",
        "line": 56,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-002",
      "title": "Tool \"edit_file_block\" can modify the filesystem",
      "category": "permissions",
      "severity": "medium",
      "confidence": "strong",
      "description": "Tool \"edit_file_block\" can write, overwrite or delete files (keyword \"edit_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": "edit_file_block"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    },
    {
      "ruleId": "MTC-CAP-005",
      "title": "Mutating tool \"edit_file_block\" declares no destructiveHint",
      "category": "hygiene",
      "severity": "low",
      "confidence": "heuristic",
      "description": "Tool \"edit_file_block\" 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": "edit_file_block"
      },
      "data": {
        "tags": [
          "file-write"
        ]
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "list_test_projects",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "test_already_previewed_module",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_deployment_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_deployment_logs",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"get_logs\""
        ]
      }
    },
    {
      "tool": "get_local_modules",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ]
      }
    },
    {
      "tool": "search_modules_after_confirmation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_modules_for_fork",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "fork_existing_module",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "generate_module_with_user_confirmation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "mark_module_as_published",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "register_output_type",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_module",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "push_preview_module_to_facets_cp",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "discover_terraform_resources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_import_declaration",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "FIRST_STEP_get_instructions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_intent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_or_update_intent",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_all_intents",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_files",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"list_files\""
        ]
      }
    },
    {
      "tool": "read_file",
      "tags": [
        "sensitive-source"
      ],
      "reasons": {
        "sensitive-source": [
          "keyword \"read_file\""
        ]
      }
    },
    {
      "tool": "write_config_files",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "write_resource_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_output_type_details",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "find_output_types_with_provider",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_all_output_types",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "write_outputs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "write_readme_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "write_generic_file",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "edit_file_block",
      "tags": [
        "file-write"
      ],
      "reasons": {
        "file-write": [
          "keyword \"edit_file\" in tool name"
        ]
      }
    }
  ],
  "surfaceDigest": "530e83cc104fd17267d4bae48cd83db990cafd2cbb8e11a914fa57cf58d14ee2",
  "stats": {
    "tools": 30,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 1,
      "medium": 1,
      "low": 1,
      "info": 0
    }
  }
}