vetkit.py.flask.csrf-disabled
Flask-WTF CSRF protection is disabled (WTF_CSRF_ENABLED = False) outside of test configuration.
Last updated:
Suite: Security
python
Flask-WTF CSRF protection is disabled (WTF_CSRF_ENABLED = False) outside of test configuration.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Keep WTF_CSRF_ENABLED at its default (True) and disable it only in test configuration.
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.