modsecurity
« Back to VersTracker
Description:
Libmodsecurity is one component of the ModSecurity v3 project
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @ModSecurity  |  formulae.brew.sh
Category: Security
Tags: waf security modsecurity web-application-firewall owasp
Install: brew install modsecurity
About:
Libmodsecurity is the core library for the ModSecurity v3 project, providing a powerful detection and prevention engine for web applications. It functions as a connector for various web servers like Nginx and Apache to inspect incoming HTTP traffic. The library enables administrators to implement complex security rules to block common attacks such as SQL injection and cross-site scripting.
Key Features:
  • Powerful rule-based detection engine
  • Decoupled architecture for web server independence
  • Support for complex rule scripting and anomaly scoring
  • Extensive logging and auditing capabilities
Use Cases:
  • Protecting web applications from common OWASP Top 10 vulnerabilities
  • Implementing custom security policies for APIs and web services
  • Logging and analyzing HTTP traffic for security forensics
Alternatives:
  • Coraza – A drop-in, Go-lang implementation of ModSecurity's SecLanguage, offering compatibility with ModSecurity rules.
  • NAXSI – A third-party module for Nginx that uses a whitelist/blacklist approach, often considered simpler to configure.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 11:45pm 0 VERSION_BUMP 01991d1f
Nov 25, 2024 9:00am 0 VERSION_BUMP 9b55ffc7
Sep 14, 2024 4:51am 0 VERSION_BUMP f943e38e