OWASP CRS

Open source

The OWASP Core Rule Set is a collection of generic attack detection rules for ModSecurity, Coraza and other compatible web application firewalls.

coreruleset.org
OWASP CRS homepage screenshot
GitHub stars
3.4k
Last 30 days
+54(+2%)
Last commit
yesterday
Repository age
6 years
Version
v4.30.0
Licence
Apache-2.0
Self-hosted
Yes

About OWASP CRS

The OWASP Core Rule Set, or CRS, is a set of generic attack detection rules meant to be loaded into a web application firewall. It works with OWASP ModSecurity, OWASP Coraza and other compatible engines rather than running as a standalone application. The rules are written to protect web applications against a broad range of attacks while keeping false alerts to a minimum.

Coverage is aimed at threats such as those in the OWASP Top Ten. The project invites reports of false positives, false negatives and evasions through GitHub issues, and asks for the installed version and relevant audit log portions to help reproduce each case. Discussion takes place in a Google Group and the coreruleset channel on OWASP Slack, and the project website links to installation and configuration resources.

The ruleset is released under the Apache-2.0 license, with copyright held by Trustwave and contributors up to 2020 and by the CRS project afterward. The latest release listed is v4.29.0. Because it is a ruleset, it suits teams already operating a compatible WAF who want maintained, community-reviewed detection logic.

Key features

  • Generic attack detection rules for web applications
  • Compatible with ModSecurity and Coraza
  • Targets the OWASP Top Ten threat categories
  • Tuned to limit false positives
  • Community channels for reporting evasions

Good fit for

  • Adding baseline protection to a WAF
  • Hardening public-facing web applications
Built with
Python tools
Tags
waf
owasp
security
ruleset
modsecurity
coraza
web-security
open-source

OWASP CRS: questions and answers

What is OWASP CRS used for?
OWASP CRS is a collection of generic attack detection rules for ModSecurity, Coraza and other compatible web application firewalls. It is a good fit for adding baseline protection to a WAF and hardening public-facing web applications.
Is OWASP CRS open source?
Yes. OWASP CRS is open source under the Apache-2.0 licence. Its source code is on GitHub at coreruleset/coreruleset and is written mainly in Python.
Is OWASP CRS free?
Yes. OWASP CRS is open source, so the software itself is free to use.
Can I self-host OWASP CRS?
Yes. OWASP CRS can be self-hosted on your own server or infrastructure.
What are some alternatives to OWASP CRS?
Similar open-source tools in the Security category include BunkerWeb, ModSecurity and SafeLine. SaaS products in the same category include AttackerView, Socket and Veritio.
Is OWASP CRS actively maintained?
Yes. The most recent commit to OWASP CRS was on 12 November 2026, and the latest release is v4.30.0, published on 2 October 2026. The project has 3.4k stars on GitHub, with 54 added in the last 30 days.

Open-source alternatives to OWASP CRS

See all

SaaS alternatives to OWASP CRS

See all