Cpp Debug — 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": "cpp-debug-mcp",
"source": {
"kind": "package",
"origin": "cpp-debug-mcp"
},
"server": {
"name": "cpp-debug-mcp"
}
},
"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": [
"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 (27 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/cpp_debug_mcp/gdb/session.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/cpp_debug_mcp/gdb/session.py:82`): 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/cpp_debug_mcp/gdb/session.py"
},
"evidence": "hat stays open) subprocess.run( [\"tmux\", \"new-session\", \"-d\", \"-s\", tmux_name], check=Tr",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/cpp_debug_mcp/gdb/session.py",
"line": 82,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"cpp-debug-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "cpp-debug-mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "inspect_variable_with_type",
"tags": [],
"reasons": {}
},
{
"tool": "diagnose_crash_site",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_function",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_start_session",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_end_session",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_run",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_set_breakpoint",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_delete_breakpoint",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_list_breakpoints",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_continue",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_step",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_backtrace",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_list_variables",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_evaluate",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_read_memory",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_thread_info",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_raw_command",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_open_console",
"tags": [],
"reasons": {}
},
{
"tool": "gdb_close_console",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_start_session",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_end_session",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_diagnostics",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_hover",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_goto_definition",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_find_references",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_document_symbols",
"tags": [],
"reasons": {}
},
{
"tool": "lsp_signature_help",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "2316b244b61c592c47e937c7a3ad988e3de7d802cb932b821dddd7b3b9960ecc",
"stats": {
"tools": 27,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 1,
"medium": 0,
"low": 0,
"info": 1
}
}
}