SafeLine

SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

23.4k
Stars
+4.3k
Gained
22.4%
Growth
Go
Language

💡 Why It Matters

SafeLine addresses the need for protecting web applications from a broad spectrum of HTTP-based attacks by acting as a reverse proxy WAF. It filters and monitors incoming traffic to block threats like SQL injection, XSS, SSRF, and brute force attempts, while also offering features such as dynamic HTML/JS encryption and anti-bot challenges. This approach differs from cloud-based WAFs by requiring deployment in front of your web server, giving teams full control over traffic inspection and policy enforcement. Backend engineers and DevOps teams will find it useful for integrating security directly into their infrastructure. With over 23,000 stars and recent active maintenance, it has gained significant traction and community interest. However, it is not ideal if you prefer managed WAF services like Cloudflare or AWS WAF, which do not require self-hosting or manual configuration of reverse proxies.

🎯 When to Use

Use SafeLine when you need an on-premise or self-managed WAF that integrates as a reverse proxy to protect web applications from diverse HTTP attacks and bot abuse. Consider alternatives like ModSecurity for rule-based WAF capabilities or cloud-managed options such as Cloudflare WAF if you want less operational overhead and easier scalability.

👥 Team Fit & Use Cases

Commonly deployed in environments hosting web applications where teams require direct control over HTTP traffic filtering, such as internal admin portals, customer-facing APIs, or legacy web services lacking built-in security layers. It suits engineering teams comfortable managing reverse proxies and WAF configurations as part of their platform security stack.

🎭 Best For

🏷️ Topics & Ecosystem

api-gateway application-security appsec blueteam bruteforce captcha cve cybersecurity firewall hackers http-flood security self-hosted sql-injection vulnerability waf web-application-firewall web-security websecurity xss

📊 Activity

Latest commit: 2026-11-23. Over the past 372 days, this repository gained 4.3k stars (+22.4% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.