Skip to content

v0.10.0rc0

Latest

Choose a tag to compare

@hannahwestra25 hannahwestra25 released this 05 Sep 22:06
· 57 commits to main since this release

What's Changed

Targets

  • Extend HTTPTarget to allow custom HTTP client
  • Added prompt target for OpenAI Sora--OpenAISoraTarget
  • Added prompt target for OpenAI prompt response target--OpenAIResponseTarget

Datasets

  • Added equitymedqa_dataset
  • Added sosbench_dataset
  • Added ccp_sensitive_prompts_dataset
  • Added medsafetybench_dataset
  • Added transphobia_awareness_dataset
  • Added jbb_behaviors_dataset

Converters

  • DenyListConverter: takes a list of words that will prohibited from being used in the prompt
  • Introduce word level converter which provides a reusable foundation that standardizes word selection for transformation and reduces code duplication across similar converters.
  • SuperscriptConverter which converts text to superscript
  • TextJailBreakConverter
  • FirstLetterConverter which removes all but the first letter of each word in a string
  • ImageCompressionConverter which enables compression of image files to reduce their size while preserving visual quality.
  • RandomTranslationConverter which translates each word in a prompt to a random language from a pre-defined or user-provided list of languages.

Attacks

  • Breaking: Refactor orchestration components in favor of executors. See docs here for full details on the updated interface: executors
  • Allow repetition support in Question Answer Benchmark
  • Integrate the XPIA attack with AI Recruiter
  • Add Anecdoctor attack which constructs attack prompts based on real-world examples
  • Add adversarial and Pruned Conversations to AttackResult

Scorers

  • LookBackScorer: uses entire conversation as scoring context
  • PlagiarismScorer: determines whether the content is similar to reference text
  • Support for evaluating each scorer

Scanner

  • Converter, target and scorer support added

Other

  • Breaking: DuckDB with SQLite
  • GitHub Copilot Instructions for PyRIT Development
  • Added support to analyze the results of an attack
  • Extend data exporter to support Markdown

Full list of changes

New Contributors

Full Changelog: https://github.com/Azure/PyRIT/commits/v0.10.0rc0