WTF_CSRF_CHECK_DEFAULT. If it is set to False then the developer must call csrf.protect() whenever they handle a request—a manual process they must remember every time. Thus, WTF_CSRF_CHECK_DEFAULT=True is a secure default, which this Semgrep rule enforces.
Semgrep Code supported languages
Semgrep Code provides secure default rules for the following languages:- C#
- Python (Flask, FastAPI, and Django frameworks)