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.

IMDS hop limit above 1 exposes the instance role to containers on the host

AWS_EC2_011 MEDIUM Security

What it checks

IMDS hop limit above 1 exposes the instance role to containers on the host

Where it applies

Terraform: aws_instance, aws_launch_template

CloudFormation: AWS::EC2::Instance, AWS::EC2::LaunchTemplate

How to fix it

  1. Set http_put_response_hop_limit = 1 unless workloads on the host require IMDS access.
  2. If pods DO need AWS credentials, give them their own identity instead of the node's — IRSA on EKS, task roles on ECS — and return the hop limit to 1.
  3. If the hop limit must stay above 1, scope the node role to the minimum the workloads actually need, since every container on the host inherits it.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules