- Python 3.11+ (3.13 recommended)
- A running WAF target to test against (see Docker Examples for quick setups)
pip install -e .uv venv && uv pip install -e ".[dev]"mise manages Python, uv, and task shortcuts:
mise install
mise run installStart a WAF target. For example, using the included ModSecurity compose file:
cd examples/modsecurity-nginx
docker compose up -dRun the full test suite against it:
wafworth run --target http://localhost:8080 --name modsecurityThis loads all test cases from testcases/, sends each request to the target, and produces a console summary plus JSON and Markdown reports in results/.
- Writing Test Cases to add your own tests
- Running Tests for filtering, concurrency, and output options
- Encoding & Auto-Generation to multiply tests across bypass encodings