Mpremote — 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": "mpremote-mcp",
"source": {
"kind": "package",
"origin": "mpremote-mcp"
},
"server": {
"name": "mpremote-mcp"
}
},
"grade": "D",
"score": {
"score": 68,
"threatScore": 83,
"grade": "D",
"band": "D",
"categorySubtotals": {
"injection": 15.4,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 2.1,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"kind": "threat",
"ruleId": "MTC-SUP-011",
"category": "supply-chain",
"severity": "low",
"confidence": "strong",
"rawWeight": 3,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 2.1
},
{
"kind": "client",
"term": "capability-exposure",
"level": "critical",
"label": "capability blast radius (critical) — client exposure if the model is manipulated",
"appliedPenalty": 10
},
{
"kind": "client",
"term": "verification-discount",
"level": "none",
"label": "publisher verification (unlocatable) — no provenance and no public repository to inspect",
"appliedPenalty": 5
},
{
"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": "critical",
"reasons": [
"ingests untrusted external content (a prompt-injection entry point)",
"can create, modify or delete files",
"reads sensitive or local data",
"has a read → egress path (a data-exfiltration surface)",
"can execute shell commands or code",
"untrusted-input, sensitive-source and egress co-exist across tools (toxic-flow surface)",
"untrusted input can reach code execution"
],
"tags": [
"code-exec",
"sensitive-source",
"file-write",
"untrusted-input"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (18 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-FLOW-002",
"title": "Completed toxic-flow trifecta across tools",
"category": "exfiltration",
"severity": "critical",
"confidence": "strong",
"description": "This server (without client built-ins) exposes a complete data-exfiltration chain: mip_install → list_files → eval. Untrusted input is ingested, private data is read, and it can be sent to an external sink via the agent composing the tools (→). Static analysis proves the primitive exists, not that a specific run will occur.",
"remediation": "Remove one leg of the trifecta: isolate untrusted-input tools from secret-reading tools and from egress tools, or require human approval between them.",
"location": {
"kind": "flow",
"name": "mip_install → list_files → eval"
},
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"references": [],
"data": {
"untrusted": [
"mip_install"
],
"sources": [
"list_files",
"read_file"
],
"sinks": [
"exec",
"eval"
],
"path": [
"mip_install",
"list_files",
"eval"
],
"edges": [
{
"from": "mip_install",
"to": "list_files",
"kind": "agent-mediated"
},
{
"from": "list_files",
"to": "eval",
"kind": "agent-mediated"
}
],
"wired": false
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (mpremote_mcp.py)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`mpremote_mcp.py:223`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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": "mpremote_mcp.py"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "mpremote_mcp.py",
"line": 223
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"exec\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"exec\" appears to run shell commands or evaluate code (keyword \"exec\"). 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": "exec"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"eval\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"eval\" appears to run shell commands or evaluate code (keyword \"eval\"). 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": "eval"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (mpremote_mcp.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`mpremote_mcp.py:223`): 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": "mpremote_mcp.py"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "mpremote_mcp.py",
"line": 223
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (mpremote_mcp.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`mpremote_mcp.py:93`): 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": "mpremote_mcp.py"
},
"evidence": "exec(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "mpremote_mcp.py",
"line": 93
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"write_file\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"write_file\" can write, overwrite or delete files (keyword \"write_file\"). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-002",
"title": "Tool \"rmdir\" can modify the filesystem",
"category": "permissions",
"severity": "medium",
"confidence": "strong",
"description": "Tool \"rmdir\" can write, overwrite or delete files (keyword \"rmdir\"). Verify it is scoped to a safe directory.",
"remediation": "Constrain file operations to an explicit, non-sensitive root; reject path traversal.",
"location": {
"kind": "tool",
"name": "rmdir"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"exec\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"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": "exec"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"write_file\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"write_file\" 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": "write_file"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"eval\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"eval\" 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": "eval"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"rmdir\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"rmdir\" 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": "rmdir"
},
"data": {
"tags": [
"file-write"
]
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package has no source repository",
"category": "supply-chain",
"severity": "low",
"confidence": "strong",
"description": "\"mpremote-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": "mpremote-mcp"
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"mpremote-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "mpremote-mcp"
}
}
],
"toxicFlows": [
{
"id": "flow-1",
"severity": "critical",
"confidence": "strong",
"untrustedInput": [
"mip_install"
],
"sensitiveSource": [
"list_files",
"read_file"
],
"externalSink": [
"exec",
"eval"
],
"selfContained": false,
"path": [
"mip_install",
"list_files",
"eval"
],
"pathWired": false,
"description": "A cross-tool exfiltration chain exists: mip_install → list_files → eval."
}
],
"capabilities": [
{
"tool": "exec",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"exec\""
]
}
},
{
"tool": "enter_bootloader",
"tags": [],
"reasons": {}
},
{
"tool": "soft_reset",
"tags": [],
"reasons": {}
},
{
"tool": "list_files",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"list_files\""
]
}
},
{
"tool": "read_file",
"tags": [
"sensitive-source"
],
"reasons": {
"sensitive-source": [
"keyword \"read_file\""
]
}
},
{
"tool": "write_file",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"write_file\""
]
}
},
{
"tool": "device_info",
"tags": [],
"reasons": {}
},
{
"tool": "eval",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"eval\""
]
}
},
{
"tool": "run",
"tags": [],
"reasons": {}
},
{
"tool": "mkdir",
"tags": [],
"reasons": {}
},
{
"tool": "rmdir",
"tags": [
"file-write"
],
"reasons": {
"file-write": [
"keyword \"rmdir\""
]
}
},
{
"tool": "rm",
"tags": [],
"reasons": {}
},
{
"tool": "touch",
"tags": [],
"reasons": {}
},
{
"tool": "df",
"tags": [],
"reasons": {}
},
{
"tool": "mip_install",
"tags": [
"untrusted-input"
],
"reasons": {
"untrusted-input": [
"keyword \"download\""
]
}
},
{
"tool": "rtc_get",
"tags": [],
"reasons": {}
},
{
"tool": "rtc_set",
"tags": [],
"reasons": {}
},
{
"tool": "hard_reset",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "4027751b92a607bd7901731a24daef6e57f9331f53fd607f06bcb520a154264c",
"stats": {
"tools": 18,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 1,
"high": 5,
"medium": 2,
"low": 5,
"info": 1
}
}
}