Back to skill

Security audit

Terraform Module Linter

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Terraform linter that reads user-selected .tf files and reports issues without persistence, network access, or destructive behavior.

Installers should understand that the linter reads the Terraform files in the path they provide and may surface possible secrets in its local output. Review output handling if running it on private infrastructure code, but the artifact does not show hidden collection, exfiltration, or modification behavior.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

This code collects all .tf files under a user-supplied path and opens each file to read its contents, which is a data-access operation on user files. While the script's general purpose is linting Terraform modules, there is no explicit user-facing warning, log, or comment at the point of execution indicating that files from the provided path will be read and analyzed.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.