Vivado — 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": "vivado-mcp",
"source": {
"kind": "package",
"origin": "vivado-mcp"
},
"server": {
"name": "vivado-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 send data / act on an external service",
"can execute shell commands or code"
],
"tags": [
"external-sink",
"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/vivado_mcp/analysis/verilog_compile_check.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/vivado_mcp/analysis/verilog_compile_check.py:281`): 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/vivado_mcp/analysis/verilog_compile_check.py"
},
"evidence": "] try: r = subprocess.run( cmd, capture_output=True, text=True,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/vivado_mcp/analysis/verilog_compile_check.py",
"line": 281,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/vivado_mcp/vivado/gui_session.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/vivado_mcp/vivado/gui_session.py:545`): 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/vivado_mcp/vivado/gui_session.py"
},
"evidence": "attach / 外部命中路径不 spawn(_proc is None),天然跳过。 \"\"\" import subprocess import sys if",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/vivado_mcp/vivado/gui_session.py",
"line": 545,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/test_probe_then_attach.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_probe_then_attach.py:275`): 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": "tests/test_probe_then_attach.py"
},
"evidence": "auto-alloc 空闲端口 → spawn(fake vivado 会失败抛错),关键断言 attached_external 始终 False。 \"\"\" # 起一个 fake",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/test_probe_then_attach.py",
"line": 275,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/test_readme_hooks.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_readme_hooks.py:13`): 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": "tests/test_readme_hooks.py"
},
"evidence": "3. 每条命令喂 stdin JSON 实跑(shell=True,Windows 下即 cmd 语境), 返回码与输出符合预期 —— 含 bitstream-guard 的 \"ask\" JSON、 xdc-lint",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/test_readme_hooks.py",
"line": 13,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (tests/test_session.py)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_session.py:978`): 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": "tests/test_session.py"
},
"evidence": "\"utf-8\") proc = subprocess.run( [tclsh, str(driver)], capture_output=True, timeout=30 )",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "tests/test_session.py",
"line": 978,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"vivado-mcp\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "vivado-mcp"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "get_critical_warnings",
"tags": [],
"reasons": {}
},
{
"tool": "verify_io_placement_tool",
"tags": [],
"reasons": {}
},
{
"tool": "xdc_lint",
"tags": [],
"reasons": {}
},
{
"tool": "xdc_auto_fix",
"tags": [],
"reasons": {}
},
{
"tool": "verilog_compile_check",
"tags": [],
"reasons": {}
},
{
"tool": "run_synthesis",
"tags": [],
"reasons": {}
},
{
"tool": "run_implementation",
"tags": [],
"reasons": {}
},
{
"tool": "generate_bitstream",
"tags": [],
"reasons": {}
},
{
"tool": "program_device",
"tags": [],
"reasons": {}
},
{
"tool": "parse_xpr",
"tags": [
"external-sink"
],
"reasons": {
"external-sink": [
"keyword \"open_pr\""
]
}
},
{
"tool": "parse_bit_header",
"tags": [],
"reasons": {}
},
{
"tool": "parse_ltx",
"tags": [],
"reasons": {}
},
{
"tool": "compare_xci",
"tags": [],
"reasons": {}
},
{
"tool": "inspect_ip_params",
"tags": [],
"reasons": {}
},
{
"tool": "get_io_report",
"tags": [],
"reasons": {}
},
{
"tool": "get_timing_report",
"tags": [],
"reasons": {}
},
{
"tool": "check_bitstream_readiness",
"tags": [],
"reasons": {}
},
{
"tool": "get_utilization_report",
"tags": [],
"reasons": {}
},
{
"tool": "get_project_info",
"tags": [],
"reasons": {}
},
{
"tool": "get_run_progress",
"tags": [],
"reasons": {}
},
{
"tool": "get_next_suggestion",
"tags": [],
"reasons": {}
},
{
"tool": "get_ip_status",
"tags": [],
"reasons": {}
},
{
"tool": "get_pre_commit_summary",
"tags": [],
"reasons": {}
},
{
"tool": "start_session",
"tags": [],
"reasons": {}
},
{
"tool": "stop_session",
"tags": [],
"reasons": {}
},
{
"tool": "list_sessions",
"tags": [],
"reasons": {}
},
{
"tool": "run_tcl",
"tags": [],
"reasons": {}
},
{
"tool": "safe_tcl",
"tags": [],
"reasons": {}
},
{
"tool": "set_wave_zoom",
"tags": [],
"reasons": {}
},
{
"tool": "set_wave_analog",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "a088dec9b7dc18f409060eb7b311f149cec5b3495aedd0c3138d2f1eae882f92",
"stats": {
"tools": 30,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 0,
"low": 3,
"info": 1
}
}
}