Yii2 — 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": "yii2-mcp-server",
"source": {
"kind": "package",
"origin": "yii2-mcp-server"
},
"server": {
"name": "yii2-mcp-server"
}
},
"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 (49 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 \"yii_command_help\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"yii_command_help\" appears to run shell commands or evaluate code (parameter \"command\"). 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": "yii_command_help"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-001",
"title": "Tool \"yii_execute_command\" exposes command/code execution",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "Tool \"yii_execute_command\" appears to run shell commands or evaluate code (keyword \"execute command\" in tool name, parameter \"command\"). 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": "yii_execute_command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (dist/yii2.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`dist/yii2.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": "dist/yii2.js"
},
"evidence": "import { exec } from 'child_process'; import { promisify } from 'util'; import { readFileSync, readdirSync, statSync,",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "dist/yii2.js",
"line": 1,
"nonRuntime": false
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"yii_command_help\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"yii_command_help\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "yii_command_help",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-006",
"title": "Unconstrained command parameter \"command\" on \"yii_execute_command\"",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "Tool \"yii_execute_command\" takes a command-shaped parameter \"command\" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.",
"remediation": "Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.",
"location": {
"kind": "tool",
"name": "yii_execute_command",
"field": "inputSchema.properties.command"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"param": "command"
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"yii_command_help\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"yii_command_help\" 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": "yii_command_help"
},
"data": {
"tags": [
"code-exec"
]
}
},
{
"ruleId": "MTC-CAP-005",
"title": "Mutating tool \"yii_execute_command\" declares no destructiveHint",
"category": "hygiene",
"severity": "low",
"confidence": "heuristic",
"description": "Tool \"yii_execute_command\" 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": "yii_execute_command"
},
"data": {
"tags": [
"code-exec"
]
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "db_list_tables",
"tags": [],
"reasons": {}
},
{
"tool": "db_describe_table",
"tags": [],
"reasons": {}
},
{
"tool": "db_table_relationships",
"tags": [],
"reasons": {}
},
{
"tool": "db_execute_query",
"tags": [],
"reasons": {}
},
{
"tool": "yii_list_commands",
"tags": [],
"reasons": {}
},
{
"tool": "yii_command_help",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"parameter \"command\""
]
}
},
{
"tool": "yii_execute_command",
"tags": [
"code-exec"
],
"reasons": {
"code-exec": [
"keyword \"execute command\" in tool name",
"parameter \"command\""
]
}
},
{
"tool": "yii_list_migrations",
"tags": [],
"reasons": {}
},
{
"tool": "yii_list_models",
"tags": [],
"reasons": {}
},
{
"tool": "yii_analyze_model",
"tags": [],
"reasons": {}
},
{
"tool": "project_structure",
"tags": [],
"reasons": {}
},
{
"tool": "module_info",
"tags": [],
"reasons": {}
},
{
"tool": "config_inspect",
"tags": [],
"reasons": {}
},
{
"tool": "module_detailed_analysis",
"tags": [],
"reasons": {}
},
{
"tool": "asset_list_bundles",
"tags": [],
"reasons": {}
},
{
"tool": "asset_analyze_dependencies",
"tags": [],
"reasons": {}
},
{
"tool": "widget_list",
"tags": [],
"reasons": {}
},
{
"tool": "migration_create",
"tags": [],
"reasons": {}
},
{
"tool": "migration_diff",
"tags": [],
"reasons": {}
},
{
"tool": "migration_rollback",
"tags": [],
"reasons": {}
},
{
"tool": "migration_generate_from_model",
"tags": [],
"reasons": {}
},
{
"tool": "generate_crud",
"tags": [],
"reasons": {}
},
{
"tool": "generate_model",
"tags": [],
"reasons": {}
},
{
"tool": "generate_api",
"tags": [],
"reasons": {}
},
{
"tool": "generate_form",
"tags": [],
"reasons": {}
},
{
"tool": "cache_clear",
"tags": [],
"reasons": {}
},
{
"tool": "cache_inspect",
"tags": [],
"reasons": {}
},
{
"tool": "cache_performance",
"tags": [],
"reasons": {}
},
{
"tool": "rbac_permission_tree",
"tags": [],
"reasons": {}
},
{
"tool": "rbac_user_access",
"tags": [],
"reasons": {}
},
{
"tool": "rbac_role_analysis",
"tags": [],
"reasons": {}
},
{
"tool": "rbac_access_debug",
"tags": [],
"reasons": {}
},
{
"tool": "queue_job_status",
"tags": [],
"reasons": {}
},
{
"tool": "queue_retry_failed",
"tags": [],
"reasons": {}
},
{
"tool": "queue_worker_status",
"tags": [],
"reasons": {}
},
{
"tool": "queue_clear_failed",
"tags": [],
"reasons": {}
},
{
"tool": "log_error_analysis",
"tags": [],
"reasons": {}
},
{
"tool": "log_performance_issues",
"tags": [],
"reasons": {}
},
{
"tool": "log_search",
"tags": [],
"reasons": {}
},
{
"tool": "log_tail",
"tags": [],
"reasons": {}
},
{
"tool": "db_index_suggestions",
"tags": [],
"reasons": {}
},
{
"tool": "db_query_profiler",
"tags": [],
"reasons": {}
},
{
"tool": "db_table_analysis",
"tags": [],
"reasons": {}
},
{
"tool": "test_run",
"tags": [],
"reasons": {}
},
{
"tool": "test_generate",
"tags": [],
"reasons": {}
},
{
"tool": "test_coverage_report",
"tags": [],
"reasons": {}
},
{
"tool": "performance_profile",
"tags": [],
"reasons": {}
},
{
"tool": "asset_performance_analysis",
"tags": [],
"reasons": {}
},
{
"tool": "db_connection_monitor",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "09679bce592b392705be070b3f043d9fb456a515797ad770291c7a1cba9c042a",
"stats": {
"tools": 49,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 3,
"medium": 2,
"low": 2,
"info": 0
}
}
}