Purple Firefish shield markPurple Firefish

CI Red-Team Regression

Use this when you want pull requests or releases to prove that known AI security controls still behave as expected.

The Firefish CI red-team runner executes safe synthetic cases against a local Firefish instance or a controlled test target. It compares current behavior with a baseline and can fail the build when configured regression thresholds are exceeded.

What it checks

Local-first defaults

Initialize a config

firefish-redteam init --output firefish.redteam.yaml

Run a local regression suite

firefish-redteam run \
  --config firefish.redteam.yaml \
  --output-dir .firefish-redteam

Compare against a baseline

firefish-redteam compare \
  --baseline .firefish-redteam/baseline.json \
  --current .firefish-redteam/results.json

GitHub-friendly output

firefish-redteam annotate \
  --results .firefish-redteam/results.json \
  --summary .firefish-redteam/summary.md \
  --sarif .firefish-redteam/firefish.sarif

Interpreting failures

A regression means a previously blocked, quarantined, redacted, or approval-gated synthetic risk now looks allowed, or benign hard-negative false positives increased beyond your configured threshold. Improvements are reported but should not fail the build.

Firefish CI checks do not prove your application is secure. They are regression gates for known classes of AI security behavior.