You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/code/executor/attack/flip_attack.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
"source": [
8
8
"# Flip Attack (Single-Turn) - optional\n",
9
9
"\n",
10
-
"Flip Attack is a simple attack [@li2024flipattack].\n",
10
+
"Flip Attack is a simple attack [@liu2024flipattack].\n",
11
11
"\n",
12
12
"We replicate the ability to send prompts that match this output: https://github.com/yueliu1999/FlipAttack/blob/main/result/FlipAttack-gpt-4.json. In other words, it sends a system prompt to the target, directing it to unflip the word, and then it flips the malicious prompt.\n",
Copy file name to clipboardExpand all lines: doc/code/executor/attack/flip_attack.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
# %% [markdown]
11
11
# # Flip Attack (Single-Turn) - optional
12
12
#
13
-
# Flip Attack is a simple attack [@li2024flipattack].
13
+
# Flip Attack is a simple attack [@liu2024flipattack].
14
14
#
15
15
# We replicate the ability to send prompts that match this output: https://github.com/yueliu1999/FlipAttack/blob/main/result/FlipAttack-gpt-4.json. In other words, it sends a system prompt to the target, directing it to unflip the word, and then it flips the malicious prompt.
Copy file name to clipboardExpand all lines: doc/code/targets/0_prompt_targets.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ A `Message` object is a normalized object with all the information a target will
23
23
24
24
A `PromptTarget` is a generic place to send a prompt. With PyRIT, the idea is that it will eventually be consumed by an AI application, but that doesn't have to be immediate. For example, you could have a SharePoint target. Everything you send a prompt to is a `PromptTarget`. Many attacks work generically with any `PromptTarget` including `RedTeamingAttack` and `PromptSendingAttack`.
25
25
26
-
With some algorithms, you want to send a prompt, set a system prompt, and modify conversation history (including PAIR [@chao2023pair], TAP [@mehrotra2023tap], and flip attack [@li2024flipattack]). These algorithms require a target whose [`TargetCapabilities`](#target-capabilities) declare both `supports_multi_turn=True` and `supports_editable_history=True` — i.e. you can modify a conversation history. Consumers express this requirement via `CHAT_TARGET_REQUIREMENTS` and validate it against `target.configuration` at construction time. See [Target Capabilities](#target-capabilities) below for the full list of capabilities and how they compose into a `TargetConfiguration`.
26
+
With some algorithms, you want to send a prompt, set a system prompt, and modify conversation history (including PAIR [@chao2023pair], TAP [@mehrotra2023tap], and flip attack [@liu2024flipattack]). These algorithms require a target whose [`TargetCapabilities`](#target-capabilities) declare both `supports_multi_turn=True` and `supports_editable_history=True` — i.e. you can modify a conversation history. Consumers express this requirement via `CHAT_TARGET_REQUIREMENTS` and validate it against `target.configuration` at construction time. See [Target Capabilities](#target-capabilities) below for the full list of capabilities and how they compose into a `TargetConfiguration`.
27
27
28
28
Note: The previous `PromptChatTarget` class is **deprecated** as of v0.14.0 and will be removed in v0.16.0. Use `PromptTarget` directly with a `TargetConfiguration` declaring `supports_multi_turn=True` and `supports_editable_history=True`. See [Target Capabilities](#target-capabilities) for details.
title = {Transphobia is in the Eye of the Prompter: Trans-Centered Perspectives on Large Language Models},
115
117
author = {Morgan Klaus Scheuerman and Katy Weathington and Adrian Petterson and Dylan Thomas Doyle and Dipto Das and Michael Ann DeVito and Jed R. Brubaker},
118
+
journal = {ACM Transactions on Computer-Human Interaction},
116
119
year = {2025},
117
120
url = {https://doi.org/10.1145/3743676},
118
-
note = {ACM Transactions on Computer-Human Interaction},
title = {Defending Against Indirect Prompt Injection Attacks With Spotlighting},
314
-
author = {Keegan Hines and Gary Lopez and Matthew Hall and Federico Stolfa and Shrimai Prabhumoye and Yair Livne and Manish Nagireddy and Arun Shankar Iyer and Kieran Dolan},
317
+
author = {Keegan Hines and Gary Lopez and Matthew Hall and Federico Zarfati and Yonatan Zunger and Emre Kiciman},
title = {Lessons From Red Teaming 100 Generative {AI} Products},
366
369
author = {Blake Bullwinkel and Amanda Minnich and Shiven Chawla and Gary Lopez and Martin Pouliot and Whitney Maxwell and Joris de Gruyter and Katherine Pratt and Saphir Qi and Nina Chikanov and Roman Lutz and Raja Sekhar Rao Dheekonda and Bolor-Erdene Jagdagdorj and Eugenia Kim and Justin Song and Keegan Hines and Daniel Jones and Giorgio Severi and Richard Lundeen and Sam Vaughan and Victoria Westerhoff and Pete Bryan and Ram Shankar Siva Kumar and Yonatan Zunger and Chang Kawaguchi and Mark Russinovich},
367
-
year = {2024},
370
+
year = {2025},
368
371
url = {https://arxiv.org/abs/2501.07238},
369
372
note = {Presented at the Red Teaming GenAI Workshop, NeurIPS 2024},
title = {{BeaverTails}: Towards Improved Safety Alignment of {LLM} via a Human-Preference Dataset},
378
-
author = {Jiaming Ji and Mickel Liu and Juntao Dai and Xuehai Pan and Chi Zhang and Ce Bian and Chi Zhang and Ruiyang Sun and Yizhou Wang and Yaodong Yang},
381
+
author = {Jiaming Ji and Mickel Liu and Juntao Dai and Xuehai Pan and Chi Zhang and Ce Bian and Boyuan Chen and Ruiyang Sun and Yizhou Wang and Yaodong Yang},
379
382
journal = {arXiv preprint arXiv:2307.04657},
380
383
year = {2023},
381
384
url = {https://arxiv.org/abs/2307.04657},
@@ -454,8 +457,8 @@ @article{lin2023toxicchat
454
457
}
455
458
456
459
@article{jiang2025sosbench,
457
-
title = {{SOSBENCH}: Benchmarking Safety Alignment on Scientific Knowledge},
458
-
author = {Fengqing Jiang and Fengbo Ma and Zhangchen Xu and Yuetai Li and Bhaskar Ramasubramanian and Luyao Niu and Bo Li and Xianyan Chen and Zhen Xiang and Radha Poovendran},
460
+
title = {{SoSBench}: Benchmarking Safety Alignment on Six Scientific Domains},
461
+
author = {Fengqing Jiang and Fengbo Ma and Zhangchen Xu and Yuetai Li and Zixin Rao and Bhaskar Ramasubramanian and Luyao Niu and Bo Li and Xianyan Chen and Zhen Xiang and Radha Poovendran},
459
462
journal = {arXiv preprint arXiv:2505.21605},
460
463
year = {2025},
461
464
url = {https://arxiv.org/abs/2505.21605},
@@ -551,12 +554,13 @@ @article{lopez2024pyrit
551
554
url = {https://arxiv.org/abs/2410.02828},
552
555
}
553
556
554
-
@article{yu2025comicjailbreak,
555
-
title = {{ComicJailbreak}: Jailbreaking Multimodal Large Language Models via Comic-Style Prompts},
556
-
author = {Zhiyuan Yu and Yuhao Wu and Shengming Li and Jiawei Xu and Roy Ka-Wei Lee},
557
+
@article{tan2026comicjailbreak,
558
+
title = {Structured Visual Narratives Undermine Safety Alignment in Multimodal Large Language Models},
559
+
author = {Rui Yang Tan and Yujia Hu and Roy Ka-Wei Lee},
557
560
journal = {arXiv preprint arXiv:2603.21697},
558
-
year = {2025},
561
+
year = {2026},
559
562
url = {https://arxiv.org/abs/2603.21697},
563
+
note = {Introduces the {ComicJailbreak} benchmark},
0 commit comments