macOS
brew install modsecuritylocal Homebrew formula metadata
brew
Libmodsecurity is one component of the ModSecurity v3 project. Version 3.0.16 via Homebrew; verified 2026-06-29.
install
brew install modsecuritylocal Homebrew formula metadata
sudo apt install libmodsecurity-devDebian stable package indexes · libmodsecurity-dev · source: deb.debian.org
sudo zypper install libmodsecurity3openSUSE Tumbleweed package metadata · libmodsecurity3 · source: download.opensuse.org
overview
Libmodsecurity is one component of the ModSecurity v3 project
history
ModSecurity is an open-source web application firewall engine that began in 2002 and became one of the most widely known defensive layers for inspecting HTTP traffic with configurable rules. Ivan Ristic created the original Apache-focused project; later stewardship passed through commercial and community hands, including Thinking Stone, Breach Security, Trustwave SpiderLabs, and OWASP. OWASP's project page records the 2024 transfer from Trustwave to OWASP and frames the project as the WAF engine commonly paired with the OWASP Core Rule Set.
Technically, ModSecurity evolved from an Apache module into a cross-platform WAF engine. The v3/libmodsecurity architecture separated the core library from web-server connectors, removing Apache dependencies and allowing connectors for environments such as Nginx and Apache to feed traffic into the same SecRules processing engine. The upstream README describes libmodsecurity as the component that loads and interprets SecRules and applies traditional ModSecurity processing to HTTP content supplied by connectors.
Its adoption history is tied to both open-source infrastructure and commercial WAF support. Breach Security described the project in 2006 as having more than 10,000 deployments, and Trustwave later provided commercial rules and support before announcing end-of-sale in 2021 and end-of-life for Trustwave support on July 1, 2024. Distribution through Homebrew and Linux development packages such as `libmodsecurity-dev` reflects its dual identity as both an installable command-line/dev library package and a component embedded by web-server modules, reverse proxies, hosting panels, and security stacks.
security posture
No matching local secret-handling manifest was found for modsecurity. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
modsec-rules-check | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/owasp-modsecurity/ModSecurity
install metadata
| Package key | brew:modsecurity |
|---|---|
| Version | 3.0.16 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/modsecurity |
| Homepage | https://github.com/owasp-modsecurity/ModSecurity |
| Repository | https://github.com/owasp-modsecurity/ModSecurity |
| Upstream docs | https://github.com/owasp-modsecurity/ModSecurity#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.16/modsecurity-v3.0.16.tar.gz |
| Last updated | 2026-06-29T22:26:54Z |
| Pulse | updated |
| Dependencies | libmaxminddb, lua, pcre2, yajl |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Uses from macOS | curl, libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | modsecurity |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libmodsecurity-dev 3.0.14-1
ModSecurity v3 library component (development files)
sudo apt install libmodsecurity-devlibmodsecurity3t64 3.0.14-1
ModSecurity v3 library component
sudo apt install libmodsecurity3t64libmodsecurity-dev 3.0.12-1.1build2
ModSecurity v3 library component (development files)
sudo apt install libmodsecurity-devlibmodsecurity3t64 3.0.12-1.1build2
ModSecurity v3 library component
sudo apt install libmodsecurity3t64libmodsecurity3 3.0.15-2.1
Web application firewall engine
sudo zypper install libmodsecurity3modsecurity 3.0.15-2.1
Web application firewall engine
sudo zypper install modsecuritymodsecurity-devel 3.0.15-2.1
Development files for modsecurity, a web application firewall engine
sudo zypper install modsecurity-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.