Disable Flask debug mode in runtime configuration
Flask applications should not enable debug mode through `app.run`, config assignment, or `FLASK_DEBUG`.
#Metadata
#Why it matters
Debug mode can expose interactive tracebacks and internal application state to external users.
#Remediation
Remove debug flags from runtime code and environment assignments, then gate development-only behavior behind safe configuration.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/python/py.security.flask-debug-enabled.rule.yaml.