Raw scan report

Contextplus — 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": "contextplus",
    "source": {
      "kind": "package",
      "origin": "contextplus"
    },
    "server": {
      "name": "contextplus"
    }
  },
  "grade": "A",
  "score": {
    "score": 92,
    "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": "none",
        "label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
        "appliedPenalty": 2
      },
      {
        "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 send data / act on an external service",
      "can execute shell commands or code"
    ],
    "tags": [
      "untrusted-input",
      "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 (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-002",
      "title": "Shell/command execution in server code (build/tools/static-analysis.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`build/tools/static-analysis.js:3`): 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": "build/tools/static-analysis.js"
      },
      "evidence": "g import { exec } from \"child_process\"; import { stat } from \"fs/promises\"; import { resolve, extname } from \"path\"; imp",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "build/tools/static-analysis.js",
        "line": 3,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (src/tools/static-analysis.ts)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`src/tools/static-analysis.ts: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": "src/tools/static-analysis.ts"
      },
      "evidence": "import { exec } from \"child_process\"; import { stat } from \"fs/promises\"; import { resolve, extname } from \"path\";",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "src/tools/static-analysis.ts",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-003",
      "title": "Hardcoded egress to an external endpoint (landing/src/app/page.tsx)",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "In the server's implementation (`landing/src/app/page.tsx:94`): 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": "landing/src/app/page.tsx"
      },
      "evidence": "const res = await fetch( \"https://api.github.com/repos/ForLoopCodes/contextplus\", { cache: \"no-store",
      "owasp": "LLM02:2025 Sensitive Information Disclosure",
      "data": {
        "rule": "MTC-SRC-003",
        "file": "landing/src/app/page.tsx",
        "line": 94,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in packaging/dev tooling (test/main/init-opencode.test.mjs)",
      "category": "permissions",
      "severity": "low",
      "confidence": "heuristic",
      "description": "In a packaging/dev/install script (shipped, but not the server runtime) (`test/main/init-opencode.test.mjs:3`): 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": "test/main/init-opencode.test.mjs"
      },
      "evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; import { mkdtemp, readFile, rm } from \"",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "test/main/init-opencode.test.mjs",
        "line": 3,
        "nonRuntime": true
      }
    },
    {
      "ruleId": "MTC-SUP-011",
      "title": "Package declares no source repository",
      "category": "supply-chain",
      "severity": "info",
      "confidence": "strong",
      "description": "\"contextplus\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
      "remediation": "Prefer packages that link to public, reviewable source.",
      "location": {
        "kind": "package",
        "name": "contextplus"
      }
    }
  ],
  "toxicFlows": [],
  "capabilities": [
    {
      "tool": "get_context_tree",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "semantic_identifier_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_file_skeleton",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "semantic_code_search",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "get_blast_radius",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "run_static_analysis",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "propose_commit",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "list_restore_points",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "undo_change",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "semantic_navigate",
      "tags": [
        "untrusted-input"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"browse\""
        ]
      }
    },
    {
      "tool": "get_feature_hub",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "upsert_memory_node",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "create_relation",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "search_memory_graph",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "prune_stale_links",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "add_interlinked_context",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "retrieve_with_traversal",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "ed67258de7945c0eaa156b6985680b55992ef3b5405f54b0b8fc27ca58a50eae",
  "stats": {
    "tools": 17,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 2,
      "medium": 1,
      "low": 1,
      "info": 1
    }
  }
}