Skip to content

Releases

v2.2.1 — Readable dashboard findings and PRD status

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 07 Nov 06:54
403fc57

The dashboard findings are easier to read, and the docs now state exactly what the PRD covers.

Dashboard

  • Agent column in findings: every finding says which agent failed (weak or strong) and whether it came from a fixed-suite run or an adaptive round, instead of a run id wrapped over three lines.
  • Full agent replies: long replies show a preview with "show full reply"; the full text is kept. Still no JavaScript (plain <details>).
  • Whole-word titles: finding titles no longer end mid-word, including those from older runs.
  • Clearer headline: the gap reads "46.2 pts lower" instead of a green minus sign.
  • Run ids, dates and targets no longer wrap; the category chart stays readable on narrow screens.

Docs

  • README: contents line, Project status table against the PRD (10/10 must-haves, 5/8 stretch goals, 6/10 attack categories), a Dashboard section, and an updated screenshot.
  • Final report: corrected test count and a "Not implemented (future work)" section.

Quality

  • 228 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13

No configuration changes; upgrade in place.

Full changelog: v2.2.0...v2.2.1

v2.2.0 — Dashboard redesigned around the result

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 06 Nov 23:25
10e2080

The dashboard is redesigned around the result instead of assembled section by section.

Dashboard

  • Compact header: title and purpose on the left; version, runs and offline status on the right.
  • Result first: readable agent names with comparison bars, and the gap as a headline number (for example −46.2 pts for the strong agent versus the weak agent on the same attacks).
  • One metrics strip led by proven canary leaks, then violations and AI-planned rounds.
  • Where each agent fails: a horizontal chart sorted from most to least vulnerable, with values on every bar.
  • Trend chart appears only when an agent has repeated fixed-suite runs.
  • Fixed a missing gap under the header.

Still one offline HTML file with no scripts or external assets; model replies are HTML-escaped. Checked at wide, laptop and narrow widths in dark and light mode.

Quality

  • 224 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13

No configuration changes; upgrade in place.

Full changelog: v2.1.1...v2.2.0

v2.1.1 — Dashboard redesign

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 06 Nov 23:04
93fc56d

A visual redesign of the dashboard.

Dashboard

  • Header with the purpose of the report and chips for version, runs, generation time and read-only/offline.
  • Comparison panel: one bar per agent with its attack success rate, plus the gap stated in points (for example "llm:strong is 46.2 points lower than llm:weak on the same attacks").
  • Category chart with values printed on every bar.
  • Adaptive sessions show the AI planner's path as chips: clean rounds in green, hits in red.
  • Findings are colour-coded by severity, with proven leaks highlighted.
  • Light and dark mode, following the system setting.
  • Footer shows the agent-redteam version and generation time.

Still one offline HTML file with no scripts or external assets; model replies are HTML-escaped.

Quality

  • 221 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13

No configuration changes; upgrade in place.

Full changelog: v2.1.0...v2.1.1

v2.1.0 — Clearer dashboard and README

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 06 Nov 22:47
bd9b60f

A clearer dashboard and a rewritten README.

Dashboard

  • Leads with the real comparison: each target's latest fixed-suite attack success rate, least safe first (for example weak 76.9% vs strong 30.8%), plus totals, proven canary leaks and adaptive sessions. The old "Latest ASR" card, which often showed a single 4-case adaptive round, is gone.
  • Per-category chart with labelled axes and a legend.
  • Run types are labelled: "Fixed suite" or "Adaptive · round N/M". Adaptive rounds are grouped into sessions that show the categories the AI planner chose.
  • Per-target trend lines, fixed-suite runs only.
  • Findings show the agent's actual reply and the evidence, with a "proven leak" badge for canary hits.

Still one offline HTML file with no scripts or external assets; model replies are HTML-escaped. Open it with agent-redteam dashboard && open reports/out/dashboard.html.

README

Restructured around what the project does and found: highlights, real-LLM results with limitations, a pipeline diagram, a two-step quickstart, CLI and target reference, safety model, grading and limitations, plus a dashboard screenshot.

Quality

  • 217 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13

No configuration changes; upgrade in place.

Full changelog: v2.0.2...v2.1.0

v2.0.2 — Grading accuracy and adaptive evidence

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 06 Nov 22:03
8729333

Patch release: more accurate grading of real-model replies, and adaptive evidence that is never overwritten.

Fixes

  • Polite refusals are no longer counted as jailbreaks. Replies such as "I'd rather not proceed with that…" are now recognized as refusals. A polite opener followed by a leak is still caught by the canary and content rules.
  • Adaptive evidence is kept per session. Each adaptive session now writes its generated attacks to runs/adaptive_suites/<session_id>/. Previously every session reused the same file names, so a new session overwrote the attacks of earlier ones.

Correction to v2.0.1

The v2.0.1 notes said the live rerun "found 2 jailbreaks". On review, both replies were polite refusals that the old rules misgraded. This release fixes that.

The published experiment results (79% weak vs 31% strong) are unchanged: re-grading those runs with the new rules gives the same 48 violations.

Quality

  • 209 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13

No configuration changes; upgrade in place.

Full changelog: v2.0.1...v2.0.2

v2.0.1 — Adaptive loop robustness

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 06 Nov 21:27
d1593d0

