Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

Security group allows unrestricted ingress on all ports from the internet

AWS_VPC_006 CRITICAL Security

What it checks

Security group allows unrestricted ingress on all ports from the internet

Where it applies

Terraform: aws_security_group, aws_security_group_rule

CloudFormation: AWS::EC2::SecurityGroup

How to fix it

  1. Remove the protocol = -1 ingress rule. Replace with explicit per-service rules — only the ports your application actually listens on, with the narrowest CIDR possible.
  2. Use Security Manager Session Manager instead of SSH (port 22) to eliminate the SSH attack surface entirely.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules