FastAPI CSRF Protect

JSON →
library 1.0.7 ·python
verified May 26, 2026

FastAPI CSRF Protect is a FastAPI extension providing stateless Cross-Site Request Forgery (XSRF) protection. It implements the Double Submit Cookie mitigation pattern, similar to `flask-wtf` and inspired by `fastapi-jwt-auth`. The library is designed to be lightweight and easy to use. The current version is 1.0.7, requiring Python 3.9 or newer, and it maintains an active release cadence.

total hits 17
actors 8 distinct systems
last hit 19h ago AhrefsBot
MetaBot
4
GPTBot
2
ByteDance
2
Script
1
Search engines
2

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany