FEAT: Add single_turn_crescendo technique with adversarial_config#1665
Open
rlundeen2 wants to merge 7 commits intomicrosoft:mainfrom
Open
FEAT: Add single_turn_crescendo technique with adversarial_config#1665rlundeen2 wants to merge 7 commits intomicrosoft:mainfrom
rlundeen2 wants to merge 7 commits intomicrosoft:mainfrom
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
| @@ -0,0 +1,80 @@ | |||
| name: crescendo_simulated | |||
| description: | | |||
Contributor
There was a problem hiding this comment.
I would probably expand a bit here and mention the original crescendo paper and the STCA paper, and how they relate to this prompt. I guess this is adapted by you based on the original prompt, right? Should we have a standardized way of representing that?
romanlutz
approved these changes
Apr 29, 2026
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 :)