12 projects · 20.1k stars
Best open-source Cloudflare Security projects
We track 12 open-source Cloudflare Security projects with 20.1k combined GitHub stars. Most are written in TypeScript and Go. The most popular isCFSSL (9.5k★), and 8 projects have shipped code in the last 90 days.
Turnstile2

Laravel Cloudflare Turnstile
ryangjchandler/laravel-cloudflare-turnstile
A simple Laravel package for integrating Cloudflare Turnstile: Blade components for the widget and a validation rule for the token.
turnstilelaravelphpPHP46432
Turnstile Demo: Workers
cloudflare/turnstile-demo-workers
Cloudflare's minimal demo of a Turnstile-protected form on Workers, showing both implicit and explicit widget rendering.
turnstilecaptcha-alternativeformsHTML26585
WAF2

Cloudflare WAF Rules (Free Plan)
buybitart/cloudflare-security-art
A guide and ready-to-use Cloudflare WAF rules for the Free plan: block bad bots and AI scrapers, plus DDoS, security-header and bot settings for small sites.
wafsecuritybots25119
Cloudflare WAF Expressions
sefinek/Cloudflare-WAF-Expressions
Cloudflare WAF expressions that block most unnecessary and malicious requests to your origin — no Pro plan required — with a script to update every zone.
wafsecurityfirewallJavaScript23128