All rules →
Rules / Python
SHIELD-PY-011

Hardcoded password or secret

highPythonCWE-798CVSS 7.5

What it detects

Hardcoded credentials in source code can be extracted by attackers.

How to fix

Store secrets in environment variables or a secrets manager. Never hardcode credentials.

Scan your repo freeFull documentation
Back to all rules
SHIELD-PY-011: Hardcoded password or secret — Zennoxa Shield