Developer Documentation · v4.8
Wire Red-Team Gates Into CI/CD in 5 Minutes
Install the deterministic CLI runner, declare pass thresholds in YAML, and enforce signed safety checks on every pull request.
01. CLI Quickstart
Execute a seeded red-team run against any OpenAI-compatible, Anthropic, Vertex, or self-hosted vLLM endpoint.
npm install -g @verbaeval/cli
verbaeval run \
--config ./verba.yaml \
--suite owasp-2026,rag-injection,pii-canary \
--seed 40918 \
--fail-under 96.5 02. Policy Manifest
Commit verba.yaml alongside your application code to version safety thresholds and compliance mappings.
version: "4.8"
target:
provider: openai-compatible
endpoint: ${STAGING_LLM_URL}
model: frontier-r1-enterprise
suites:
- id: VE-01
turns: 12
min_defense_rate: 98.5
- id: VE-02
documents: ./fixtures/rag-corpus/*.md
min_defense_rate: 97.5
compliance:
sign_bundle: true
frameworks: [eu-ai-act-annex-iv, soc2-cc7] 03. CI Gate Exit Codes
| Code | State | Meaning |
|---|---|---|
0 | PASS | All suites met or exceeded minimum defense and groundedness thresholds. |
10 | REGRESSION | One or more suites fell below threshold or triggered a critical PII canary leak. |
20 | OVER-REFUSAL | Benign boundary corpus exceeded maximum allowed false-refusal cap. |