Wezterm Agent — 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": "wezterm-agent-mcp",
"source": {
"kind": "package",
"origin": "wezterm-agent-mcp"
},
"server": {
"name": "wezterm-agent-mcp"
}
},
"grade": "B",
"score": {
"score": 82,
"threatScore": 89,
"grade": "B",
"band": "B",
"categorySubtotals": {
"injection": 9.45,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 1.2,
"network": 0,
"hygiene": 0
},
"vector": [
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"kind": "threat",
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.5,
"appliedPenalty": 3.15
},
{
"kind": "threat",
"ruleId": "MTC-SUP-010",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"rawWeight": 3,
"confidenceMult": 0.4,
"diminishingFactor": 1,
"appliedPenalty": 1.2
},
{
"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.13"
},
"capability": {
"level": "high",
"reasons": [
"can execute shell commands or code"
],
"tags": [
"code-exec"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": true,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"Tools were statically extracted from the published source (41 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 \"wez_spawn\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"wez_spawn\" appears to run shell commands or evaluate code (keyword \"spawn\" 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": "wez_spawn"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (build/init.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/init.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": "build/init.js"
},
"evidence": "{ execSync } from 'node:child_process'; import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'; im",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/init.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (build/platform.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/platform.js:8`): 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": "build/platform.js"
},
"evidence": "ecFileSync } from 'node:child_process'; import { existsSync } from 'node:fs'; import { homedir } from 'node:os'; import",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/platform.js",
"line": 8,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (build/wez-mcp.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`build/wez-mcp.js:8`): 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": "build/wez-mcp.js"
},
"evidence": "nodeSpawn } from 'node:child_process'; import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, statSync,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "build/wez-mcp.js",
"line": 8,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (build/init.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`build/init.js:50`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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": "build/init.js"
},
"evidence": "sswd return execSync(`eval echo ~${sudoUser}`, { encoding: 'utf8', timeout: 3000 }).trim(); }",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "build/init.js",
"line": 50,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (build/platform.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`build/platform.js:39`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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": "build/platform.js"
},
"evidence": "const out = execSync(`pgrep -x ${name}`, { encoding: 'utf8', timeout: 3000 }); return out.trim()",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "build/platform.js",
"line": 39,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"wez_spawn\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"wez_spawn\" 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": "wez_spawn"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SUP-010",
"title": "Package runs install-time scripts (postinstall)",
"category": "supply-chain",
"severity": "low",
"confidence": "heuristic",
"description": "\"wezterm-agent-mcp\" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.",
"remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
"location": {
"kind": "package",
"name": "wezterm-agent-mcp"
},
"evidence": "node build/postinstall.js",
"owasp": "LLM03:2025 Supply Chain",
"references": [
"https://github.com/ossf/package-analysis",
"https://owasp.org/www-project-top-10-ci-cd-security-risks/"
],
"data": {
"scripts": [
"postinstall"
]
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "wez_status",
"tags": [],
"reasons": {}
},
{
"tool": "wez_list",
"tags": [],
"reasons": {}
},
{
"tool": "wez_read_tab",
"tags": [],
"reasons": {}
},
{
"tool": "wez_screenshot",
"tags": [],
"reasons": {}
},
{
"tool": "wez_screenshot_all_tabs",
"tags": [],
"reasons": {}
},
{
"tool": "wez_read_all",
"tags": [],
"reasons": {}
},
{
"tool": "wez_read_all_deep",
"tags": [],
"reasons": {}
},
{
"tool": "wez_spawn",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"spawn\" in tool name"
]
}
},
{
"tool": "wez_split",
"tags": [],
"reasons": {}
},
{
"tool": "wez_kill_pane",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_text",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_text_submit",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_text_all",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_text_submit_all",
"tags": [],
"reasons": {}
},
{
"tool": "wez_focus_pane",
"tags": [],
"reasons": {}
},
{
"tool": "wez_focus_direction",
"tags": [],
"reasons": {}
},
{
"tool": "wez_focus_tab",
"tags": [],
"reasons": {}
},
{
"tool": "wez_resize_pane",
"tags": [],
"reasons": {}
},
{
"tool": "wez_zoom_pane",
"tags": [],
"reasons": {}
},
{
"tool": "wez_move_to_tab",
"tags": [],
"reasons": {}
},
{
"tool": "wez_set_tab_title",
"tags": [],
"reasons": {}
},
{
"tool": "wez_set_window_title",
"tags": [],
"reasons": {}
},
{
"tool": "wez_rename_workspace",
"tags": [],
"reasons": {}
},
{
"tool": "wez_launch_grid",
"tags": [],
"reasons": {}
},
{
"tool": "wez_launch_agents",
"tags": [],
"reasons": {}
},
{
"tool": "wez_launch_mixed",
"tags": [],
"reasons": {}
},
{
"tool": "wez_fullscreen",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_key",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_key_all",
"tags": [],
"reasons": {}
},
{
"tool": "wez_kill_tab",
"tags": [],
"reasons": {}
},
{
"tool": "wez_kill_all",
"tags": [],
"reasons": {}
},
{
"tool": "wez_kill_gui",
"tags": [],
"reasons": {}
},
{
"tool": "wez_kill_mux",
"tags": [],
"reasons": {}
},
{
"tool": "wez_clean_sockets",
"tags": [],
"reasons": {}
},
{
"tool": "wez_restart_pane",
"tags": [],
"reasons": {}
},
{
"tool": "wez_send_text_submit_some",
"tags": [],
"reasons": {}
},
{
"tool": "wez_get_text",
"tags": [],
"reasons": {}
},
{
"tool": "wez_start",
"tags": [],
"reasons": {}
},
{
"tool": "wez_reconcile",
"tags": [],
"reasons": {}
},
{
"tool": "wez_session_save",
"tags": [],
"reasons": {}
},
{
"tool": "wez_session_recover",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "86503c0b18c64965e6ccda4875a14190835e9ea815be3a05eb95173ba2d40052",
"stats": {
"tools": 41,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 4,
"medium": 2,
"low": 2,
"info": 0
}
}
}