vetkit.py.cloud.hardcoded-credentials
A cloud SDK client is created with a literal secret access key. Committed cloud keys grant account access to anyone who obtains the code.
Last updated:
Suite: Security
python
A cloud SDK client is created with a literal secret access key. Committed cloud keys grant account access to anyone who obtains the code.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Use the SDK's default credential chain (environment, IAM role, workload identity) and rotate the key.
References
Source: packages/engine/rules/sast/python.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.