Feature: Split-payload multi-turn attack strategy#1733
Draft
ek0212 wants to merge 1 commit into
Draft
Conversation
… and demo notebook
|
@ek0212 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
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.
Summary
Adds a split-payload multi-turn attack strategy to PyRIT. Split-payload attacks distribute a harmful request across multiple conversation turns where each individual turn passes all safety classifiers independently, but the assembled sequence constitutes a harmful instruction.
This is different from Crescendo (which escalates) - split-payload fragments a single harmful request across innocuous turns. The test: could you write a single harmful prompt that contains the same information as the full conversation? If yes, it's a split payload.
Changes
New attack strategy
Seed datasets
Design patterns
Four fragmentation patterns: component assembly, parameter specification, referential chains, context+technique split
Demo notebook
Shows configuring and running the attack against a target
Closes #1734
Testing