ModSecurity VS workerd

Compare ModSecurity vs workerd and see what are their differences.

ModSecurity

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)

workerd

The JavaScript / Wasm runtime that powers Cloudflare Workers (by cloudflare)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ModSecurity workerd
19 37
7,582 5,681
3.3% 5.6%
8.2 9.9
6 days ago 5 days ago
C++ C++
Apache License 2.0 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.

ModSecurity

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.
  • Anybody using Crowdsec?
    1 project | /r/unRAID | 4 Mar 2023
    First of all, if you have any experience with Traefik, I'd suggest you to do the reverse proxy stuff with it and install the Crowdsec instance along it. As I didn't have experience using Traefik I went with NPM but now I guess it would have been easier considering the research I had to do... Another reason is, I wanted to implement a geo block and/or another security layer by using ModSecurity (https://github.com/SpiderLabs/ModSecurity ) besides Crowdsec too. Afaik Traefik has a plugin that integrates ModSecurity easily - unless NPM.
  • Has anyone tried this on Blackboard online exams??
    1 project | /r/Professors | 21 Feb 2023
    I don't know about Blackboard, but Moodle will allow quizzes to be run in popups that block most extensions from working; lockdown browsers will block such extensions; and, if you have access to the server, a modified firewall (e.g., ModSecurity) may\* allow blocking this and similar extensions.
  • Ask HN: What's a good open-source alternative to Cloudflare?
    9 projects | news.ycombinator.com | 14 Feb 2023
    > ModSecurity for WAF: https://github.com/SpiderLabs/ModSecurity

    This might be of interest to some: https://www.modsecurity.org/

    > Trustwave is announcing the End-of-Life (EOL) of our support for ModSecurity effective July 1, 2024. We will then hand over the maintenance of ModSecurity code back to the open-source community.

    Probably not too big of a deal, though.

    Also, this might be useful: https://owasp.org/www-project-modsecurity-core-rule-set/

    Though there has been some critique of ModSecurity and that ruleset in the past, as something dated and with false positives.

    Anyone have any good alternatives?

  • WAF with reverse proxy
    2 projects | /r/unRAID | 9 Feb 2023
    Is there a reason no one hasn't made a Docker template for OWASP Coraza (https://github.com/corazawaf/coraza) or ModSecurity (https://github.com/SpiderLabs/ModSecurity) for the use of a reverse proxy?
  • NGINX WAF alternatives: App Protect vs. ModSecurity vs. open-appsec
    4 projects | dev.to | 24 Nov 2022
    Since Nginx has different use cases, protecting your application depends on how and where you use it. It's recommended that you have a reliable WAF solution since they block most harmful requests in the first place. In this article, you'll compare three tools—ModSecurity, F5 Nginx App Protect, and open-appsec—based on their active development, advanced security features, and open source commitment to help you figure out which tool is right for you.
  • ModSecurity VS openappsec - a user suggested alternative
    2 projects | 11 Nov 2022
  • Please help me to identify Cons in my PHP-FPM setup
    1 project | /r/linuxadmin | 28 May 2022
  • What (software, open source) WAF are you using with (open source) Nginx?
    3 projects | /r/nginx | 26 May 2022
    I'm currently erring toward ModSecurity & the Nginx connector now that it's been de-Apache'd.
  • WordPress sites getting hacked ‘within seconds’ of TLS certificates being issued
    3 projects | news.ycombinator.com | 6 May 2022
    Is anyone on HN doing WordPress administration? I recently 'inherited' a webshop built on WP/WooCommerce, and all the conflicting security advice in the WP space is making my head spin.

    There are a dozen competing 'security' plugins, with some saying 'you don't need any of them, WP is secure enough by default', and others saying 'you actually need ModSecurity [1] / Jeff Starr's nG firewall [2]'.

    The agency that (shoddily...) built the webshop installed Wordfence Free [3], so I've just kept that for now, though I feel it's kind of slow (but that might just be caused by the bottom-of-barrel performance of the shared webhost it's currently running on).

    [1] https://github.com/SpiderLabs/ModSecurity

    [2] https://perishablepress.com/7g-firewall/

    [3] https://www.wordfence.com/

  • An actual secure selfhosted Reverse Proxy with cool stats?
    3 projects | /r/selfhosted | 19 Nov 2021
    By Web Firewall did you mean smth like this ?

workerd

Posts with mentions or reviews of workerd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-05.
  • Cloudflare acquires PartyKit to allow developers to build real-time multi-user
    3 projects | news.ycombinator.com | 5 Apr 2024
    Standards bodies only standardize things after they've been proven to work. You can't standardize a new idea before offering it to the market. It's hard enough to get just one vendor to experiment with an idea (it literally took me years to convince everyone inside Cloudflare that we should build Durable Objects). Getting N competing vendors to agree on it -- before anything has been proven in the market -- is simply not possible.

    But the Durable Objects API is not complicated and there's nothing stopping competing platforms from building a compatible product if they want. Much of the implementation is open source, even. In fact, if you build an app on DO but decide you don't want to host it on Cloudflare, you can self-host it on workerd:

    https://github.com/cloudflare/workerd

  • Python Cloudflare Workers
    4 projects | news.ycombinator.com | 2 Apr 2024
    In any case, I welcome this initiative with my open hands and look forward all the cool apps that people will now build with this!

    [1] https://pyodide.org/

    [2] https://github.com/cloudflare/workerd/blob/main/docs/pyodide...

    [3] https://github.com/cloudflare/workerd/pull/1875

  • LLRT: A low-latency JavaScript runtime from AWS
    10 projects | news.ycombinator.com | 8 Feb 2024
    For ref:

    - https://blog.cloudflare.com/workerd-open-source-workers-runt...

    - https://github.com/cloudflare/workerd

  • A list of JavaScript engines, runtimes, interpreters
    23 projects | /r/learnjavascript | 10 Dec 2023
    workerd
  • WinterJS
    6 projects | news.ycombinator.com | 28 Oct 2023
    I think this is for people who want to run their own cloudflare workers (sort of) and since nobody wants to run full node for that, they want a small runtime that just executes js/wasm in an isolated way. But I wonder why they don't tell me how I can be sure that this is safe or how it's safe. Surely I can't just trust them and it explicitly mentions that it still has file IO so clearly there is still work I need to do customize the isolation further. But then they don't show any info on that core usecase. But then that's probably because they don't really want you to use this to run it on your own, they are selling you on running things on their edge platform called "Wasmer Edge". So that's probably why this is so light on information.. the motivation isn't to get you to use this yourself, just to use this their hosted edge platform. But then I wonder why I wouldn't just use https://github.com/cloudflare/workerd which is also open source. Surely that is fast enough? If not then it should show some benchmarks?
  • Cloudflare workers is adopting Ada URL parser
    1 project | news.ycombinator.com | 5 Oct 2023
  • Cap'n Proto 1.0
    10 projects | news.ycombinator.com | 28 Jul 2023
    i love how the main reference for workerd can be just one capnp file.

    https://github.com/cloudflare/workerd/blob/main/src/workerd/...

    this changed my world how i think about computing on the web.

    if there was just a good enough js library as for lua and you could directly send capnp messages to workerd instead of always going through files. I guess one day i have to relearn c++ and understand how the internals actually work.

  • Cloudflare Workers Introduces Connect() API to Create TCP Sockets
    3 projects | news.ycombinator.com | 29 May 2023
    A significant chunk of it is open source: https://github.com/cloudflare/workerd/
  • JSON with multiline strings
    2 projects | /r/javascript | 19 May 2023
    Some of the configuration files for applications wind up being an entire language unto themselves, e.g., https://github.com/cloudflare/workerd/blob/1b5057f2bfcfedf146f6f79ff04e99903d55412b/src/workerd/io/compatibility-date.capnp
  • Am I out of touch for trying to limit my stack to containers?
    1 project | /r/ExperiencedDevs | 18 May 2023
    Edge runtimes are very good alternatives to containers that shouldn't be dismissed for "not being containers". They're often faster, more scalable, and cheaper than containers. Them being so lightweight also enable a "nanoservice architecture" – being able to run every service on a single computer instead of running different services on different computers and having to deal with network latency and unreliability.

What are some alternatives?

When comparing ModSecurity and workerd 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.

cloudflare-docs - Cloudflare’s documentation

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

js-compute-runtime - JavaScript SDK and runtime for building Fastly Compute applications

ModSecurity-nginx - ModSecurity v3 Nginx Connector

lagon - Deploy Serverless Functions at the Edge. Current status: Alpha

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

fauna-schema-migrate - The Fauna Schema Migrate tool helps you set up Fauna resources as code and perform schema migrations.

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

windmill - Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.

modsecurity-spoa - HAProxy agent for ModSecurity web application firewall

go - The Go programming language