python-s6779-flask-secret-key-mining
Read-only mining codemod for python:S6779: Flask secret keys should not be disclosed.
Emits python_security_finding metric rows with blocking severity. Source files are never modified.
Rule
- ID:
python:S6779 - Severity: blocking
- Remediation: Load Flask secret keys from environment variables or a secrets manager
Usage
bash
Development
bash