Tlapiani is a web application firewall (WAF) module for Caddy. It inspects HTTP requests before they reach your upstream. It is open source under Apache-2.0.
Tlapiani means “guardian” in Náhuatl.
Who it is for
Section titled “Who it is for”Tlapiani is for Caddy and DevOps users who want request filtering inside the Caddy binary. Coraza runs in-process. T1K mode still needs a separate SafeLine detector. There is no admin panel in the current phase, no telemetry, and no phone-home.
What is built today (Phase 0)
Section titled “What is built today (Phase 0)”Phase 0 is the current draft state of the module (draft PR #1). It provides:
- A single Caddy handler that can run Coraza with the embedded OWASP CRS, a T1K/SafeLine client, or both.
- A fixed engine order: Coraza request phases first, then T1K.
- Two modes:
detect_onlyandblock. - JSONL decision logs and Prometheus metrics.
See Phase 0 for the full list, including limitations.
What is not built yet
Section titled “What is not built yet”The semantic engine, the web panel, signed CVE rules, API protection, bot defense, and deep CDN integration are all roadmap items. Nothing in those areas exists in the module today. See Roadmap for details.
Directive name
Section titled “Directive name”The Caddyfile directive is currently wafx. It will be renamed in a later
release. The module identifier is http.handlers.wafx.
Start here
Section titled “Start here”- Install — build Caddy with the module.
- Caddyfile — configuration reference and examples.
- FrankenPHP — the same build flags for FrankenPHP.
- Cloudflare and Bunny — what works today and what is planned.
- Roadmap — planned features.
- License — license and credits.
Repository: github.com/liusc45/tlapiani (formerly caddy-wafx).