Skip to content
pre-alphaa verified library with a thin live spine

An agentic security CLI in the spirit of Claude Code and Codex, for offensive and defensive work.

Every exploit your AI proves becomes a detection your SIEM didn't have.

The verification harness for AI-written detections. Red and blue, one motion. Riposte drafts a Sigma rule from each reproduced attack, then ships it only if it survives four gates: it compiles, fires on the real exploit, catches a model-mutated variant, and stays under your false-positive threshold.

$ riposte demo
[scope]  loaded ROE: demo-lab  (deny-by-default)
[red]    4 findings on http://localhost:3000   (3 INFO, 1 MEDIUM)
[purple] drafting Sigma rules from reproducible artifacts
         gate 1  compile          PASS
         gate 2  fires on exploit  PASS   (attack.t1190 reflected-input)
         gate 3  survives mutation PASS
         gate 4  low false-positive PASS
[ship]   1 shipped (0 verified, 1 unverified) . 3 held back
[audit]  hash-chain OK . tamper-evident
exit 0
illustrative demo output

Red. Blue. Verified.

ATTACK

Safety is the architecture.

Deny-by-default scope check before every action; tiered autonomy, passive by default; sandboxed execution with a default-deny egress allowlist; a mandatory hash-chained audit log; a global kill switch.

Read the security model
VERIFIED

Verified, not generated.

A detection ships only if it survives four fail-closed gates, each rule carrying a 3-axis score (efficacy, robustness, cost). The harness is the product; generation is the easy part.

See the four gates
LOOP

The closed purple loop.

Red reproduces an exploit on an authorized target; blue auto-drafts a detection from that exact artifact; only verified rules ship, so coverage tracks real attacks. Defense and offense in one motion, which is literally what a riposte is in fencing.

Red reproduces. Blue drafts. The loop closes on what is verified.
  1. ATTACKReproduce the exploitRed runs an authorized attack and keeps the reproducible artifact.
  2. DETECTIONDraft the detectionBlue auto-drafts a Sigma rule from that exact artifact.
  3. LOOP CLOSEDShip only if verifiedFour gates decide. Coverage tracks real attacks.

Verified coverage feeds the next attack, so the loop stays closed.

Show the output.

The harness leads by rejecting bad rules. The missing-header findings produced the same rule shape, but it did not fire on their artifacts, so they were correctly held back. One reproduced exploit produced a rule that survived all four gates.

$ riposte demo
run the offline demo
detection:
  selection:
    cs-uri-query|contains: rpq=
  condition: selection
tags:
  - attack.t1190
shipped rule (Sigma)
url.query:*rpq\=*
compiled query (Elastic)
Prove the attack. Ship the detection. Only if it survives four gates.
  1. Red engine (OWASP WSTG / MITRE ATT&CK)
  2. reproducible artifact
  3. Sigma draft
  1. gate 01PASS

    Compiles

    sigma-cli converts the rule to your backend, self-correcting until it is clean.

  2. gate 02PASS

    Fires

    Replays the real exploit against an instrumented SIEM and confirms the rule triggers.

  3. gate 03PASS

    Survives mutation

    A second model mutates the attack; the rule must still catch the variant.

  4. gate 04PASS

    Low false-positive

    Replayed against a benign corpus; only rules under your threshold pass.

SHIPPEDships to Elastic with a score
scoreefficacyrobustnesscostdemo input, not a benchmarkloop closed

Red enters as a finding. Only a rule that clears all four gates exits as a verified detection. Anything that fails stops in its chamber and is held back.

Bring your own model.

  • Anthropic
  • OpenAI
  • Gemini
  • OpenRouter
  • Azure OpenAI
  • AWS Bedrock
  • Ollama
  • LM Studio

Claude-first, bring your own provider. Run it against a local Ollama or LM Studio model and nothing leaves your machine. There is no telemetry module to disable, because none exists.

Safety is the architecture.

  • Signed Rules-of-Engagement
  • Deny-by-default scope check before every action
  • Default-deny network egress allowlist (no isolation without Docker yet)
  • Refuses to run without a hash-chained audit log
  • Global kill switch
$ riposte audit verify --log <dir>/audit.jsonl
OK (chain + anchor verified)
audit verify

Where Riposte sits.

capabilityOffensive-AIAI-SOCRiposte
proves the detection fires on the real exploitnot the focusnot the focusyes
mutation-testednot the focusnot the focusyes
false-positive gatednot the focusnot the focusyes
deterministic non-LLM oraclenot the focusnot the focusyes

Peers demonstrate more end-to-end attack capability and publish numbers; we do not have published capability numbers yet. Our bet is narrower: verification of the detection, not breadth of the attack.

Honest status.

Works today

  • offline 'riposte demo' end to end
  • the safety core: scope gate, audit log, kill switch
  • the full red->purple pipeline via 'scan' (continuous via 'daemon')
  • a bounded loop via 'engage' (default-safe offline replay)
  • a large offline test suite (2,000+ tests), green on Linux
  • verified parity between the offline SIEM double and real Elasticsearch

Gated / not yet

  • real third-party engagements (founder-gated)
  • the cognition spine wired in
  • the OAST oracle (live findings cap at 'reproduced')
  • a hosted SaaS / multi-tenancy (intentionally not built)
  • published false-positive / efficacy numbers (need a design-partner corpus)

What it has NOT done: run unsupervised, run against a third party, or ship a verified detection outside a self-owned lab.

Open core.

Riposte is open core. The engine is free and Apache-2.0; the commercial product is the multi-team, hosted, compliance layer around it. We are not gating the core or competing on attack breadth.

Free, Apache-2.0

  • All four verification gates
  • Red agents (recon + web WSTG) + pluggable import
  • Sigma generation + ECS pipeline
  • Keyed hash-chained audit log
  • Network egress allowlist
  • The ROE safety schema
  • The full CLI
  • WSTG/ATT&CK -> NIST 800-53 crosswalk

Planned, not available

  • Hosted multi-tenant SaaS (RBAC/SSO)
  • More SIEM backends (Splunk, Sentinel)
  • Detection-coverage-drift dashboard
  • Commercial compliance attestation
  • MSSP multi-tenancy / white-label

Star it. Clone it. Run the demo.

$ git clone https://github.com/JoakimLarssen/Riposte && cd Riposte && riposte demo
clone and run

Become a design partner

For a blue team with a benign log corpus and an authorized target. We are looking for one design partner, not a waitlist.

Become a design partner