$ the-wire · showcase
PyRIT tightens file-upload permissions and starts retiring OpenAITTSTarget
By RepoJournal · Filed · About AI Red Teaming · Composed from the cited sources · methodology
PyRIT removed the deprecated HTTPXAPITarget upload fallbacks so a target now only uploads local files it was explicitly allowed to, deprecated OpenAITTSTarget for removal in 1.5.0, and added a CyberSecEval prompt injection scorer.
MAINT: Remove the deprecated HTTPXAPITarget file-upload fallbacks microsoft/PyRIT
The two deprecated HTTPXAPITarget file-upload fallbacks, due for removal in 1.3.0, are gone. A file is uploaded only when file_path is given or the piece is path-typed, text pieces are no longer probed with is_file, and any upload with allowed_upload_directory=None raises ValueError naming the parameter, so targets that relied on the fallback will fail loudly until you set that directory explic...
MAINT: Deprecate OpenAITTSTarget for removal in 1.5.0 (#4503) microsoft/PyRIT
OpenAITTSTarget is now deprecated and slated for removal in 1.5.0. If it backs any of your existing target configs, plan the migration to a supported target before that release, not after.
FEAT: Add a CyberSecEval prompt injection scorer (#4440) microsoft/PyRIT
A new CyberSecEval prompt injection scorer lands in PyRIT, so injection attempts can be scored inside your existing evaluation runs rather than handled by a separate harness.
FIX: filter legacy identifier layouts like the displayed attack type microsoft/PyRIT
The attack class and converter filters and both options endpoints now read legacy identifier layouts, falling back to children.attack for rows written before the nested structure existed. Filtering by attack class also matches the legacy spelling of the class name, so older orchestration records stop disappearing from filtered views.
Action items
- → Set allowed_upload_directory on every HTTPXAPITarget that uploads files, since uploads with it set to None now raise ... microsoft/PyRIT [immediate]
- → Migrate off OpenAITTSTarget before PyRIT 1.5.0 removes it microsoft/PyRIT [plan]