Raw scan report

Procsi — the complete, unedited output of the deterministic mcptrustchecker engine v1.10.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.10.0",
    "methodologyVersion": "mcptrustchecker-1.9"
  },
  "target": {
    "id": "procsi",
    "source": {
      "kind": "package",
      "origin": "procsi"
    },
    "server": {
      "name": "procsi"
    }
  },
  "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.9"
  },
  "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",
      "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 (16 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 (dist/cli/tui/utils/clipboard.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/tui/utils/clipboard.js: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": "dist/cli/tui/utils/clipboard.js"
      },
      "evidence": "rt { spawn } from \"node:child_process\"; /** * Copy text to the system clipboard. * Uses pbcopy on macOS, xclip on Linu",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/tui/utils/clipboard.js",
        "line": 4,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/tui/utils/open-external.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/tui/utils/open-external.js:9`): 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/cli/tui/utils/open-external.js"
      },
      "evidence": "rt { spawn } from \"node:child_process\"; const TEMP_DIR_NAME = \"procsi-exports\"; /** * Get the platform-specific command",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/tui/utils/open-external.js",
        "line": 9,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/cli/tui/utils/terminal-size.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/cli/tui/utils/terminal-size.js:2`): 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/cli/tui/utils/terminal-size.js"
      },
      "evidence": "spawnSync } from \"node:child_process\"; function isPositiveInteger(value) { return typeof value === \"number\" && Numb",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/cli/tui/utils/terminal-size.js",
        "line": 2,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/shared/browser.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/shared/browser.js:10`): 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/shared/browser.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; // ── Constants ────────────────────────────────────────────────────────────────",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/shared/browser.js",
        "line": 10,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/shared/daemon.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/shared/daemon.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": "dist/shared/daemon.js"
      },
      "evidence": "rt { spawn } from \"node:child_process\"; import { fileURLToPath } from \"node:url\"; import { getProcsiPaths, readDaemonPid",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/shared/daemon.js",
        "line": 3,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-002",
      "title": "Shell/command execution in server code (dist/shared/process-name.js)",
      "category": "permissions",
      "severity": "high",
      "confidence": "strong",
      "description": "In the server's implementation (`dist/shared/process-name.js:5`): 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/shared/process-name.js"
      },
      "evidence": "ecFileSync } from \"node:child_process\"; import * as path from \"node:path\"; const PROCESS_NAME_TIMEOUT_MS = 1000; /** *",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-002",
        "file": "dist/shared/process-name.js",
        "line": 5,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-FLOW-005",
      "title": "Untrusted input can drive an external action",
      "category": "exfiltration",
      "severity": "medium",
      "confidence": "strong",
      "description": "Untrusted-input tools ([procsi_list_requests, procsi_get_request]) co-exist with external-action tools ([procsi_list_requests, procsi_get_request, procsi_count_requests, procsi_clear_requests, procsi_replay_request, procsi_save_request, procsi_unsave_request]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.",
      "remediation": "Require confirmation for state-changing/egress actions triggered after processing untrusted content.",
      "location": {
        "kind": "flow",
        "name": "procsi_list_requests → procsi_list_requests"
      },
      "evidence": "untrusted [procsi_list_requests, procsi_get_request] → sinks [procsi_list_requests, procsi_get_request, procsi_count_requests, procsi_clear_requests, procsi_rep",
      "owasp": "LLM06:2025 Excessive Agency",
      "references": [],
      "data": {
        "untrusted": [
          "procsi_list_requests",
          "procsi_get_request"
        ],
        "sinks": [
          "procsi_list_requests",
          "procsi_get_request",
          "procsi_count_requests",
          "procsi_clear_requests",
          "procsi_replay_request",
          "procsi_save_request",
          "procsi_unsave_request"
        ]
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal (dist/daemon/interceptor-loader.js)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`dist/daemon/interceptor-loader.js:123`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/daemon/interceptor-loader.js"
      },
      "evidence": "const mod = await jiti.import(filePath); const { interceptors: extracted, errors } = extractInterceptor",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "dist/daemon/interceptor-loader.js",
        "line": 123,
        "nonRuntime": false
      }
    },
    {
      "ruleId": "MTC-SRC-005",
      "title": "Dynamic module load from a non-literal (dist/overrides/node.js)",
      "category": "permissions",
      "severity": "medium",
      "confidence": "heuristic",
      "description": "In the server's implementation (`dist/overrides/node.js:51`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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/overrides/node.js"
      },
      "evidence": "\" var mod = require(modName);\", \" var origRequest = mod.request;\", \" mod.request =",
      "owasp": "LLM05:2025 Improper Output Handling",
      "data": {
        "rule": "MTC-SRC-005",
        "file": "dist/overrides/node.js",
        "line": 51,
        "nonRuntime": false
      }
    }
  ],
  "toxicFlows": [
    {
      "id": "flow-1",
      "severity": "medium",
      "confidence": "strong",
      "untrustedInput": [
        "procsi_list_requests",
        "procsi_get_request"
      ],
      "sensitiveSource": [],
      "externalSink": [
        "procsi_list_requests",
        "procsi_get_request",
        "procsi_count_requests",
        "procsi_clear_requests",
        "procsi_replay_request",
        "procsi_save_request",
        "procsi_unsave_request"
      ],
      "selfContained": false,
      "description": "Untrusted input can drive an external action even though no sensitive source is exposed."
    }
  ],
  "capabilities": [
    {
      "tool": "procsi_get_status",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_list_requests",
      "tags": [
        "untrusted-input",
        "external-sink"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ],
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_get_request",
      "tags": [
        "untrusted-input",
        "external-sink"
      ],
      "reasons": {
        "untrusted-input": [
          "keyword \"fetch\""
        ],
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_search_bodies",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_count_requests",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_query_json",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_clear_requests",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_replay_request",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_save_request",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_unsave_request",
      "tags": [
        "external-sink"
      ],
      "reasons": {
        "external-sink": [
          "keyword \"http_request\""
        ]
      }
    },
    {
      "tool": "procsi_list_sessions",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_write_interceptor",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_delete_interceptor",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_list_interceptors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_reload_interceptors",
      "tags": [],
      "reasons": {}
    },
    {
      "tool": "procsi_get_interceptor_events",
      "tags": [],
      "reasons": {}
    }
  ],
  "surfaceDigest": "997ba1e8a4ceaedb6b3417261605ec307e0b96e0da37041217edf940d9173e7b",
  "stats": {
    "tools": 16,
    "prompts": 0,
    "resources": 0,
    "findingsBySeverity": {
      "critical": 0,
      "high": 6,
      "medium": 3,
      "low": 0,
      "info": 0
    }
  }
}