Kwin — 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": "kwin-mcp",
"source": {
"kind": "package",
"origin": "kwin-mcp"
},
"server": {
"name": "kwin-mcp"
}
},
"grade": "A",
"score": {
"score": 93,
"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": "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 (30 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-002",
"title": "Shell/command execution in server code (src/kwin_mcp/core.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/kwin_mcp/core.py:116`): 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": "src/kwin_mcp/core.py"
},
"evidence": "result = subprocess.run( [sys.executable, \"-m\", \"kwin_mcp.accessibility\"],",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/kwin_mcp/core.py",
"line": 116,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/kwin_mcp/input.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/kwin_mcp/input.py:903`): 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": "src/kwin_mcp/input.py"
},
"evidence": "): result = subprocess.run( [\"wtype\", \"--\", text], env=env,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/kwin_mcp/input.py",
"line": 903,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/kwin_mcp/screenshot.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/kwin_mcp/screenshot.py:268`): 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": "src/kwin_mcp/screenshot.py"
},
"evidence": "try: result = subprocess.run( cmd, env=env, capture_output=True,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/kwin_mcp/screenshot.py",
"line": 268,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/kwin_mcp/session.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/kwin_mcp/session.py:148`): 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": "src/kwin_mcp/session.py"
},
"evidence": "self._process = subprocess.Popen( [\"dbus-run-session\", \"bash\", \"-c\", wrapper_script], st",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/kwin_mcp/session.py",
"line": 148,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"kwin-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "kwin-mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "session_start",
"tags": [],
"reasons": {}
},
{
"tool": "session_connect",
"tags": [],
"reasons": {}
},
{
"tool": "session_stop",
"tags": [],
"reasons": {}
},
{
"tool": "screenshot",
"tags": [],
"reasons": {}
},
{
"tool": "accessibility_tree",
"tags": [],
"reasons": {}
},
{
"tool": "find_ui_elements",
"tags": [],
"reasons": {}
},
{
"tool": "mouse_click",
"tags": [],
"reasons": {}
},
{
"tool": "mouse_move",
"tags": [],
"reasons": {}
},
{
"tool": "mouse_scroll",
"tags": [],
"reasons": {}
},
{
"tool": "mouse_drag",
"tags": [],
"reasons": {}
},
{
"tool": "mouse_button_down",
"tags": [],
"reasons": {}
},
{
"tool": "mouse_button_up",
"tags": [],
"reasons": {}
},
{
"tool": "keyboard_type",
"tags": [],
"reasons": {}
},
{
"tool": "keyboard_type_unicode",
"tags": [],
"reasons": {}
},
{
"tool": "keyboard_key",
"tags": [],
"reasons": {}
},
{
"tool": "keyboard_key_down",
"tags": [],
"reasons": {}
},
{
"tool": "keyboard_key_up",
"tags": [],
"reasons": {}
},
{
"tool": "touch_tap",
"tags": [],
"reasons": {}
},
{
"tool": "touch_swipe",
"tags": [],
"reasons": {}
},
{
"tool": "touch_pinch",
"tags": [],
"reasons": {}
},
{
"tool": "touch_multi_swipe",
"tags": [],
"reasons": {}
},
{
"tool": "clipboard_get",
"tags": [],
"reasons": {}
},
{
"tool": "clipboard_set",
"tags": [],
"reasons": {}
},
{
"tool": "wait_for_element",
"tags": [],
"reasons": {}
},
{
"tool": "launch_app",
"tags": [],
"reasons": {}
},
{
"tool": "list_windows",
"tags": [],
"reasons": {}
},
{
"tool": "focus_window",
"tags": [],
"reasons": {}
},
{
"tool": "dbus_call",
"tags": [],
"reasons": {}
},
{
"tool": "read_app_log",
"tags": [],
"reasons": {}
},
{
"tool": "wayland_info",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "94410644c78c41498e92795f4e2d0bc46cce955c87b32b95c452a454ba54ae48",
"stats": {
"tools": 30,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 4,
"medium": 0,
"low": 0,
"info": 1
}
}
}