Find AWS Access Key literals (AKIA…)

Proprietary

AWS access keys begin with AKIA followed by 16+ uppercase/digit characters. A literal AKIA… in source means the key is in every artifact build, every git commit, and every developer machine. Rotate immediately and load from environment or SecretsManager.

org.openrewrite.kotlin.security.FindAwsAccessKeyLiteral$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.security.FindAwsAccessKeyLiteral$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.