-
Notifications
You must be signed in to change notification settings - Fork 665
FEAT: Jailbreak Scenario Expansion #1340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ValbuenaVC
wants to merge
54
commits into
Azure:main
Choose a base branch
from
ValbuenaVC:jailbreak2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
022f70a
Scaffolding
e85cdb9
Precommit
fc260c3
fixtures and basic tests
89a8079
basic tests
b18f224
basic tests
96ddf6c
last test
eb4e936
jailbreak format test
243ea0a
sample jailbreak prompt
946fdde
Merge branch 'main' into jailbreak
ValbuenaVC 132caf5
real jailbreaks added
c4e625f
Merge branch 'main' into jailbreak
ValbuenaVC 79d1a64
Merge branch 'main' into jailbreak
ValbuenaVC cb28fda
changing dataset name
f399b6d
moved jailbreak discovery
75436ea
changed path resolution
c0022f6
minor changes
9f579f2
minor bug
ccf7025
Merge branch 'main' into jailbreak
ValbuenaVC 349cc6b
old dataset name
9fa6430
precommit
513cbf3
random jailbreak selection
b57b35a
error handling
999a0c6
error handling docstring
f3ec8bb
Merge branch 'Azure:main' into jailbreak2
ValbuenaVC 89fd8bd
scaffolding
66650a6
scaffolding for subset
fa5b01a
scaffolding
44bc05c
Merge branch 'main' into jailbreak2
ValbuenaVC db5270c
Merge branch 'main' into jailbreak2
ValbuenaVC 9d9666f
Merge branch 'main' into jailbreak2
ValbuenaVC 302101f
subset
9c7b757
tweaking
737aabe
new strategy template
472bd20
types'
b07e197
adversarial
c31d088
Merge branch 'main' into jailbreak2
ValbuenaVC 6dcf318
Merge branch 'main' into jailbreak2
ValbuenaVC ec9d731
Merge branch 'main' into jailbreak2
ValbuenaVC 163e582
Merge branch 'main' into jailbreak2
ValbuenaVC a503a4b
unit test fixes
af32046
Merge branch 'jailbreak2' of https://github.com/ValbuenaVC/PyRIT into…
6da95f9
unit test fix
73d77a6
mypy
827ec0e
Merge branch 'main' into jailbreak2
ValbuenaVC 8168db8
params
5ac7651
tweaks
20ef0c3
dataset_size
06bb694
k_jailbreak bug
03a1e9b
Merge branch 'main' into jailbreak2
ValbuenaVC 6a67ac4
tests
4b441d4
new strategies
b14f564
adversarial chat
07b6142
roleplay path
36b6b95
roleplay
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the default strategy? Some other scenarios have a
get_default_strategyfunction but I don't see one here. I would recommend to make the defaultPromptSendingbecause it's the one that makes the most sense for the jailbreaks we have in PyRIT so far.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now it's
JailbreakStrategy.ALL, but I like that idea more, so I'm going to change it toPromptSending. Should be line 84