Purple Firefish shield markPurple Firefish

Benchmarking

Use this when you want evidence-backed local proof that Firefish is exercising important AI security controls.

Firefish benchmarks compare protected behavior with a simple allow-all baseline using safe synthetic cases from the repository. The results are useful for local proof and regression tracking, not for claiming complete protection.

What the benchmark covers

Regenerate local results

python benchmarks/firefish_benchmark.py \
  --output data/benchmark_results/latest.json \
  --markdown data/benchmark_results/latest.md

Then open:

http://localhost:8000/benchmark

The public benchmark page renders real artifact data when available. If the artifact is missing, it shows a placeholder instead of fake numbers.

Metrics

False positives and false negatives

Review false positives first when Firefish blocks benign developer, support, or security-education prompts. Review false negatives by stable case ID and hash, not by raw payload text. When you add a new case, keep the example synthetic and de-weaponized.

What benchmarks do not prove

Benchmarks do not guarantee immunity to prompt injection, data leakage, or unsafe agency. They do not certify compliance. They do not replace human review. Run the suite against your own applications and add local cases that match your threat model.