Mysql Mcp Server V1 — 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": "mysql-mcp-server-v1",
"source": {
"kind": "package",
"origin": "mysql-mcp-server-v1"
},
"server": {
"name": "mysql-mcp-server-v1"
}
},
"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 (39 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 (bin/mysql-mcp-cli.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`bin/mysql-mcp-cli.js:94`): 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": "bin/mysql-mcp-cli.js"
},
"evidence": "cSync } = await import('child_process'); execSync('npm run setup', { stdio: 'inherit', cwd: projectRoot });",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "bin/mysql-mcp-cli.js",
"line": 94,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (src/dlm-operations.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/dlm-operations.js:6`): 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/dlm-operations.js"
},
"evidence": "import { exec } from 'child_process'; import { promisify } from 'util'; const execAsync = promisify(exec); expo",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "src/dlm-operations.js",
"line": 6,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (scripts/mcp-server-wrapper.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/mcp-server-wrapper.js:5`): 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": "scripts/mcp-server-wrapper.js"
},
"evidence": "port { execSync } from 'child_process'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "scripts/mcp-server-wrapper.js",
"line": 5,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (scripts/run-mcp-server.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/run-mcp-server.js:5`): 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": "scripts/run-mcp-server.js"
},
"evidence": "import { spawn } from 'child_process'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "scripts/run-mcp-server.js",
"line": 5,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in packaging/dev tooling (scripts/setup.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/setup.js:60`): 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": "scripts/setup.js"
},
"evidence": "cSync } = await import('child_process'); const mysqlVersion = execSync('mysql --version', { encoding: 'utf8' }).tr",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "scripts/setup.js",
"line": 60,
"nonRuntime": true
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal in packaging/dev tooling (scripts/ensure-dependencies.js)",
"category": "permissions",
"severity": "low",
"confidence": "heuristic",
"description": "In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/ensure-dependencies.js:22`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. 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": "scripts/ensure-dependencies.js"
},
"evidence": ") { try { await import(dep); } catch (error) { missingDependencies.push(dep); } } if (missingDepe",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "scripts/ensure-dependencies.js",
"line": 22,
"nonRuntime": true
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "list_connections",
"tags": [],
"reasons": {}
},
{
"tool": "test_connection",
"tags": [],
"reasons": {}
},
{
"tool": "test_all_connections",
"tags": [],
"reasons": {}
},
{
"tool": "get_connections_status",
"tags": [],
"reasons": {}
},
{
"tool": "check_database_health",
"tags": [],
"reasons": {}
},
{
"tool": "monitor_schema_changes",
"tags": [],
"reasons": {}
},
{
"tool": "check_sensitive_tables",
"tags": [],
"reasons": {}
},
{
"tool": "detect_suspicious_activity",
"tags": [],
"reasons": {}
},
{
"tool": "get_table_info",
"tags": [],
"reasons": {}
},
{
"tool": "get_constraints",
"tags": [],
"reasons": {}
},
{
"tool": "get_foreign_keys",
"tags": [],
"reasons": {}
},
{
"tool": "get_indexes",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_table",
"tags": [],
"reasons": {}
},
{
"tool": "create_schema",
"tags": [],
"reasons": {}
},
{
"tool": "drop_schema",
"tags": [],
"reasons": {}
},
{
"tool": "list_schemas",
"tags": [],
"reasons": {}
},
{
"tool": "list_tables",
"tags": [],
"reasons": {}
},
{
"tool": "get_table_structure",
"tags": [],
"reasons": {}
},
{
"tool": "analyze_indexes",
"tags": [],
"reasons": {}
},
{
"tool": "list_views",
"tags": [],
"reasons": {}
},
{
"tool": "list_routines",
"tags": [],
"reasons": {}
},
{
"tool": "create_user",
"tags": [],
"reasons": {}
},
{
"tool": "drop_user",
"tags": [],
"reasons": {}
},
{
"tool": "list_users",
"tags": [],
"reasons": {}
},
{
"tool": "change_password",
"tags": [],
"reasons": {}
},
{
"tool": "grant_privileges",
"tags": [],
"reasons": {}
},
{
"tool": "revoke_privileges",
"tags": [],
"reasons": {}
},
{
"tool": "show_grants",
"tags": [],
"reasons": {}
},
{
"tool": "list_privileges",
"tags": [],
"reasons": {}
},
{
"tool": "audit_user_access",
"tags": [],
"reasons": {}
},
{
"tool": "check_password_policy",
"tags": [],
"reasons": {}
},
{
"tool": "create_backup",
"tags": [],
"reasons": {}
},
{
"tool": "restore_backup",
"tags": [],
"reasons": {}
},
{
"tool": "list_backups",
"tags": [],
"reasons": {}
},
{
"tool": "archive_old_data",
"tags": [],
"reasons": {}
},
{
"tool": "apply_retention_policy",
"tags": [],
"reasons": {}
},
{
"tool": "compress_table",
"tags": [],
"reasons": {}
},
{
"tool": "create_partition",
"tags": [],
"reasons": {}
},
{
"tool": "drop_partition",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "02f69cf5164f8b569370305223336795b3989a3aa53dc6959b1096e94781a9a2",
"stats": {
"tools": 39,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 2,
"medium": 0,
"low": 4,
"info": 0
}
}
}