AWS automatically quarantines exposed IAM access keys found in public GitHub repositories using the AWSCompromisedKeyQuarantine managed policy, denying risky actions within seconds of exposure. AWS attaches the AWSCompromisedKeyQuarantineV3 managed policy to IAM users within ~10 seconds of credential exposure in public GitHub repos. The policy denies 61+ permissions across 17 services to block common attack patterns like cryptomining, data deletion, and unauthorized API calls. Security teams can detect quarantine events via CloudTrail AttachUserPolicy logs and identify GitHub validity checks through specific user agents performing GetCallerIdentity.
GitHub Secret Scanning
1 post
From Exposure to Lockdown: How AWS Neutralizes Compromised IAM Credentials through Managed Policies