Using HarmBench with PyRIT
How HarmBench objectives drive PyRIT's Foundry and Jailbreak scenarios, sampling with max dataset size, and when a standard benchmark set is enough versus application-specific objectives.

Choosing and writing the objectives and prompts PyRIT attacks start from: HarmBench and the built-in catalog, over-refusal and multimodal sets, jailbreak templates, YAML seed files and the seed database.
How HarmBench objectives drive PyRIT's Foundry and Jailbreak scenarios, sampling with max dataset size, and when a standard benchmark set is enough versus application-specific objectives.
Navigating the research datasets PyRIT can load, from Aegis, BeaverTails and DarkBench to SORRY-Bench and StrongREJECT, and matching datasets to the harms your application can cause.
Measuring whether safety tuning or filters make an assistant refuse legitimate requests, using XSTest-style datasets with PyRIT's refusal scorer, and balancing over-refusal against attack success.
Using JailbreakV-28K, MM-SafetyBench, FigStep and related image datasets with PyRIT to test vision-language models, and the image caching that remote multimodal loaders use.
Running MLCommons AILuminate hazard prompts through PyRIT to get coverage that maps to a published hazard taxonomy, and how it complements HarmBench.
Using PyRIT's bundled jailbreak template library, including the TrustAIRLab in-the-wild set, with the Jailbreak scenario or directly, and adding templates your team has seen used against you.
Writing your own PyRIT seed files with objectives, prompts, harm categories and metadata, marking objectives, and when to enable Jinja templating safely.
Combining text, image, audio and video prompts with one objective in a PyRIT seed group, and building sequential prompts for multi-turn tests.
Importing datasets into PyRIT memory so a team shares one versioned set of seeds, querying seeds by harm category, and refreshing remote datasets.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.