System Diag — 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": "system-diag-mcp",
"source": {
"kind": "package",
"origin": "system-diag-mcp"
},
"server": {
"name": "system-diag-mcp"
}
},
"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",
"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 (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/system_diag_mcp/server.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/system_diag_mcp/server.py:36`): 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/system_diag_mcp/server.py"
},
"evidence": "try: result = subprocess.run( cmd, capture_output=True, text=True,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/system_diag_mcp/server.py",
"line": 36,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (test_communication.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`test_communication.py:16`): 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_communication.py"
},
"evidence": "r process process = subprocess.Popen( [\"python3\", \"-m\", \"system_diag_mcp.server\"], stdin=subprocess.",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "test_communication.py",
"line": 16,
"nonRuntime": false
}
},
{
"ruleId": "MTC-FLOW-005",
"title": "Untrusted input can drive an external action",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "Untrusted-input tools ([read_journal]) co-exist with external-action tools ([curl_url]). 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": "read_journal → curl_url"
},
"evidence": "untrusted [read_journal] → sinks [curl_url]",
"owasp": "LLM06:2025 Excessive Agency",
"references": [],
"data": {
"untrusted": [
"read_journal"
],
"sinks": [
"curl_url"
]
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package declares no source repository",
"category": "supply-chain",
"severity": "info",
"confidence": "strong",
"description": "\"system-diag-mcp\" 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": "system-diag-mcp"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "medium",
"confidence": "strong",
"untrustedInput": [
"read_journal"
],
"sensitiveSource": [],
"externalSink": [
"curl_url"
],
"selfContained": false,
"description": "Untrusted input can drive an external action even though no sensitive source is exposed."
}
],
"capabilities": [
{
"tool": "check_port",
"tags": [],
"reasons": {}
},
{
"tool": "ping_host",
"tags": [],
"reasons": {}
},
{
"tool": "dns_lookup",
"tags": [],
"reasons": {}
},
{
"tool": "http_check",
"tags": [],
"reasons": {}
},
{
"tool": "traceroute_host",
"tags": [],
"reasons": {}
},
{
"tool": "get_uptime",
"tags": [],
"reasons": {}
},
{
"tool": "get_sys_info",
"tags": [],
"reasons": {}
},
{
"tool": "get_hostname",
"tags": [],
"reasons": {}
},
{
"tool": "list_processes",
"tags": [],
"reasons": {}
},
{
"tool": "list_services",
"tags": [],
"reasons": {}
},
{
"tool": "service_status",
"tags": [],
"reasons": {}
},
{
"tool": "read_journal",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "cron_list",
"tags": [],
"reasons": {}
},
{
"tool": "check_disk_usage",
"tags": [],
"reasons": {}
},
{
"tool": "check_memory",
"tags": [],
"reasons": {}
},
{
"tool": "check_inode_usage",
"tags": [],
"reasons": {}
},
{
"tool": "list_mounts",
"tags": [],
"reasons": {}
},
{
"tool": "list_open_ports",
"tags": [],
"reasons": {}
},
{
"tool": "check_firewall_status",
"tags": [],
"reasons": {}
},
{
"tool": "list_network_interfaces",
"tags": [],
"reasons": {}
},
{
"tool": "check_bandwidth_usage",
"tags": [],
"reasons": {}
},
{
"tool": "resolve_host",
"tags": [],
"reasons": {}
},
{
"tool": "curl_url",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"curl\""
]
}
},
{
"tool": "list_users",
"tags": [],
"reasons": {}
},
{
"tool": "last_logins",
"tags": [],
"reasons": {}
},
{
"tool": "check_sudoers",
"tags": [],
"reasons": {}
},
{
"tool": "who_is_logged_in",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "15c2f6795afc37317fb8d75b900eee1e244c12ef921802ad57d688c2d549912a",
"stats": {
"tools": 27,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 1,
"low": 0,
"info": 1
}
}
}