Zsnoop — the complete, unedited output of the deterministic mcptrustchecker engine v1.8.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.8.0",
"methodologyVersion": "mcptrustchecker-1.8"
},
"target": {
"id": "zsnoop-mcp",
"source": {
"kind": "package",
"origin": "zsnoop-mcp"
},
"server": {
"name": "zsnoop-mcp"
}
},
"grade": "C",
"score": {
"score": 78,
"threatScore": 85,
"grade": "C",
"band": "C",
"categorySubtotals": {
"injection": 15.4,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-004",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"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.8"
},
"capability": {
"level": "high",
"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"
],
"tags": [
"sensitive-source",
"untrusted-input",
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (30 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-004",
"title": "Obfuscated / encoded payload in server code (src/zsnoop_mcp/transport.py)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/zsnoop_mcp/transport.py:84`): Decoding an encoded blob and executing it is how malicious logic is hidden from human review of the source. 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/zsnoop_mcp/transport.py"
},
"evidence": "f\"exec(compile(base64.b64decode('{encoded}').decode(), '<zfs-snoop-agent>', 'exec'))\\n\" ) def _remote_com",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-004",
"file": "src/zsnoop_mcp/transport.py",
"line": 84,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (src/zsnoop_mcp/transport.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/zsnoop_mcp/transport.py:84`): 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": "src/zsnoop_mcp/transport.py"
},
"evidence": "ort base64\\n\" f\"exec(compile(base64.b64decode('{encoded}').decode(), '<zfs-snoop-agent>', 'exec'))\\n\" ) de",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "src/zsnoop_mcp/transport.py",
"line": 84,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (agent/zfs_snoop_agent.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`agent/zfs_snoop_agent.py:301`): 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": "agent/zfs_snoop_agent.py"
},
"evidence": "try: result = subprocess.run( cmd, capture_output=True, text=True,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "agent/zfs_snoop_agent.py",
"line": 301,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/zsnoop_mcp/transport.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/zsnoop_mcp/transport.py:84`): 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/zsnoop_mcp/transport.py"
},
"evidence": "ort base64\\n\" f\"exec(compile(base64.b64decode('{encoded}').decode(), '<zfs-snoop-agent>', 'exec'))\\n\" ) de",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/zsnoop_mcp/transport.py",
"line": 84,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"zsnoop-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "zsnoop-mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "list_hosts",
"tags": [],
"reasons": {}
},
{
"tool": "agent_info",
"tags": [],
"reasons": {}
},
{
"tool": "list_pools",
"tags": [],
"reasons": {}
},
{
"tool": "pool_status",
"tags": [],
"reasons": {}
},
{
"tool": "list_datasets",
"tags": [],
"reasons": {}
},
{
"tool": "dataset_properties",
"tags": [],
"reasons": {}
},
{
"tool": "list_snapshots",
"tags": [],
"reasons": {}
},
{
"tool": "snapshot_cadence",
"tags": [],
"reasons": {}
},
{
"tool": "diff_snapshots",
"tags": [],
"reasons": {}
},
{
"tool": "list_dir",
"tags": [],
"reasons": {}
},
{
"tool": "size_breakdown",
"tags": [],
"reasons": {}
},
{
"tool": "top_consumers",
"tags": [],
"reasons": {}
},
{
"tool": "read_file",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "find_files",
"tags": [],
"reasons": {}
},
{
"tool": "content_grep",
"tags": [],
"reasons": {}
},
{
"tool": "file_history",
"tags": [],
"reasons": {}
},
{
"tool": "versions_of",
"tags": [],
"reasons": {}
},
{
"tool": "file_diff",
"tags": [],
"reasons": {}
},
{
"tool": "snapshots_containing",
"tags": [],
"reasons": {}
},
{
"tool": "first_appearance",
"tags": [],
"reasons": {}
},
{
"tool": "last_appearance",
"tags": [],
"reasons": {}
},
{
"tool": "find_deleted",
"tags": [],
"reasons": {}
},
{
"tool": "bisect_change",
"tags": [],
"reasons": {}
},
{
"tool": "stale_snapshots",
"tags": [],
"reasons": {}
},
{
"tool": "size_delta",
"tags": [],
"reasons": {}
},
{
"tool": "checksum_file",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "fetch_file",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "fetch_dir",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "restore_file",
"tags": [],
"reasons": {}
},
{
"tool": "restore_dir",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "d25fb5ed3ac231ad353762aad4e20d1a00675cbeea967f4c36f092fbc94c1436",
"stats": {
"tools": 30,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 4,
"medium": 0,
"low": 0,
"info": 1
}
}
}