Tool
Web Service
Web Security

SafeLine

by chaitin

19.2Kstars
1.2Kforks
91watchers
Updated 3 months ago
About

SafeLine is a self-hosted Web Application Firewall and reverse proxy that protects web applications from a wide range of attacks and exploits by filtering and monitoring HTTP/S traffic.

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

Primary Use Case

SafeLine is designed for web application owners and security teams who want to deploy a robust, self-hosted WAF to safeguard their web apps from common and advanced web attacks such as SQL injection, XSS, and bot abuse. It is ideal for organizations seeking proactive protection, rate limiting, and dynamic content encryption to enhance their web security posture.

Key Features
  • Block Web Attacks including SQL injection, XSS, code injection, OS command injection, CRLF injection, XXE, SSRF, path traversal, and more
  • IP-based Rate Limiting to defend against DoS attacks, brute force attempts, and traffic surges
  • Anti-Bot Challenge to block malicious bots while allowing legitimate users
  • Authentication Challenge requiring visitors to enter a password for access
  • Dynamic Protection with real-time HTML and JS code encryption
  • Web Access Control List for granular traffic filtering
  • Proactive bot abuse defense
  • Self-hosted reverse proxy deployment

Installation

  • Clone the repository from GitHub
  • Follow the documentation at https://ly.safepoint.cloud/w2AeHhb for detailed setup instructions
  • Deploy SafeLine as a reverse proxy in front of your web application
  • Configure WAF policies and rules via the web interface
  • Enable desired features such as rate limiting, anti-bot challenge, and dynamic protection
  • Monitor traffic and logs through the SafeLine dashboard

Usage

>_ Access the web interface via the provided URL after deployment

Manage WAF settings, view logs, and configure security policies

>_ Enable Anti-Bot Challenge

Activate bot detection and blocking to prevent automated attacks

>_ Turn on Authentication Challenge

Require visitors to authenticate with a password before accessing the web app

>_ Activate Dynamic Protection

Dynamically encrypt HTML and JS content on each visit to protect code

Security Frameworks
Defense Evasion
Initial Access
Impact
Reconnaissance
Resource Development
Usage Insights
  • Integrate SafeLine with SIEM platforms for enhanced real-time alerting and incident response.
  • Leverage SafeLine's rate limiting and bot challenge features to mitigate credential stuffing and brute force attacks.
  • Use SafeLine in staging environments to test web app resilience against OWASP Top 10 attack vectors before production deployment.
  • Combine SafeLine with vulnerability scanners to automate blocking of detected exploit attempts.
  • Employ SafeLine's dynamic HTML/JS encryption to protect sensitive client-side code from tampering and reverse engineering.

Docs Take 2 Hours. AI Takes 10 Seconds.

Ask anything about SafeLine. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.

3 free chats per tool • Instant responses • No credit card

Security Profile
Red Team40%
Blue Team90%
Purple Team70%
Details
LicenseGNU General Public License v3.0
LanguageGo
Open Issues985
Topics
firewall
http-flood
security
sql-injection
waf
web-application-firewall
web-security
xss
captcha
api-gateway