Automic VaultAutomic Vault

brew

使用 Homebrew, zypper, apt 安装 modsecurity

查看 modsecurity 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install modsecurity

local Homebrew formula metadata

Linux

openSUSE zypper已验证 · 92%
sudo zypper install modsecurity

openSUSE Tumbleweed package metadata · modsecurity · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install libmodsecurity-dev

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

概览

软件包摘要

Libmodsecurity is one component of the ModSecurity v3 project

命令和别名

  • modsec-rules-check

历史

项目历史与用法

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.

安全态势

尚未找到受保护工具覆盖

没有找到 modsecurity 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
modsec-rules-checkcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.0.16
管理器更新时间2026-06-29
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:modsecurity
版本3.0.16
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/modsecurity
主页https://github.com/owasp-modsecurity/ModSecurity
仓库https://github.com/owasp-modsecurity/ModSecurity
上游文档https://github.com/owasp-modsecurity/ModSecurity#readme
许可证Apache-2.0
源码归档https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.16/modsecurity-v3.0.16.tar.gz
最后更新2026-06-29T22:26:54Z
Pulseupdated
依赖libmaxminddb, lua, pcre2, yajl
构建依赖autoconf, automake, libtool, pkgconf
macOS 提供的库curl, libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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