- Home
- Skills
- DevOps & Cloud
- terraform security misconfig scanner
More screenshots
Works with the AI Agents you already use
terraform security misconfig scanner
Offline CIS-style scan of .tf and plan JSON for open SGs, public buckets, unencrypted storage, wildcard IAM and logging off.
$15
terraform security misconfig scanner
Example session with this skill installed
Scan this Terraform stack before I apply. Anything CRITICAL?
- Read your context and instructions
- Compiled the terraform security misconfig
Answer: 6 CRITICAL, 7 HIGH, 3 MEDIUM across 8 resources in the sample stack.
- CRITICAL
aws_security_group.web— SSH (22) open to0.0.0.0/0(CIS-AWS-4.1/4.2) - CRITICAL
aws_s3_bucket.logs— ACLpublic-read - CRITICAL
aws_db_instance.app—publicly_accessible=true - CRITICAL
aws_iam_policy.too_open—Action=*onResource=* - CRITICAL
aws_cloudtrail.org—enable_logging=false - CRITICAL
azurerm_network_security_rule.rdp—*→ port 3389
HIGH — all four S3 Block Public Access flags false; RDS storage_encrypted off; CloudTrail not multi-region; port 80 open to the world
- MEDIUM — CloudTrail log validation / KMS missing; EBS volume without
encrypted=true
Deliverables: per-resource findings with file:line and CIS-style IDs; optional tf-security.md + JSON.
Next steps: tighten SG/NSG CIDRs, enable BPA + encryption + CloudTrail, replace the wildcard IAM policy, re-scan the plan JSON before apply. Does not run terraform or call any cloud API.
(Real run on bundled examples/bad/main.tf.)
Connects securely to your tools. The creator never sees your data.
About this skill
Catch the open security group before terraform apply.
Scans .tf files and terraform show -json plan files for AWS/Azure/GCP misconfigs: 0.0.0.0/0 admin ports, public S3 ACLs / BPA off, public/unencrypted RDS, CloudTrail disabled, IAM Action=*, weak Azure storage TLS, GCP firewall 0.0.0.0/0, and more. CIS-style IDs for orientation. No terraform binary, no cloud API.
What's included
SKILL.md, scripts/tfscan.py, bad-example main.tf, references.
- Pragmatic HCL parser — not a full HCL2 engine. Pair with tfsec/checkov for a hard CI gate.
- Companion resources in other files (e.g. separate encryption config) may need the whole module scanned together.
- CIS IDs are labels, not a certified CIS assessment.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
Permissions
File Scopes
Fully offline. Scripts never import networking or subprocess modules and never modify system or cloud configuration.