RAVEN System Architecture
Bounded, human-supervised security regression testing for agentic LLM applications. RAVEN autonomously attacks targets, verifies failures deterministically, proposes diffs, guards operator approvals against race conditions, and persists regression suites to prevent vulnerability regressions.
1. Bounded Multi-Agent Lifecycle
Probes the target application to identify system prompt fingerprint, tools, parameter signatures, and active canary tokens.
Dispatches targeted evasion attempts across 4 attack categories using adaptive prompt mutations and role-play injection payloads.
Combines deterministic regex/token signal checks with an LLM judge to classify verdicts (confirmed failure, attack blocked, or needs review).
Synthesizes minimal system prompt diffs and tool authorization policies. Gated behind atomic human approval with HTTP 409 concurrency guards.
2. Evaluated Threat Vectors
Direct Injection (OWASP LLM01)
Payloads designed to hijack control flow, override safety guidelines, or force compliance via adversarial roleplay or developer mode bypasses.
Canary Leakage (OWASP LLM06)
Probes seeking disclosure of embedded system canary tokens, revealing unredacted system prompt instructions or internal deployment configurations.
Sensitive Data & PII (OWASP LLM02)
Extraction attempts targeting customer payment details, credentials, session tokens, or unredacted personal identifiers.
Tool Misuse & Unsafe Execution (OWASP LLM08)
Coercing the assistant into executing unauthorized state-changing tool calls (such as processing refunds or changing shipping addresses without customer verification).
3. Enterprise Idempotency & Tamper-Proof Audit
Atomic Approval Concurrency Guard (HTTP 409)
When multiple operators or automated CI triggers simultaneously click approve on hardening proposals, the control plane uses an atomic compare-and-swap transition (status = 'awaiting_approval'). Only the winning call initiates the retest pipeline; all racing duplicate requests return HTTP 409 Conflict.
Cryptographic SHA-256 Audit Endpoint
Auditors can query GET /api/scans/:id/artifacts/:artifact_id/verify to cryptographically verify that report artifacts (SARIF, JSON, Markdown) and transcripts exactly match their runtime execution digests.