Networkx — 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": "networkx-mcp-server",
"source": {
"kind": "package",
"origin": "networkx-mcp-server"
},
"server": {
"name": "networkx-mcp-server"
}
},
"grade": "A",
"score": {
"score": 93,
"threatScore": 94,
"grade": "A",
"band": "A",
"categorySubtotals": {
"injection": 0,
"exfiltration": 0,
"permissions": 6.3,
"supply-chain": 0,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-007",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"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": "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": "minimal",
"reasons": [],
"tags": []
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (7 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-007",
"title": "Unsafe deserialization (src/networkx_mcp/core/io_handlers.py)",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`src/networkx_mcp/core/io_handlers.py:855`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). 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/networkx_mcp/core/io_handlers.py"
},
"evidence": "s f: return pickle.load(f) # nosec B301 - documented security warning above @staticmethod def _exp",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-007",
"file": "src/networkx_mcp/core/io_handlers.py",
"line": 855,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-006",
"title": "Reads a sensitive credential path or dumps the environment in packaging/dev tooling (tests/unit/test_security_validation.py)",
"category": "exfiltration",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/unit/test_security_validation.py:228`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. 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/unit/test_security_validation.py"
},
"evidence": "\"../../.ssh/id_rsa\", \"/root/.bashrc\", \"C:\\\\Windows\\\\System32\\\\config\\\\sam\",",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-006",
"file": "tests/unit/test_security_validation.py",
"line": 228,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/e2e/test_e2e_workflow.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/e2e/test_e2e_workflow.py:51`): 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": "tests/e2e/test_e2e_workflow.py"
},
"evidence": "proc = subprocess.Popen( [sys.executable, \"-m\", \"networkx_mcp\", \"--jsonrpc\"], s",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/e2e/test_e2e_workflow.py",
"line": 51,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/integration/redis/test_redis_reality.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/redis/test_redis_reality.py:83`): 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": "tests/integration/redis/test_redis_reality.py"
},
"evidence": "self.server_process = subprocess.Popen( [sys.executable, \"run_secure_server.py\"], env=",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/integration/redis/test_redis_reality.py",
"line": 83,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/integration/run_integration_tests.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/run_integration_tests.py:18`): 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": "tests/integration/run_integration_tests.py"
},
"evidence": "tests result = subprocess.run( [sys.executable, \"-m\", \"pytest\", \"tests/integration/test_mcp_clients",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/integration/run_integration_tests.py",
"line": 18,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/integration/test_all_transports.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/test_all_transports.py:13`): 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": "tests/integration/test_all_transports.py"
},
"evidence": "ransport...\") process = subprocess.Popen( [sys.executable, \"-m\", \"networkx_mcp.server\", \"stdio\"], stdin=subproce",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/integration/test_all_transports.py",
"line": 13,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/integration/test_mcp_clients.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/test_mcp_clients.py:167`): 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": "tests/integration/test_mcp_clients.py"
},
"evidence": "request proc = subprocess.Popen( [sys.executable, \"-m\", \"networkx_mcp\", \"--jsonrpc\"], s",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/integration/test_mcp_clients.py",
"line": 167,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/integration/test_server_startup.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/test_server_startup.py:18`): 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": "tests/integration/test_server_startup.py"
},
"evidence": "transport process = subprocess.Popen( [sys.executable, \"-m\", \"networkx_mcp.server\", \"sse\", \"8765\"],",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/integration/test_server_startup.py",
"line": 18,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/integration/test_stdio_server.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/test_stdio_server.py:17`): 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": "tests/integration/test_stdio_server.py"
},
"evidence": "(default) process = subprocess.Popen( [sys.executable, \"-m\", \"networkx_mcp.server\", \"stdio\"], stdin=",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/integration/test_stdio_server.py",
"line": 17,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/mcp_client/test_real_mcp_clients.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/mcp_client/test_real_mcp_clients.py:293`): 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": "tests/mcp_client/test_real_mcp_clients.py"
},
"evidence": "module result = subprocess.run( [\"python\", \"-c\", \"import networkx_mcp.server\"], capture_",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/mcp_client/test_real_mcp_clients.py",
"line": 293,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/production/honest_validation.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/production/honest_validation.py:278`): 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": "tests/production/honest_validation.py"
},
"evidence": "server try: proc = subprocess.Popen([ sys.executable, '-m', 'networkx_mcp' ], stdin=subprocess.PIPE, st",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/production/honest_validation.py",
"line": 278,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/test_memory_fixed.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_memory_fixed.py:20`): 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": "tests/test_memory_fixed.py"
},
"evidence": "y)...\") proc = subprocess.Popen( [sys.executable, \"-m\", \"networkx_mcp.server_minimal\"], stdin=s",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/test_memory_fixed.py",
"line": 20,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal in packaging/dev tooling (tests/test_feature_audit.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_feature_audit.py:18`): 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_feature_audit.py"
},
"evidence": "t(\".\") module = __import__(f\"networkx_mcp.{module_path}\", fromlist=[class_name]) cls = getattr(module, c",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "tests/test_feature_audit.py",
"line": 18,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal in packaging/dev tooling (tests/unit/test_handlers_comprehensive.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/unit/test_handlers_comprehensive.py:121`): 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/unit/test_handlers_comprehensive.py"
},
"evidence": "s: module = __import__(module_name, fromlist=[class_name]) handler_class = getattr(module, class",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "tests/unit/test_handlers_comprehensive.py",
"line": 121,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "create_graph",
"tags": [],
"reasons": {}
},
{
"tool": "add_nodes",
"tags": [],
"reasons": {}
},
{
"tool": "add_edges",
"tags": [],
"reasons": {}
},
{
"tool": "get_graph_info",
"tags": [],
"reasons": {}
},
{
"tool": "shortest_path",
"tags": [],
"reasons": {}
},
{
"tool": "centrality_measures",
"tags": [],
"reasons": {}
},
{
"tool": "delete_graph",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "56f9d61e72dd0ef98ce6c2a06422cfed4390042aa45db6aa378dec1fa79b2e16",
"stats": {
"tools": 7,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 0,
"medium": 1,
"low": 13,
"info": 0
}
}
}