# corazawaf/coraza

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/corazawaf-coraza).**

3,295 stars · 309 forks · Go · apache-2.0

## Links

- GitHub: https://github.com/corazawaf/coraza
- Homepage: https://www.coraza.io
- awesome-repositories: https://awesome-repositories.com/repository/corazawaf-coraza.md

## Topics

`coraza` `coraza-waf` `coreruleset` `go` `golang` `hacktoberfest` `http` `modsecurity` `owasp` `owasp-crs` `waf` `web-application-firewall`

## Description

Coraza is a web application firewall engine designed to filter malicious HTTP traffic using standardized security directives. It functions as a library for embedding request filtering and security transaction processing directly into web servers or reverse proxies.

The engine implements the ModSecurity WAF engine and the OWASP Core Rule Set to identify and block common web attack patterns. It utilizes a library-first integration model, allowing security capabilities to be embedded into a host process as a dependency rather than running as a standalone proxy.

The project covers rule-based pattern matching and traffic inspection through a middleware-based request pipeline. It includes capabilities for geographic traffic filtering via plugins and provides a sandbox environment for validating security rules and verifying deployments before production use.

## Tags

### Security & Cryptography

- [Web Application Firewalls](https://awesome-repositories.com/f/security-cryptography/traffic-filtering/web-application-firewalls.md) — Provides a web application firewall engine that filters malicious HTTP traffic using standardized security directives and the OWASP Core Rule Set. ([source](https://www.coraza.io/docs/tutorials/introduction/))
- [Web Application Firewalls](https://awesome-repositories.com/f/security-cryptography/web-application-firewalls.md) — Provides a web application firewall engine that filters HTTP traffic using the ModSecurity rule set and security directives.
- [HTTP Traffic Inspection](https://awesome-repositories.com/f/security-cryptography/http-traffic-inspection.md) — Inspects incoming requests using security policy directives to block or allow traffic based on specific criteria. ([source](https://cdn.jsdelivr.net/gh/corazawaf/coraza@main/README.md))
- [Reverse Proxy Security](https://awesome-repositories.com/f/security-cryptography/reverse-proxy-security.md) — Embeds security filtering into HTTP proxies to block threats before they reach backend application servers.
- [Backend Security Middleware](https://awesome-repositories.com/f/security-cryptography/security/application-and-web/web-application/backend-security-middleware.md) — Integrates request filtering directly into a program as a library to handle security logic within the application code.
- [Standard Security Rule Sets](https://awesome-repositories.com/f/security-cryptography/standard-security-rule-sets.md) — Applies the OWASP Core Rule Set to identify and block common web attack patterns.
- [WAF Rule Set Implementations](https://awesome-repositories.com/f/security-cryptography/waf-rule-set-implementations.md) — Implements a common format for security policies to ensure compatibility with industry-standard web application firewall rules.

### DevOps & Infrastructure

- [Security Middleware Integrations](https://awesome-repositories.com/f/devops-infrastructure/web-server-integrations/security-middleware-integrations.md) — Provides the ability to embed security filtering directly into reverse proxies and HTTP servers via plugins or middleware. ([source](https://www.coraza.io/docs/tutorials/introduction/))
- [Security Rule Sandboxes](https://awesome-repositories.com/f/devops-infrastructure/sandboxing-environments/traffic-replay-sandboxes/security-rule-sandboxes.md) — Runs security directives in an isolated environment to verify their behavior without affecting live production traffic.

### Software Engineering & Architecture

- [Library-First Integration Patterns](https://awesome-repositories.com/f/software-engineering-architecture/library-first-integration-patterns.md) — Implements a library-first integration model that embeds the security engine directly into the host process as a dependency.
- [Request Pattern Matching](https://awesome-repositories.com/f/software-engineering-architecture/security-pattern-matching/request-pattern-matching.md) — Evaluates request data against a set of predefined security directives using regular expressions and logic operators.
- [Security Rule Validation Tools](https://awesome-repositories.com/f/software-engineering-architecture/custom-rule-development/security-rule-development/security-rule-validation-tools.md) — Provides a dedicated testing engine and sandbox interface to verify the behavior and correctness of security rules. ([source](https://cdn.jsdelivr.net/gh/corazawaf/coraza@main/README.md))
- [Plugin-Based Architectures](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/plugin-module-systems/modular-plugin-architectures/plugin-based-architectures.md) — Extends core filtering capabilities by loading external modules at runtime for tasks like geographic lookups or custom logging.

### Networking & Communication

- [Middleware-Based Request Pipelines](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/request-processing-architectures/request-processing/middleware-based-request-pipelines.md) — Processes incoming HTTP transactions through a modular chain of sequential filters to determine if a request should be blocked.
- [Rule Validation](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-proxying-tools/network-proxies/proxy-rule-configurations/rule-validation.md) — Tests and verifies security policy behavior in a sandbox environment before deploying rules to a production server.

### Testing & Quality Assurance

- [End-to-End Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/e2e-integration-testing/end-to-end-testing.md) — Enables end-to-end testing against live deployments to confirm the security layer responds correctly to specific HTTP patterns. ([source](https://cdn.jsdelivr.net/gh/corazawaf/coraza@main/README.md))

### Part of an Awesome List

- [Security And Privacy](https://awesome-repositories.com/f/awesome-lists/security/security-and-privacy.md) — Web application firewall library.
