Raw scan report

Docpull — 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": "docpull",
    "source": {
      "kind": "package",
      "origin": "docpull"
    },
    "server": {
      "name": "docpull"
    }
  },
  "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 execute shell commands or code"
    ],
    "tags": [
      "untrusted-input",
      "code-exec"
    ]
  },
  "coverage": {
    "level": "source",
    "inputs": {
      "toolSurface": true,
      "implementationSource": true,
      "packageMetadata": true,
      "liveTransport": false
    },
    "caveats": [
      "Tools were statically extracted from the published source (37 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 (src/docpull/context_packs/repo.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/docpull/context_packs/repo.py:399`): 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/docpull/context_packs/repo.py"
      },
      "evidence": "ry: completed = subprocess.run( # nosec B603, B607 [\"git\", *args], check=False,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/docpull/context_packs/repo.py",
        "line": 399,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/docpull/context_packs/visuals.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/docpull/context_packs/visuals.py:374`): 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/docpull/context_packs/visuals.py"
      },
      "evidence": "this call. result = subprocess.run( # nosec B603 command, check=False, capture_output=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/docpull/context_packs/visuals.py",
        "line": 374,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/docpull/document_parse.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/docpull/document_parse.py:386`): 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/docpull/document_parse.py"
      },
      "evidence": "hell. process = subprocess.Popen( # noqa: S603 # nosec B603 command, env=_remote_worke",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/docpull/document_parse.py",
        "line": 386,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/docpull/rendering.py)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/docpull/rendering.py:684`): 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/docpull/rendering.py"
      },
      "evidence": "childProcess = require(\"child_process\"); const URL = {json.dumps(url)}; const WAIT_FOR = {json.dumps(config.wait_for)};",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/docpull/rendering.py",
        "line": 684,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-CAP-007",
      "title": "Unconstrained URL/host parameter \"url\" on \"fetch_url\"",
      "category": "network",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "Tool \"fetch_url\" takes a URL/host parameter \"url\" with no allowlist/pattern. An outbound-request tool with an unbounded destination enables SSRF and cloud-metadata access (e.g. 169.254.169.254).",
      "remediation": "Allowlist destinations or constrain the parameter; block private/link-local addresses server-side.",
      "location": {
        "kind": "tool",
        "name": "fetch_url",
        "field": "inputSchema.properties.url"
      },
      "owasp": "LLM06:2025 Excessive Agency",
      "data": {
        "param": "url"
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_ci_policy.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_ci_policy.py:319`): 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_ci_policy.py"
      },
      "evidence": "is not None node = subprocess.run( # nosec B603 [node_shim, \"-p\", \"process.execPath\"], check=True,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_ci_policy.py",
        "line": 319,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_claim_audit_script.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_claim_audit_script.py:14`): 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_claim_audit_script.py"
      },
      "evidence": "> None: completed = subprocess.run( [ sys.executable, str(ROOT / \"scripts\" / \"claim_",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_claim_audit_script.py",
        "line": 14,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_document_parse.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_document_parse.py:297`): 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_document_parse.py"
      },
      "evidence": "600 completed = subprocess.run( _remote_worker_command(request), env=_remote_worker_envi",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_document_parse.py",
        "line": 297,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_import_efficiency.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_import_efficiency.py:25`): 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_import_efficiency.py"
      },
      "evidence": "aded)) \"\"\" result = subprocess.run( [sys.executable, \"-c\", script], check=False, capture_out",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_import_efficiency.py",
        "line": 25,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_mcp_server.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_mcp_server.py:31`): 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_mcp_server.py"
      },
      "evidence": "try: proc = subprocess.run( [\"ps\", \"-axo\", \"pid=,command=\"], check=False,",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_mcp_server.py",
        "line": 31,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (tests/test_real_feature_smoke_script.py)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_real_feature_smoke_script.py:42`): 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_real_feature_smoke_script.py"
      },
      "evidence": "> None: completed = subprocess.run( [ sys.executable, str(ROOT / \"scripts\" / \"real_f",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "tests/test_real_feature_smoke_script.py",
        "line": 42,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SUP-012",
      "title": "Package has no license",
      "category": "hygiene",
      "severity": "info",
      "confidence": "strong",
      "description": "\"docpull\" has no declared license. This is a legal/reuse concern, not a security finding.",
      "location": {
        "kind": "package",
        "name": "docpull"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "fetch_url",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch_url\""
        ]
      }
    },
    {
      "tool": "render_url",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "ensure_docs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_sources",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_indexed",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "grep_docs",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "read_doc",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "workflow_run",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "website_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "brand_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "product_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "styleguide_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "image_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "screenshot_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "policy_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "relationship_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "intelligence_bundle",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_score",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_diff",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "refresh_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "audit_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_citations",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_entities",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_brief",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "pack_prepare",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_build",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_query",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_neighbors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "graph_refresh",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "validate_policy",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "explain_routes",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "export_pack",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "serve_pack_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_source",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "remove_source",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "3ce7c6a4310816fd34e25e4f5f752b514207d8b23f514f5a72034f8a3ee58a9e",
  "stats": {
    "tools": 37,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 4,
      "medium": 1,
      "low": 6,
      "info": 1
    }
  }
}