Repository navigation
Releases
Releases · rudrasatani13/cot-redteam-agent
cot-redteam-agent 0.6.0 — Proof-of-Action Foundation
cot-redteam-agent 0.6.0 — Proof-of-Action Foundation
An automated LLM red-team agent that evaluates agent behavior — not just model text — and finds prompt-injection / jailbreak failures before your users do.
What's in 0.6.0
- Agent-security engine (
cot_redteam.agent): only observed simulated actions and deterministic world-state transitions can prove impact. Model text is evidence, never proof. - Support Agent World: in-memory tickets, CRM records, canaries, approval state — no tool touches real network, shell, filesystem, or databases.
- Deny-by-default
ToolGateway: registry membership, scenario sandbox allowlist, schema validation, byte limits, per-run action budget, timeouts; a target cannot forge an authorized verdict. - Deterministic oracles: canary-reached-sink, unauthorized-tool-call, and approval-bypass detection with fail-closed persistence semantics.
- Exact replay: recorded trajectories replay with digest verification, provenance ancestry checks, and budget/seed determinism.
Hardening pass (15 verified audit findings fixed)
- Canary never enters the LLM-attacker context (encoded forms redacted); refusal-echo false positives eliminated across scoring
- Race-safe run finalization; unexpected engine failures always produce a terminal run row
- Transactional, brick-proof SQLite migrations
scanexits 3 on failed/partial runs — never a false-clean 0; config errors exit 2- CI actions pinned to full commit SHAs; EndpointPolicy SSRF boundary hardened
Assets
cot_redteam_agent-0.6.0-py3-none-any.whl— sha256fc6413a83c9883e18fad5e460290c709744e2a419966f14ebd871fee00ab9754cot_redteam_agent-0.6.0.tar.gz— sha256b9d916e7eeb4c26da4efa94e004c6fdfee9bed6b28e7158c73f95906e2003210
Install
pip install cot-redteam-agent
cot-redteam --helpcot-redteam-agent 0.5.0
cot-redteam-agent 0.5.0
Added
- Parseltongue-inspired encoding attack family — 9 techniques (leetspeak, Unicode homoglyphs, zero-width joiners, morse, reversed chars, ROT13, base64, hex, binary) + 10 new payload bank seeds (bank now 30)
- Encoded-disclosure scoring — base64/hex/ROT13/reversed/chunked canary forms in final text count as real leaks; encoded quotes inside refusals are still not success
- Hedge-aware classification —
hedged_refusedefense class +hedge_count/hedged_disclosuremetrics - Keyless
mockprovider (mock_mode: auto|refuse|disclose|error) — full pipeline runs without API keys, for demos/tests/CI cot-redteam race— one probe across N models, compliance verdict table- Headless TUI test suite — app 14%→75%, interactive 11%→81% coverage (package total 84%)
- GODMODE-inspired payload seeds: refusal-inversion divider, boundary inversion, prefill roleplay
Fixed
config validateno longer requires openrouter when generative section is unusedllm_judgejudge-model fallback viaevaluation.judge_model, non-JSON retry, max_tokens 512→1024, raw judge audit trail- Refusal detection catches
unable to comply/i am unable/i must adhere(live-tested) - CLI version banner, budget phantom request, retention dead code
- CI no longer runs the pipeline twice for PR branches
Verified
- 295 tests, coverage 83.99%, mypy clean, twine check PASSED
- Python 3.10–3.13 matrix + wheel smoke green
CoT Red Team Agent v0.3.0
Highlights
v0.3.0 adds a reproducible prompt-injection benchmark system for testing user-supplied model APIs.
- Role-aware, capability-aware multi-turn benchmark execution
- Deterministic repeated trial matrices and cryptographically random per-trial canaries
- Evidence-bearing attack, leakage, utility, refusal, reliability, and monitor scoring
- Packaged 12-scenario smoke and 56-scenario core suites
- Retention-aware SQLite evidence, manifests, JSONL, Markdown, CSV, and LaTeX reports
- Generic explicitly configured OpenAI-compatible provider support
- Safe CyberSecEval and IH-Challenge JSONL import adapters
- New benchmark CLI and supported Python API
Compatibility
Existing version-2 YAML configuration, legacy evaluation APIs, plugins, attacks, monitors, reports, and stored runs remain supported. See the 0.2 to 0.3 migration guide.
Supported Python versions: 3.10 through 3.13.
Verification
- GitHub CI passed on Python 3.10, 3.11, 3.12, and 3.13
- Formatting, linting, typing, tests, coverage, build, and wheel-smoke gates passed
- Clean Python 3.13 wheel installation verified
- Packaged config initialization and validation verified
- Packaged dataset: 15 samples
- Built-in suites: smoke 12 scenarios; core 56 scenarios
SHA-256
cot_redteam_agent-0.3.0-py3-none-any.whl:10e82436b50a057c6ea105719086f7438b072958eca73f2f73961a8c5bbdc9f1cot_redteam_agent-0.3.0.tar.gz:226cd705b17c804b0169afacc1265380700d13e727d23b23308e8dbae4d3e551
This release provides GitHub assets only; it does not claim PyPI publication.
Full changes: CHANGELOG.md.
CoT Red Team Agent v0.2.0
First production-oriented open-source release.
Highlights:
- Provider-agnostic evaluation for user-supplied LLM API credentials
- Wheel-safe quickstart with packaged configuration and sample dataset
- Evaluated generative evolution with persisted fitness provenance
- SQLite run storage, manifests, reporting, retention controls, cost budgets, and provider concurrency limits
- Open-source contribution, support, conduct, and private vulnerability-reporting workflows
Install directly from the attached wheel or clone the repository. This release is not published to PyPI.
SHA-256:
- Wheel: 4195a200778625b029cf53a71534754b266d6874a8232099c1a664de2f84c3d1
- Source archive: f777debb8c0275ffec500660ea1eecf12dc985cc3fb9afdbde46fdca5f4d6cd6