rennf93/fastapi-guard

A security library for FastAPI that provides middleware to control IPs, log requests, detect penetration attempts, honeypot setup, behavioural analysis, emergency mode lockdown, block Cloud Provider IPs, country blocking, and much more... It integrates seamlessly with FastAPI to offer robust protection against various security threats.

This repository also configures its own agents. See what fastapi-guard tells them →

829Stars on the repository
3Mods indexed here, across every type
19d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

fastapi-guard

01

rennf93/fastapi-guard

Skill Claude CodeCodex

Production-ready security middleware for FastAPI. Use when adding IP filtering, rate limiting, per-route security decorators, route-resolution strict mode, global behavior rules, passive/log-only mode, or Guard Agent SaaS telemetry to a FastAPI app. Covers SecurityMiddleware setup, SecurityConfig tuning, and the…

not rated 829 changed 2mo ago A SkillSpector: pass 72 tokens original MIT