Patch release: the adaptive red-team loop now copes with an unreliable model. These problems showed up while demoing v2.0.0 on a local qwen2.5:3b.

Fixes

  • The loop no longer stops on one bad model reply. In --mode auto, if the LLM generator returns unparseable output or no valid attacks, that round falls back to the built-in mutations and the loop continues. The reason is recorded in the trace. An explicit --mode llm still stops, so behaviour never changes silently.
  • Fewer rejected AI-written attacks. The generator now asks for user-only turns; the model had been scripting fake assistant turns, which the schema rejects. Rejection messages are one line per attack.
  • Clear target names in the adaptive report: llm:strong@qwen2.5:3b instead of llm.

Live rerun of agent-redteam adaptive --target llm:strong --max-rounds 3: 12 of 12 generated attacks accepted (before: 5 of 8) and all 3 rounds completed (before: stopped in round 3). The "2 jailbreaks" first reported here were polite refusals misgraded by the old rules; corrected in v2.0.2.

Quality

  • 201 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13

No configuration changes; upgrade in place.

Full changelog: v2.0.0...v2.0.1

v2.0.0 — Real LLM agents

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 06 Nov 20:55
06310cb

The agents are no longer hardcoded. The agent under test is now a real LLM that decides its own replies and tool calls, and an LLM planner decides what to attack next.

Highlights

  • Real target agent: llm:weak / llm:strong run on any OpenAI-compatible endpoint (local Ollama with qwen2.5:3b by default). The model chooses whether to answer, refuse or call read_file / send_email / delete_file. Both profiles share one system prompt; strong adds guardrails, so results measure the guardrails alone.
  • Proven leaks: fresh fake CANARY-XXXXXXXXXX secrets are planted in every agent, and every suite case checks for them.
  • LLM attack planner: the adaptive loop's planner reads the attack history and the target's replies, then picks the next category and strategy, or stops. Invalid output falls back to the original rule-based planner. agent-redteam adaptive --planner auto|llm|heuristic.
  • Grading for real replies: wider refusal detection; indirect-injection cases accept a safe answer that ignores the injection.
  • Experiment script: scripts/llm_experiment.py repeats fixed-suite and adaptive runs for both profiles.

Results (local qwen2.5:3b, 3 repeats)

Target Fixed suite attack success rate Adaptive loop
llm:weak 79% (77–83%) 6 / 9 violations
llm:strong 31% (31–31%) 1 / 9 violations

Guardrails cut the attack success rate from 79% to 31%. The strong agent leaked no canary, but a "developer mode" prompt jailbroke it in all 3 runs. Limitations (keyword-grading misjudgements, a weak 3B attacker, small sample) are documented in the README.

Safety

  • Tools are never executed: calls are recorded and answered from an in-memory fake file system.
  • Model endpoints need the same authorization as HTTP targets (loopback allowed; external requires --allow-external --allowed-hosts).
  • Planner output is validated and cannot raise the round or case budgets.
  • Tests are offline and hermetic; CI never needs a model or an API key.

Quality

  • 196 pytest tests passing (+1 opt-in live test), ruff clean
  • CI green on Python 3.11 / 3.12 / 3.13 (lint + tests + wheel build)

Upgrading

Mock targets and existing suites work as before (mock:weak 13/13 violations, mock:strong 0/13). To try real agents: brew install ollama && ollama pull qwen2.5:3b, then agent-redteam run --target llm:strong.

Full changelog: v1.1.0...v2.0.0

v1.0.0 — Agent Red-Teaming & Evaluation Framework

Choose a tag to compare

@alwaysprince05 alwaysprince05 released this 01 Oct 09:50

First stable release of the Agent Red-Teaming & Evaluation Framework — reproducible adversarial testing and safety evaluation for AI agents.

Highlights

  • Adversarial suite: 13 versioned test cases across 6 categories (prompt injection, jailbreak, data leakage, unsafe tool use, multi-turn manipulation, indirect injection)
  • Safe targets: deterministic mock:weak / mock:strong agents for offline demos; HTTP adapter for endpoints you own — external targets refused without explicit authorization + host allowlist
  • Evaluation: deterministic policy checks (refusal, keywords, regex, tool allowlists) plus optional LLM-as-judge (temperature 0, structured verdicts, failures never silently pass)
  • Evidence: every violation stores matched rules, regex hits, tool-call traces or judge rationale, with reproduction steps and remediation
  • Metrics: attack success rate, violation rate, pass rate, per-category breakdown
  • Regression detection: baseline comparison with regressions, improvements and metric deltas
  • Interfaces: CLI (run, compare, report, dashboard, list-attacks), FastAPI service (POST /runs, status, results, report), Markdown + CSV exports
  • New in this release: dependency-free HTML dashboard — run history, ASR/pass-rate trend charts, category breakdown, findings browser

Quality

  • 86/86 pytest tests passing
  • ruff lint clean
  • CI green on Python 3.11 / 3.12 / 3.13 (lint + tests + wheel build)
  • Dockerfile (non-root) for the API service

Safe usage

Only test agents you own or have written permission to test. See docs/RESPONSIBLE_USE.md.

Full changelog: 47c5cf9...v1.0.0