$ the-wire · showcase
PyRIT gains a CoSafe loader and drops a deprecated RealtimeTarget method
By RepoJournal · Filed · About AI Red Teaming · Composed from the cited sources · methodology
PyRIT shipped the one thing red-team operators can use today, a loader for 1,400 multi-turn CoSafe conversations, and kept the rest of the day to dependency hygiene and a backend type-soundness sweep.
FEAT: Add CoSafe dataset loader microsoft/PyRIT
The new loader pulls in 1,400 multi-turn conversations across 14 harm categories from CoSafe (Yu et al., EMNLP 2024), each ending in a question that only turns harmful once an earlier turn is resolved. A CoSafeCategory enum maps each category to its file name, and categories=None loads all of them, so you can run the full set or scope a multi-turn campaign to one harm type in a single argument.
MAINT: Remove deprecated RealtimeTarget.cleanup_conversation_async (#4425) microsoft/PyRIT
The deprecated RealtimeTarget.cleanup_conversation_async is gone from PyRIT. If your orchestration code still calls it, move to the supported cleanup path before you next build against main, since the method no longer exists.
fix(deps): require patched glob for the CLI and Storybook promptfoo/promptfoo
promptfoo's CLI now requires glob 14.0.6 and the Storybook docgen plugin uses the same release, closing GHSA-qxr8-q827-836c in the brace-expansion budget for ignore patterns. The package-manifest checks now reject the affected glob range outright, so a reinstalled old copy fails the build rather than shipping.
MAINT: Fix backend unsound assignments (UA-4) microsoft/PyRIT
The backend's unsound-assignment rule is now enforced instead of overridden in pyproject.toml, with externally sourced values validated by isinstance rather than cast. The sweep also fixed a real bug in the /api/version route, which matters if you scrape that endpoint to check which PyRIT you are running.
MAINT: Bump the minor-and-patch group across 1 directory with 24 updates microsoft/PyRIT
The rest of the day was version bumps: PyRIT took a 24-package minor-and-patch group (openai 3.46.0 to 3.55.0, fastapi 0.162.2 to 0.163.2, datasets 5.1.0 to 5.2.0) alongside Knip cleanups removing 20 leftovers from the web UI, and promptfoo moved to @biomejs/biome 2.6.7, @anthropic-ai/claude-agent-sdk 0.3.323, ws 8.23.0 and @hono/node-server 2.1.8.
Action items
- → Reinstall promptfoo dependencies to pull patched glob 14.0.6 so the manifest check passes promptfoo/promptfoo [immediate]
- → Replace calls to RealtimeTarget.cleanup_conversation_async in PyRIT with the supported cleanup path microsoft/PyRIT [plan]