FEAT: Add single_turn_crescendo technique with adversarial_config#1665
Merged
rlundeen2 merged 9 commits intomicrosoft:mainfrom Apr 30, 2026
Merged
Conversation
…class factory field - Make AttackAdversarialConfig a first-class field on AttackTechniqueFactory (not buried in _attack_kwargs). Injected into attack at create() time if the attack class accepts it; also exposed via adversarial_chat property for seed-technique execution. - Add seed_technique field to AttackTechniqueSpec for techniques that need SeedAttackTechniqueGroup (e.g. simulated conversation). - Extend build_scenario_techniques() to resolve adversarial config when spec.seed_technique.has_simulated_conversation is True. - Add single_turn_crescendo entry to SCENARIO_TECHNIQUES using PromptSendingAttack + SeedSimulatedConversation. - Create crescendo_simulated.yaml (RedTeamingAttack-compatible prompt that only uses objective/max_turns, avoiding StrictUndefined errors). - Update and add tests for new behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jsong468
reviewed
Apr 28, 2026
jsong468
reviewed
Apr 28, 2026
romanlutz
reviewed
Apr 29, 2026
romanlutz
reviewed
Apr 29, 2026
romanlutz
approved these changes
Apr 29, 2026
jsong468
approved these changes
Apr 29, 2026
…4_27_single_turn_crescendo # Conflicts: # pyrit/scenario/core/scenario_techniques.py
precognitivem0nk
added a commit
to precognitivem0nk/PyRIT
that referenced
this pull request
Apr 30, 2026
…ry lecture, journalist interview) Builds on PR microsoft#1665 by adding three persona-driven YAML variants of single_turn_crescendo, wired through a new pyrit/setup/initializers/components/scenarios.py initializer per maintainer guidance on PR microsoft#1657. No new attack primitives. Refs microsoft#388 Signed-off-by: precognitivem0nk <rextedgorman@gmail.com>
romanlutz
pushed a commit
to awksrj/PyRIT
that referenced
this pull request
May 1, 2026
…crosoft#1665) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
single_turn_crescendoto the scenario technique catalog. It uses PromptSendingAttack with aSeedSimulatedConversationseed group to generate a multi-turn crescendo conversation viasimulated_conversation,then sends the final prompt as a single turn.
There are some updates to the technique spec to support this.
I ran, inspected the conversation, and it looks like a good crescendo :)