Awslabs Terraform — 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": "awslabs-terraform-mcp-server",
"source": {
"kind": "package",
"origin": "awslabs-terraform-mcp-server"
},
"server": {
"name": "awslabs-terraform-mcp-server"
}
},
"grade": "A",
"score": {
"score": 92,
"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": "none",
"label": "publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read",
"appliedPenalty": 2
},
{
"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 (7 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 (awslabs/terraform_mcp_server/impl/tools/execute_terraform_command.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`awslabs/terraform_mcp_server/impl/tools/execute_terraform_command.py:170`): 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": "awslabs/terraform_mcp_server/impl/tools/execute_terraform_command.py"
},
"evidence": "tion) process = subprocess.run( # noqa: B603 - Safe: allowlisted commands, validated variables, no shell inject",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "awslabs/terraform_mcp_server/impl/tools/execute_terraform_command.py",
"line": 170,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (awslabs/terraform_mcp_server/impl/tools/execute_terragrunt_command.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`awslabs/terraform_mcp_server/impl/tools/execute_terragrunt_command.py:267`): 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": "awslabs/terraform_mcp_server/impl/tools/execute_terragrunt_command.py"
},
"evidence": "tion) process = subprocess.run( # noqa: B603 - Safe: allowlisted commands, validated variables, no shell inject",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "awslabs/terraform_mcp_server/impl/tools/execute_terragrunt_command.py",
"line": 267,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (awslabs/terraform_mcp_server/impl/tools/run_checkov_scan.py)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`awslabs/terraform_mcp_server/impl/tools/run_checkov_scan.py:97`): 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": "awslabs/terraform_mcp_server/impl/tools/run_checkov_scan.py"
},
"evidence": "ready installed subprocess.run( # noqa: B603 - Safe: hardcoded command with no user input ['checkov",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "awslabs/terraform_mcp_server/impl/tools/run_checkov_scan.py",
"line": 97,
"nonRuntime": false
}
},
{
"ruleId": "MTC-SUP-012",
"title": "Package has no license",
"category": "hygiene",
"severity": "info",
"confidence": "strong",
"description": "\"awslabs-terraform-mcp-server\" has no declared license. This is a legal/reuse concern, not a security finding.",
"location": {
"kind": "package",
"name": "awslabs-terraform-mcp-server"
}
},
{
"ruleId": "MTC-SUP-011",
"title": "Package declares no source repository",
"category": "supply-chain",
"severity": "info",
"confidence": "strong",
"description": "\"awslabs-terraform-mcp-server\" declares no repository URL, so its published artifact cannot be compared against reviewable source.",
"remediation": "Prefer packages that link to public, reviewable source.",
"location": {
"kind": "package",
"name": "awslabs-terraform-mcp-server"
}
}
],
"toxicFlows": [],
"capabilities": [
{
"tool": "ExecuteTerraformCommand",
"tags": [],
"reasons": {}
},
{
"tool": "ExecuteTerragruntCommand",
"tags": [],
"reasons": {}
},
{
"tool": "SearchAwsProviderDocs",
"tags": [],
"reasons": {}
},
{
"tool": "SearchAwsccProviderDocs",
"tags": [],
"reasons": {}
},
{
"tool": "SearchSpecificAwsIaModules",
"tags": [],
"reasons": {}
},
{
"tool": "RunCheckovScan",
"tags": [],
"reasons": {}
},
{
"tool": "SearchUserProvidedModule",
"tags": [],
"reasons": {}
}
],
"surfaceDigest": "a05ac52b48070b4209ef20fe6c102ad85ece65074b2b636cf6796c15d4a6ace1",
"stats": {
"tools": 7,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 3,
"medium": 0,
"low": 0,
"info": 2
}
}
}