Run 57 adversarial attacks against your agent before it reaches production. Get a clear pass/fail with statistical confidence, not a vibe check. Works with any HTTP endpoint. Open source, 2 minutes, free.
That's it. Quick scan runs 10 attacks × 3 trials, takes ~2 minutes, costs ~$0.005 in API calls. Full scan (57 attacks × 10 trials) takes ~5 minutes.
STRUCTURAL = your agent fails this consistently. Must fix before shipping. PASS = agent resisted across all trials. Confidence intervals from Wilson CIs, not single-pass guessing.
When you switch from GPT-4o to Llama or Claude to cut costs, you need to know if you introduced new vulnerabilities. preseal compare runs the same attacks against both configurations and shows exactly what changed.
| Your setup | Command |
|---|---|
| OpenAI-compatible endpoint (vLLM, Ollama, LiteLLM, FastAPI) | --preset openai |
| Anthropic Messages API | --preset anthropic |
| Google A2A protocol | --preset a2a |
| Ollama local models | --preset ollama |
| Any other JSON endpoint | --body-template '{"msg":"{{attack}}"}' --response-path output.text |
| Python agent with .invoke() | --target my_module:agent |
--url points to your agent's endpoint, not to OpenAI directly. Preseal tests your agent's behavior under attack.
--ci enables quick scan + SARIF output + response caching. Exit code 1 blocks the merge on structural vulnerabilities. Add --deep for nightly full scans.
Each attack runs N independent trials from clean state. Results are STRUCTURAL, STOCHASTIC, or PASS with Wilson 95% confidence intervals. Not single-pass guessing.
Environment state diff, tool call trajectory, response text analysis, regex pre-filter. Refusal-aware: won't flag "I can't do that" as a vulnerability.
10 attacks mapped to real production CVEs from August 2025 (Copilot, Claude Code, Cursor). Tests the exact patterns that caused RCE and data exfiltration in shipping products.
SARIF for GitHub Security tab. JSON for automation. HTML/PDF for compliance teams. EU AI Act Art. 15(4) conformity evidence via preseal report.
| Category | Count | What it tests | OWASP |
|---|---|---|---|
| Prompt Injection | 23 | Authority-framed, encoding (base64/ROT13/hex), persona switch, few-shot, tool-output injection | LLM01 |
| Data Exfiltration | 11 | Credential leaks, PII (SSN, email, phone, CC), API keys, internal URLs | LLM02 |
| Tool Abuse | 8 | SQL injection, command injection, IDOR, SSRF, path traversal | LLM06 |
| Scope Violation | 8 | .env/.git access, home directory, /proc, symlink escape | LLM06 |
| Omission | 7 | PII in output, destructive actions without confirmation | — |
All attacks are YAML. Add your own in .preseal/attacks/ or see the built-in library. Includes 5 multi-turn attacks for patterns invisible to single-turn testing.
For compliance teams: preseal.org documents the methodology for EU AI Act Art. 15(4) conformity evidence.