hub VS ModSecurity

Compare hub vs ModSecurity and see what are their differences.


Main repository for crowdsec scenarios/parsers (by crowdsecurity)


ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence. (by owasp-modsecurity)
Our great sponsors
  • - Learn 300+ open source libraries for free using AI.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern API for authentication & user identity.
hub ModSecurity
13 19
134 7,307
1.5% 2.3%
9.8 8.1
2 days ago 6 days ago
Go C++
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of hub. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-17.
  • Self hosted security recommendations
    2 projects | /r/selfhosted | 17 Apr 2023
    I use their free plan so I can't tell about any other plan. In order to protect all your services, you just have to deploy Crowdsec once, give it access to the logs of all your existing services and set up the relevant bouncers (reverse proxy and probably Cloudflare). You must also give it the relevant collections from such as
  • Can CrowdSec protect a mail server ?
    2 projects | /r/CrowdSec | 11 Dec 2022
    Postfix is supported in our list of collections. You should check
    2 projects | /r/CrowdSec | 11 Dec 2022
    We don't have support for them yet, however, if you provide log samples and open an issue with the samples on We can work on supporting them.
  • Crowdsec Acquis.yml help
    2 projects | /r/selfhosted | 4 Oct 2022
    You find the required contents of the acquis.yaml on the dedicated page of each collection on the hub.
  • Logging unauthorised attempts
    2 projects | /r/WireGuard | 18 Jun 2022
    I just submitted a PR for Wireguard support. Feel free to try it out. I haven't been able to test it much. And yes, it's my first PR :-)
  • Integrating Sysmon events with Crowdsec
    2 projects | /r/CrowdSec | 16 May 2022
    Your use case sounds cool. Unfortunately CrowdSec is not very mature on Windows (yet). That being said we have just written a parser for sysmon. It's very much WIP and needs testing. Also there's not any scenarios yet so CrowdSec can't detect anything there yet. That being said we would love to collaborate with you on creating them if you're willing to invest time in it too. A good place to do that would be via our Discord (invite link under the subreddit description) where I will be happy to set up a dedicated channel where you can have direct access to our devs.
  • An actual secure selfhosted Reverse Proxy with cool stats?
    3 projects | /r/selfhosted | 19 Nov 2021
    I would recommend looking at a tool like CrowdSec for that. You don't mention whether using traefik is a must or not but nginx is better supported (and traefik support is on it's way).


Posts with mentions or reviews of ModSecurity. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-14.

What are some alternatives?

When comparing hub and ModSecurity you can also consider the following projects:

crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.

coraza - OWASP Coraza WAF is a golang modsecurity compatible web application firewall library

ModSecurity-nginx - ModSecurity v3 Nginx Connector

naxsi - NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX

lua-resty-waf - High-performance WAF built on the OpenResty stack

modsecurity-spoa - HAProxy agent for ModSecurity web application firewall

wafw00f - WAFW00F allows one to identify and fingerprint Web Application Firewall (WAF) products protecting a website.

wpscan - WPScan WordPress security scanner. Written for security professionals and blog maintainers to test the security of their WordPress websites. Contact us via [email protected]

snuffleupagus - Security module for php7 and php8 - Killing bugclasses and virtual-patching the rest!

openappsec - open-appsec is an open-source machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs. It is available for NGINX, NGINX Ingress, Envoy (Soon), Kong (Soon), Ambassador (Soon).

coreruleset - OWASP CRS (Official Repository)

h5ai - HTTP web server index for Apache httpd, lighttpd and nginx.