- Security Audit — evaluate existing AI conversations against S1-S23 safety categories (passive check)
- Red Teaming — generate adversarial attack prompts to test your guardrails (active simulation)
Security audit
Evaluate your AI’s existing outputs for safety violations:Full audit() signature
Dataset format
Audit from a trace
Automatically extract user/assistant pairs from a captured trace:Red teaming
Generate adversarial attacks to test your AI’s safety guardrails. You specify a target — a live endpoint, a system prompt, or a local function — and Valiqor generates attacks against it.Attack a live endpoint
target_request_template with {{attack}} as a placeholder and target_response_key to extract the response:
Attack a system prompt
Test a system prompt without deploying an endpoint. Valiqor calls an LLM (defaultgpt-4o-mini) with your prompt + each attack:
Attack a local function (SDK-only)
Pass a Python callable that takes an attack prompt and returns a response. The SDK generates attacks server-side, calls your function locally, then submits responses for evaluation:Full red_team() signature
Red teaming always runs asynchronously (backend returns 202). The SDK auto-polls until complete, so your code looks synchronous. Use
red_team_async() for explicit async control.S1-S23 vulnerability categories
Attack vectors
jailbreak, prompt_injection, rot13, base64, few_shot, role_play, and more.
Async operations
Browsing results
Audit history
Red team history
Per-project vulnerability config
Customize which vulnerabilities and attack vectors are active per project:CLI
Security Categories →
Deep dive into S1-S23 categories and scoring.
Failure Analysis →
Find root causes beyond safety violations.