Epanet — the complete, unedited output of the deterministic mcptrustchecker engine v1.12.1, 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.12.1",
"methodologyVersion": "mcptrustchecker-1.12"
},
"target": {
"id": "epanet-mcp-server",
"source": {
"kind": "package",
"origin": "epanet-mcp-server"
},
"server": {
"name": "epanet-mcp-server"
}
},
"grade": "A",
"score": {
"score": 98,
"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": "minimal",
"label": "capability blast radius (minimal) — client exposure if the model is manipulated",
"appliedPenalty": 0
},
{
"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.12"
},
"capability": {
"level": "minimal",
"reasons": [],
"tags": []
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (44 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-005",
"title": "Dynamic module load from a non-literal (src/epanet_mcp/tools/inspection.py)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`src/epanet_mcp/tools/inspection.py:98`): 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": "src/epanet_mcp/tools/inspection.py"
},
"evidence": "\"\"\" sess = registry.require(network_id) d = sess.d return _network_summary(d) def get_nodes(network_id: st",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "src/epanet_mcp/tools/inspection.py",
"line": 98,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (src/epanet_mcp/tools/modification.py)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`src/epanet_mcp/tools/modification.py:31`): 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": "src/epanet_mcp/tools/modification.py"
},
"evidence": "\"\"\" sess = registry.require(network_id) sess.d.saveInputFile(output_path) return {\"saved\": True, \"output_pat",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "src/epanet_mcp/tools/modification.py",
"line": 31,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (src/epanet_mcp/tools/scenarios.py)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`src/epanet_mcp/tools/scenarios.py:38`): 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": "src/epanet_mcp/tools/scenarios.py"
},
"evidence": "\"\"\" src = registry.require(source_id) tmp = tempfile.NamedTemporaryFile(suffix=\".inp\", delete=False) tmp.cl",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "src/epanet_mcp/tools/scenarios.py",
"line": 38,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (src/epanet_mcp/tools/simulation.py)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`src/epanet_mcp/tools/simulation.py:44`): 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": "src/epanet_mcp/tools/simulation.py"
},
"evidence": "\"\"\" sess = registry.require(network_id) d = sess.d with _simulation_cwd(): ts = d.getComputedHydrau",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "src/epanet_mcp/tools/simulation.py",
"line": 44,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal in packaging/dev tooling (tests/test_modification.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_modification.py:13`): 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": "tests/test_modification.py"
},
"evidence": "1): sess = registry.require(net1) idx = sess.d.getLinkIndex(\"10\") old_d = sess.d.getLinkDiameter(idx) re",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "tests/test_modification.py",
"line": 13,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package declares no source repository",
"category": "supply-chain",
"severity": "info",
"confidence": "strong",
"description": "\"epanet-mcp-server\" 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": "epanet-mcp-server"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "load_network",
"tags": [],
"reasons": {}
},
{
"tool": "unload_network",
"tags": [],
"reasons": {}
},
{
"tool": "list_networks",
"tags": [],
"reasons": {}
},
{
"tool": "list_bundled_networks",
"tags": [],
"reasons": {}
},
{
"tool": "get_network_summary",
"tags": [],
"reasons": {}
},
{
"tool": "get_nodes",
"tags": [],
"reasons": {}
},
{
"tool": "get_links",
"tags": [],
"reasons": {}
},
{
"tool": "get_patterns",
"tags": [],
"reasons": {}
},
{
"tool": "get_controls",
"tags": [],
"reasons": {}
},
{
"tool": "get_curves",
"tags": [],
"reasons": {}
},
{
"tool": "get_options",
"tags": [],
"reasons": {}
},
{
"tool": "run_hydraulic_simulation",
"tags": [],
"reasons": {}
},
{
"tool": "run_quality_simulation",
"tags": [],
"reasons": {}
},
{
"tool": "run_full_simulation",
"tags": [],
"reasons": {}
},
{
"tool": "get_pressure_at_time",
"tags": [],
"reasons": {}
},
{
"tool": "get_flow_at_time",
"tags": [],
"reasons": {}
},
{
"tool": "save_network",
"tags": [],
"reasons": {}
},
{
"tool": "set_node_base_demand",
"tags": [],
"reasons": {}
},
{
"tool": "set_pattern",
"tags": [],
"reasons": {}
},
{
"tool": "add_pattern",
"tags": [],
"reasons": {}
},
{
"tool": "set_pipe_diameter",
"tags": [],
"reasons": {}
},
{
"tool": "set_pipe_roughness",
"tags": [],
"reasons": {}
},
{
"tool": "set_pipe_status",
"tags": [],
"reasons": {}
},
{
"tool": "set_pipe_length",
"tags": [],
"reasons": {}
},
{
"tool": "set_pump_status",
"tags": [],
"reasons": {}
},
{
"tool": "set_pump_speed",
"tags": [],
"reasons": {}
},
{
"tool": "set_pump_head_curve",
"tags": [],
"reasons": {}
},
{
"tool": "set_valve_setting",
"tags": [],
"reasons": {}
},
{
"tool": "set_valve_status",
"tags": [],
"reasons": {}
},
{
"tool": "set_tank_parameters",
"tags": [],
"reasons": {}
},
{
"tool": "set_reservoir_head",
"tags": [],
"reasons": {}
},
{
"tool": "set_simulation_duration",
"tags": [],
"reasons": {}
},
{
"tool": "set_hydraulic_timestep",
"tags": [],
"reasons": {}
},
{
"tool": "set_quality_timestep",
"tags": [],
"reasons": {}
},
{
"tool": "set_quality_type",
"tags": [],
"reasons": {}
},
{
"tool": "add_control",
"tags": [],
"reasons": {}
},
{
"tool": "delete_control",
"tags": [],
"reasons": {}
},
{
"tool": "create_demand_perturbation",
"tags": [],
"reasons": {}
},
{
"tool": "create_leakage_event",
"tags": [],
"reasons": {}
},
{
"tool": "create_contamination_event",
"tags": [],
"reasons": {}
},
{
"tool": "create_pressure_change_scenario",
"tags": [],
"reasons": {}
},
{
"tool": "create_pump_control_scenario",
"tags": [],
"reasons": {}
},
{
"tool": "create_valve_control_scenario",
"tags": [],
"reasons": {}
},
{
"tool": "create_multi_failure_scenario",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "7297853df21a0819d4f08089d28fb763a323890b737ec18eb4dc6b103e62928f",
"stats": {
"tools": 44,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 0,
"medium": 4,
"low": 1,
"info": 1
}
}
}