Raw scan report

Dotfiles Maintainer — the complete, unedited output of the deterministic mcptrustchecker engine v1.8.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.8.0",
    "methodologyVersion": "mcptrustchecker-1.8"
  },
  "target": {
    "id": "dotfiles-maintainer",
    "source": {
      "kind": "package",
      "origin": "dotfiles-maintainer"
    },
    "server": {
      "name": "dotfiles-maintainer"
    }
  },
  "grade": "C",
  "score": {
    "score": 71,
    "threatScore": 78,
    "grade": "C",
    "band": "C",
    "gateCap": "C",
    "categorySubtotals": {
      "injection": 0,
      "exfiltration": 22,
      "permissions": 0,
      "supply-chain": 0,
      "network": 0,
      "hygiene": 0
    },
    "vector": [
      {
        "kind": "threat",
        "ruleId": "MTC-SRC-008",
        "category": "exfiltration",
        "severity": "high",
        "confidence": "confirmed",
        "rawWeight": 22,
        "confidenceMult": 1,
        "diminishingFactor": 1,
        "appliedPenalty": 22
      },
      {
        "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": [
      "1 confirmed high finding → grade capped at C"
    ],
    "methodologyVersion": "mcptrustchecker-1.8"
  },
  "capability": {
    "level": "high",
    "reasons": [
      "can execute shell commands or code"
    ],
    "tags": [
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (17 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-008",
      "title": "Hardcoded Google API key in server code (tests/test_utils.py)",
      "category": "exfiltration",
      "severity": "high",
      "confidence": "confirmed",
      "description": "A live-looking Google API key is hardcoded in `tests/test_utils.py:21`. Secrets in source ship to everyone who installs the package and are a direct credential leak.",
      "remediation": "Remove the secret, rotate it, and load credentials from the environment or a secret store.",
      "location": {
        "kind": "server",
        "name": "tests/test_utils.py"
      },
      "evidence": "Google API key: AIza…(redacted)",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "secretType": "google-api-key",
        "file": "tests/test_utils.py",
        "line": 21
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/dotfiles_maintainer/utils/vcs.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/dotfiles_maintainer/utils/vcs.py:241`): 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/dotfiles_maintainer/utils/vcs.py"
      },
      "evidence": "subprocess.check_output(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/dotfiles_maintainer/utils/vcs.py",
        "line": 241
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_integration.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_integration.py:18`): 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/test_integration.py"
      },
      "evidence": "subprocess.run(",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_integration.py",
        "line": 18
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "initialize_system_baseline",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "commit_contextual_change",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_config_drift",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ingest_version_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "track_lifecycle_events",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "log_conceptual_roadmap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "query_roadmap",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "manage_trial",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_active_trials",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "log_troubleshooting_event",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_troubleshooting_guide",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_config_context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_change_history",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "check_system_dependencies",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "update_memory",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "sync_work_in_progress",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "health_check",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "2776ea302c32371af6df1184c55a160899946b4e9dc74ca579732e90f075844a",
  "stats": {
    "tools": 17,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 0,
      "low": 1,
      "info": 0
    }
  }
}