Depwire Cli — 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.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.13.0",
"methodologyVersion": "mcptrustchecker-1.13"
},
"target": {
"id": "depwire-cli",
"source": {
"kind": "package",
"origin": "depwire-cli"
},
"server": {
"name": "depwire-cli"
}
},
"grade": "D",
"score": {
"score": 64,
"threatScore": 75,
"grade": "D",
"band": "D",
"categorySubtotals": {
"injection": 24.85,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.5,
"appliedPenalty": 3.15
},
{
"kind": "threat",
"ruleId": "MTC-SRC-011",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"kind": "client",
"term": "capability-exposure",
"level": "critical",
"label": "capability blast radius (critical) — client exposure if the model is manipulated",
"appliedPenalty": 10
},
{
"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": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code",
"untrusted input can reach code execution"
],
"tags": [
"untrusted-input",
"sensitive-source",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (24 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-010",
"title": "Dynamic evaluation of a non-literal value (dist/chunk-5EG3JK54.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/chunk-5EG3JK54.js:19890`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. 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/chunk-5EG3JK54.js"
},
"evidence": "suggestedFix: \"Avoid eval(parse(text=...)). Use switch statements, match.arg(), or lookup tables instead.\" }, {",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "dist/chunk-5EG3JK54.js",
"line": 19890,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-011",
"title": "Assembled command execution and dynamic evaluation in the same server",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "The implementation both builds shell commands out of runtime values (`dist/chunk-FPQKWAVT.js`) and evaluates runtime values as code (`dist/chunk-5EG3JK54.js`). Each is a separate arbitrary-execution primitive; a server exposing both gives anything that reaches either one a direct path to running attacker-chosen code. These two sinks are in different files — confirm whether they are actually connected, or are unrelated code paths (e.g. a vendored bundle plus a CLI wrapper).",
"remediation": "Remove the dynamic eval, and pass command arguments as an argv array instead of building a shell string. If both are genuinely required, constrain and validate every value that can reach them.",
"location": {
"kind": "server",
"name": "implementation"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rules": [
"MTC-SRC-009",
"MTC-SRC-010"
],
"commandFile": "dist/chunk-FPQKWAVT.js",
"evalFile": "dist/chunk-5EG3JK54.js",
"sameFile": false
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (dist/chunk-5EG3JK54.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/chunk-5EG3JK54.js:19385`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. 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/chunk-5EG3JK54.js"
},
"evidence": "e if user input reaches eval().\", suggestedFix: \"Remove eval() and use safe alternatives (JSON.parse for data, speci",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "dist/chunk-5EG3JK54.js",
"line": 19385,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/chunk-5EG3JK54.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/chunk-5EG3JK54.js:17069`): 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/chunk-5EG3JK54.js"
},
"evidence": "port { execSync } from \"child_process\"; function generateHistory(graph, projectRoot, version) { let output = \"\"; con",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/chunk-5EG3JK54.js",
"line": 17069,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/chunk-FPQKWAVT.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/chunk-FPQKWAVT.js:617`): 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/chunk-FPQKWAVT.js"
},
"evidence": "port { execSync } from \"child_process\"; async function getCommitLog(dir, limit) { try { if (limit !== void 0 && (!",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/chunk-FPQKWAVT.js",
"line": 617,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/index.js:1559`): 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/index.js"
},
"evidence": "port { execSync } from \"child_process\"; function git(cmd, cwd) { return execSync(`git ${cmd}`, { cwd, encoding: \"utf-8",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/index.js",
"line": 1559,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (dist/chunk-FPQKWAVT.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/chunk-FPQKWAVT.js:624`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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/chunk-FPQKWAVT.js"
},
"evidence": "\"\"; const output = execSync( `git log ${limitArg} --pretty=format:\"%H|%aI|%s|%an\"`, { cwd: dir, encodin",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "dist/chunk-FPQKWAVT.js",
"line": 624,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (dist/index.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`dist/index.js:1561`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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/index.js"
},
"evidence": "it(cmd, cwd) { return execSync(`git ${cmd}`, { cwd, encoding: \"utf-8\", stdio: [\"pipe\", \"pipe\", \"pipe\"] }).trim(); } fu",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "dist/index.js",
"line": 1561,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-008",
"title": "Unconstrained path parameter \"directory\" on \"list_files\"",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"list_files\" takes a path parameter \"directory\" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.",
"remediation": "Resolve and verify the path stays within an allowed root; reject traversal sequences.",
"location": {
"kind": "tool",
"name": "list_files",
"field": "inputSchema.properties.directory"
},
"data": {
"param": "directory"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "connect_repo",
"tags": [],
"reasons": {}
},
{
"tool": "get_symbol_info",
"tags": [],
"reasons": {}
},
{
"tool": "get_dependencies",
"tags": [],
"reasons": {}
},
{
"tool": "get_dependents",
"tags": [],
"reasons": {}
},
{
"tool": "impact_analysis",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "get_file_context",
"tags": [],
"reasons": {}
},
{
"tool": "search_symbols",
"tags": [],
"reasons": {}
},
{
"tool": "get_architecture_summary",
"tags": [],
"reasons": {}
},
{
"tool": "list_files",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"list_files\""
]
}
},
{
"tool": "visualize_graph",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_docs",
"tags": [],
"reasons": {}
},
{
"tool": "update_project_docs",
"tags": [],
"reasons": {}
},
{
"tool": "get_health_score",
"tags": [],
"reasons": {}
},
{
"tool": "get_temporal_graph",
"tags": [],
"reasons": {}
},
{
"tool": "find_dead_code",
"tags": [],
"reasons": {}
},
{
"tool": "simulate_change",
"tags": [],
"reasons": {}
},
{
"tool": "security_scan",
"tags": [],
"reasons": {}
},
{
"tool": "verify_change",
"tags": [],
"reasons": {}
},
{
"tool": "claim_files",
"tags": [],
"reasons": {}
},
{
"tool": "release_files",
"tags": [],
"reasons": {}
},
{
"tool": "get_active_claims",
"tags": [],
"reasons": {}
},
{
"tool": "record_decision",
"tags": [],
"reasons": {}
},
{
"tool": "get_decisions",
"tags": [],
"reasons": {}
},
{
"tool": "affected_files",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "c7ca7710746e4a7e7bd21706cdb35c30f6182e4b22ccbc41d20c2feb368d59ca",
"stats": {
"tools": 24,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 6,
"medium": 2,
"low": 1,
"info": 0
}
}
}