Automic VaultAutomic Vault

brew

Install modsecurity with Homebrew, apt, zypper

Libmodsecurity is one component of the ModSecurity v3 project. Version 3.0.16 via Homebrew; verified 2026-06-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install modsecurity

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libmodsecurity-dev

Debian stable package indexes · libmodsecurity-dev · source: deb.debian.org

openSUSE zypperverified · 92%
sudo zypper install libmodsecurity3

openSUSE Tumbleweed package metadata · libmodsecurity3 · source: download.opensuse.org

overview

Package summary

Libmodsecurity is one component of the ModSecurity v3 project

Commands and aliases

  • modsec-rules-check

history

Project history and usage

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.

Project history

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.

How it is used

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 protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
modsec-rules-checkcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.0.16
manager updated2026-06-29
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/owasp-modsecurity/ModSecurity

install metadata

Package metadata

Package keybrew:modsecurity
Version3.0.16
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/modsecurity
Homepagehttps://github.com/owasp-modsecurity/ModSecurity
Repositoryhttps://github.com/owasp-modsecurity/ModSecurity
Upstream docshttps://github.com/owasp-modsecurity/ModSecurity#readme
LicenseApache-2.0
Source archivehttps://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.16/modsecurity-v3.0.16.tar.gz
Last updated2026-06-29T22:26:54Z
Pulseupdated
Dependencieslibmaxminddb, lua, pcre2, yajl
Build dependenciesautoconf, automake, libtool, pkgconf
Uses from macOScurl, libxml2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemodsecurity
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libmodsecurity-dev 3.0.14-1

ModSecurity v3 library component (development files)

https://www.modsecurity.org/

sudo apt install libmodsecurity-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: modsecurity
  • 1 dependencies
  • normalized package name match
  • Matched by: Modsecurity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmodsecurity-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmodsecurity3t64 3.0.14-1

ModSecurity v3 library component

https://www.modsecurity.org/

sudo apt install libmodsecurity3t64
  • Section: libs
  • Architecture: amd64
  • Source Package: modsecurity
  • 11 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Modsecurity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmodsecurity3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libmodsecurity-dev 3.0.12-1.1build2

ModSecurity v3 library component (development files)

https://www.modsecurity.org/

sudo apt install libmodsecurity-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: modsecurity
  • 1 dependencies
  • normalized package name match
  • Matched by: Modsecurity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmodsecurity-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmodsecurity3t64 3.0.12-1.1build2

ModSecurity v3 library component

https://www.modsecurity.org/

sudo apt install libmodsecurity3t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: modsecurity
  • 11 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Modsecurity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmodsecurity3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper95%

libmodsecurity3 3.0.15-2.1

Web application firewall engine

https://www.modsecurity.org/

sudo zypper install libmodsecurity3
  • License: Apache-2.0
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: modsecurity
  • 12 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Modsecurity
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmodsecurity3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

modsecurity 3.0.15-2.1

Web application firewall engine

https://www.modsecurity.org/

sudo zypper install modsecurity
  • License: Apache-2.0
  • Category: Productivity/Networking/Security
  • Architecture: x86_64
  • Source Package: modsecurity
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Modsecurity
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: modsecurity from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

modsecurity-devel 3.0.15-2.1

Development files for modsecurity, a web application firewall engine

https://www.modsecurity.org/

sudo zypper install modsecurity-devel
  • License: Apache-2.0
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: modsecurity
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Modsecurity
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: modsecurity-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment