AWS Credential Exposure Detection with TruffleHog
Identifies and remediates exposed AWS credentials in source code and CI/CD pipelines to prevent unauthorized cloud account access.
This skill provides a comprehensive security framework for detecting leaked AWS access keys, secret keys, and session tokens using industry-standard tools like TruffleHog and git-secrets. It guides developers and security engineers through scanning entire git histories, validating the status of detected credentials via live AWS API checks, and implementing automated prevention mechanisms. Whether you are performing a security audit, responding to a GuardDuty alert, or establishing a DevSecOps pipeline, this skill offers the necessary workflows to secure your cloud infrastructure from credential theft.
Key Features
010 GitHub stars
02Deep scanning of git history and filesystems for AWS credential patterns
03Automated verification of detected secrets via AWS STS and IAM API calls
04Pre-commit hook integration using git-secrets to block leaks at the source
05Incident response workflows for deactivating and rotating compromised keys
06CI/CD pipeline configuration for GitHub Actions and GitLab CI security gates
Use Cases
01Responding to AWS GuardDuty alerts regarding compromised IAM identities
02Auditing legacy or acquired repositories for historically committed credentials
03Integrating automated secrets detection into existing CI/CD deployment workflows