High severityMulti-languageHardcoded SecretsHIGH confidence
AWS Access Key ID
An AWS Access Key ID appears to be hard-coded.
Standards mapping
- OWASP ASVS
- V6.4.1 (L2)
Vulnerable vs. safe
Flagged by this check
access_key_id = AKIAIOSFODNN7EXAMPLEPasses - the safe pattern
access_key_id = AKIA_NOT_A_REAL_KEYWhy it matters & how to fix it
An AWS Access Key ID appears to be hard-coded. Remove it from source, rotate/deactivate the key in IAM immediately, and load credentials from the environment, an instance role, or a secrets manager.
References
Rule ID integsec.generic.secrets.aws-access-key-id - engine: Opengrep - license: MIT - Copyright (c) IntegSec Inc.
TurboPentest runs this check automatically
Connect a GitHub repo and this check runs on every white-box pentest - AI-validated and reported with proof, from $99 per target.
Start a pentestRelated checks
- JavaScript / TypeScript - Hardcoded SecretsBasic Auth Credentials In URL
- JavaScript / TypeScript - Hardcoded SecretsDB Connection String With Credentials
- JavaScript / TypeScript - Hardcoded SecretsHardcoded Credential String
- JavaScript / TypeScript - Hardcoded SecretsHardcoded Crypto Key Or IV
- Python - Hardcoded SecretsBasic Auth Credentials In URL
- Python - Hardcoded SecretsDB Connection String Credentials