Tui Testing — 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": "tui-testing-mcp",
"source": {
"kind": "package",
"origin": "tui-testing-mcp"
},
"server": {
"name": "tui-testing-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": [
"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 (19 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-010",
"title": "Dynamic evaluation of a non-literal value (dist/security/policy.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/security/policy.js:59`): 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": "dist/security/policy.js"
},
"evidence": "e(?:.+)?$/, /^--eval(?:=.*)?$/, /^-p(?:.+)?$/, /^--print(?:=.*)?$/, /^-r(?:.+)?$/,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "dist/security/policy.js",
"line": 59,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (dist/security/policy.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/security/policy.js:59`): 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": "dist/security/policy.js"
},
"evidence": "e(?:.+)?$/, /^--eval(?:=.*)?$/, /^-p(?:.+)?$/, /^--print(?:=.*)?$/, /^-r(?:.+)?$/,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "dist/security/policy.js",
"line": 59,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/bridges/microsoft-tui-test/bridge.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/bridges/microsoft-tui-test/bridge.js:21`): 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/bridges/microsoft-tui-test/bridge.js"
},
"evidence": "rt { spawn } from \"node:child_process\"; import * as fs from \"node:fs\"; import * as path from \"node:path\"; import { resol",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/bridges/microsoft-tui-test/bridge.js",
"line": 21,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/runners/index.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/runners/index.js:4`): 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/runners/index.js"
},
"evidence": "import { spawn } from \"child_process\"; const MAX_COMMAND_OUTPUT_BYTES = 1024 * 1024; // 1MB per stream export { BinaryR",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/runners/index.js",
"line": 4,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/security/policy.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/security/policy.js:54`): 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/security/policy.js"
},
"evidence": "\\.git[=\\s]/, /--exec(?:=.*)?$/, ], // Node can eval arbitrary code or load modules node: [ /",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/security/policy.js",
"line": 54,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (dist/security/policy.test.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`dist/security/policy.test.js:109`): 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/security/policy.test.js"
},
"evidence": "Policy, \"node\", [\"-r\", \"child_process\"])).toBe(false); expect(isArgvSafe(allowlistPolicy, \"node\", [\"-rchild_proc",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/security/policy.test.js",
"line": 109,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "launch_tui",
"tags": [],
"reasons": {}
},
{
"tool": "send_keys",
"tags": [],
"reasons": {}
},
{
"tool": "send_ctrl",
"tags": [],
"reasons": {}
},
{
"tool": "capture_screen",
"tags": [],
"reasons": {}
},
{
"tool": "expect_text",
"tags": [],
"reasons": {}
},
{
"tool": "wait_for_screen_change",
"tags": [],
"reasons": {}
},
{
"tool": "wait_for_screen_stability",
"tags": [],
"reasons": {}
},
{
"tool": "assert_contains",
"tags": [],
"reasons": {}
},
{
"tool": "assert_at_position",
"tags": [],
"reasons": {}
},
{
"tool": "get_cursor_position",
"tags": [],
"reasons": {}
},
{
"tool": "get_screen_region",
"tags": [],
"reasons": {}
},
{
"tool": "get_line",
"tags": [],
"reasons": {}
},
{
"tool": "close_session",
"tags": [],
"reasons": {}
},
{
"tool": "list_sessions",
"tags": [],
"reasons": {}
},
{
"tool": "resize_session",
"tags": [],
"reasons": {}
},
{
"tool": "discover_targets",
"tags": [],
"reasons": {}
},
{
"tool": "build_target",
"tags": [],
"reasons": {}
},
{
"tool": "run_target_tests",
"tags": [],
"reasons": {}
},
{
"tool": "run_microsoft_tui_test",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "a80b0a286665603e72d479cb8290265b15b5f8a3268fe4301285df57ef7fe22b",
"stats": {
"tools": 19,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 5,
"medium": 0,
"low": 1,
"info": 0
}
}
}