Docker — 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": "@tmhs/docker-mcp",
"source": {
"kind": "package",
"origin": "@tmhs/docker-mcp"
},
"server": {
"name": "@tmhs/docker-mcp"
}
},
"grade": "A",
"score": {
"score": 94,
"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": "source",
"label": "publisher verification (provenance) — cryptographic build provenance ties the artifact to its source",
"appliedPenalty": 0
},
{
"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 execute shell commands or code"
],
"tags": [
"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 (150 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-CAP-001",
"title": "Tool \"docker_exec\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"docker_exec\" appears to run shell commands or evaluate code (keyword \"exec\" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.",
"remediation": "Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.",
"location": {
"kind": "tool",
"name": "docker_exec"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/tools/configCreate.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/tools/configCreate.js:3`): 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": "dist/tools/configCreate.js"
},
"evidence": "rt { spawn } from \"node:child_process\"; const inputSchema = { name: z.string().min(1).describe(\"Config name\"), f",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/tools/configCreate.js",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/tools/login.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/tools/login.js:3`): 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": "dist/tools/login.js"
},
"evidence": "rt { spawn } from \"node:child_process\"; const inputSchema = { server: z.string().optional().describe(\"Registry serve",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/tools/login.js",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/tools/secretCreate.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/tools/secretCreate.js:3`): 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": "dist/tools/secretCreate.js"
},
"evidence": "rt { spawn } from \"node:child_process\"; const inputSchema = { name: z.string().min(1).describe(\"Secret name\"), f",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/tools/secretCreate.js",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/tools/swarmUnlock.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/tools/swarmUnlock.js:3`): 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": "dist/tools/swarmUnlock.js"
},
"evidence": "rt { spawn } from \"node:child_process\"; const inputSchema = { key: z.string().min(1).describe(\"Unlock key for the sw",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/tools/swarmUnlock.js",
"line": 3,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/utils/docker-api.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/utils/docker-api.js:1`): 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": "dist/utils/docker-api.js"
},
"evidence": "{ execFile } from \"node:child_process\"; import { promisify } from \"node:util\"; import { DockerError, DockerNotFoundError",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/utils/docker-api.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-FLOW-005",
"title": "Untrusted input can drive an external action",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "Untrusted-input tools ([docker_containerLogs, docker_serviceLogs]) co-exist with external-action tools ([docker_exec]). 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": "docker_containerLogs → docker_exec"
},
"evidence": "untrusted [docker_containerLogs, docker_serviceLogs] → sinks [docker_exec]",
"owasp": "LLM06:2025 Excessive Agency",
"references": [],
"data": {
"untrusted": [
"docker_containerLogs",
"docker_serviceLogs"
],
"sinks": [
"docker_exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"docker_exec\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"docker_exec\" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.",
"remediation": "Declare accurate annotations, and gate destructive tools on user confirmation regardless.",
"location": {
"kind": "tool",
"name": "docker_exec"
},
"data": {
"tags": [
"code-exec"
]
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "medium",
"confidence": "strong",
"untrustedInput": [
"docker_containerLogs",
"docker_serviceLogs"
],
"sensitiveSource": [],
"externalSink": [
"docker_exec"
],
"selfContained": false,
"description": "Untrusted input can drive an external action even though no sensitive source is exposed."
}
],
"capabilities": [
{
"tool": "docker_build",
"tags": [],
"reasons": {}
},
{
"tool": "docker_builderPrune",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxBuild",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxImagetools",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_buildxUse",
"tags": [],
"reasons": {}
},
{
"tool": "docker_commit",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeBuild",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeConfig",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeCp",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeDown",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeEvents",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeExec",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeImages",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeKill",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeLogs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composePause",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composePort",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composePs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composePull",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeRestart",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeRun",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeScale",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeStart",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeStop",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeTop",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeUnpause",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeUp",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeVersion",
"tags": [],
"reasons": {}
},
{
"tool": "docker_composeWatch",
"tags": [],
"reasons": {}
},
{
"tool": "docker_configCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_configInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_configLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_configRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_containerLogs",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "docker_containerPrune",
"tags": [],
"reasons": {}
},
{
"tool": "docker_contextCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_contextInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_contextLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_contextRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_contextShow",
"tags": [],
"reasons": {}
},
{
"tool": "docker_contextUse",
"tags": [],
"reasons": {}
},
{
"tool": "docker_cp",
"tags": [],
"reasons": {}
},
{
"tool": "docker_create",
"tags": [],
"reasons": {}
},
{
"tool": "docker_diff",
"tags": [],
"reasons": {}
},
{
"tool": "docker_diskUsage",
"tags": [],
"reasons": {}
},
{
"tool": "docker_events",
"tags": [],
"reasons": {}
},
{
"tool": "docker_exec",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\" in tool name"
]
}
},
{
"tool": "docker_export",
"tags": [],
"reasons": {}
},
{
"tool": "docker_imageHistory",
"tags": [],
"reasons": {}
},
{
"tool": "docker_imagePrune",
"tags": [],
"reasons": {}
},
{
"tool": "docker_import",
"tags": [],
"reasons": {}
},
{
"tool": "docker_inspectContainer",
"tags": [],
"reasons": {}
},
{
"tool": "docker_inspectImage",
"tags": [],
"reasons": {}
},
{
"tool": "docker_kill",
"tags": [],
"reasons": {}
},
{
"tool": "docker_listContainers",
"tags": [],
"reasons": {}
},
{
"tool": "docker_listImages",
"tags": [],
"reasons": {}
},
{
"tool": "docker_listNetworks",
"tags": [],
"reasons": {}
},
{
"tool": "docker_listVolumes",
"tags": [],
"reasons": {}
},
{
"tool": "docker_load",
"tags": [],
"reasons": {}
},
{
"tool": "docker_login",
"tags": [],
"reasons": {}
},
{
"tool": "docker_logout",
"tags": [],
"reasons": {}
},
{
"tool": "docker_manifestAnnotate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_manifestCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_manifestInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_manifestPush",
"tags": [],
"reasons": {}
},
{
"tool": "docker_manifestRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_networkConnect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_networkCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_networkDisconnect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_networkInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_networkPrune",
"tags": [],
"reasons": {}
},
{
"tool": "docker_networkRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodeDemote",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodeInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodeLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodePromote",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodePs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodeRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_nodeUpdate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_pause",
"tags": [],
"reasons": {}
},
{
"tool": "docker_pluginEnable",
"tags": [],
"reasons": {}
},
{
"tool": "docker_pluginInstall",
"tags": [],
"reasons": {}
},
{
"tool": "docker_pluginLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_pluginRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_port",
"tags": [],
"reasons": {}
},
{
"tool": "docker_pull",
"tags": [],
"reasons": {}
},
{
"tool": "docker_push",
"tags": [],
"reasons": {}
},
{
"tool": "docker_rename",
"tags": [],
"reasons": {}
},
{
"tool": "docker_restart",
"tags": [],
"reasons": {}
},
{
"tool": "docker_rm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_rmi",
"tags": [],
"reasons": {}
},
{
"tool": "docker_run",
"tags": [],
"reasons": {}
},
{
"tool": "docker_save",
"tags": [],
"reasons": {}
},
{
"tool": "docker_scoutCves",
"tags": [],
"reasons": {}
},
{
"tool": "docker_scoutQuickview",
"tags": [],
"reasons": {}
},
{
"tool": "docker_scoutRecommendations",
"tags": [],
"reasons": {}
},
{
"tool": "docker_searchHub",
"tags": [],
"reasons": {}
},
{
"tool": "docker_secretCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_secretInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_secretLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_secretRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceLogs",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"fetch\""
]
}
},
{
"tool": "docker_serviceLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_servicePs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceRollback",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceScale",
"tags": [],
"reasons": {}
},
{
"tool": "docker_serviceUpdate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stackConfig",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stackDeploy",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stackLs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stackPs",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stackRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stackServices",
"tags": [],
"reasons": {}
},
{
"tool": "docker_start",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stats",
"tags": [],
"reasons": {}
},
{
"tool": "docker_stop",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmCa",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmInit",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmJoin",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmJoinToken",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmLeave",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmUnlock",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmUnlockKey",
"tags": [],
"reasons": {}
},
{
"tool": "docker_swarmUpdate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_systemInfo",
"tags": [],
"reasons": {}
},
{
"tool": "docker_systemPrune",
"tags": [],
"reasons": {}
},
{
"tool": "docker_tag",
"tags": [],
"reasons": {}
},
{
"tool": "docker_top",
"tags": [],
"reasons": {}
},
{
"tool": "docker_trustInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_trustKey",
"tags": [],
"reasons": {}
},
{
"tool": "docker_trustRevoke",
"tags": [],
"reasons": {}
},
{
"tool": "docker_trustSign",
"tags": [],
"reasons": {}
},
{
"tool": "docker_unpause",
"tags": [],
"reasons": {}
},
{
"tool": "docker_update",
"tags": [],
"reasons": {}
},
{
"tool": "docker_version",
"tags": [],
"reasons": {}
},
{
"tool": "docker_volumeCreate",
"tags": [],
"reasons": {}
},
{
"tool": "docker_volumeInspect",
"tags": [],
"reasons": {}
},
{
"tool": "docker_volumePrune",
"tags": [],
"reasons": {}
},
{
"tool": "docker_volumeRm",
"tags": [],
"reasons": {}
},
{
"tool": "docker_wait",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "e4b3c12fc77d25da83e78f041f928f861ebc053d30d3c134a52af71607649653",
"stats": {
"tools": 150,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 6,
"medium": 1,
"low": 1,
"info": 0
}
}
}