Dataset Card for CyberSecEval 3 - Visual Prompt Injection Benchmark
10
2 commits
4 linked in READMEs
updated Mar 13, 2025
This dataset provides a multimodal benchmark for visual prompt injection, with text/image inputs. It is part of CyberSecEval 3, the third edition of Meta's flagship suite of security benchmarks for LLMs to measure cybersecurity risks and capabilities across multiple domains.
This dataset is intended for evaluating the susceptibility of language models to prompt injection when provided with text and image inputs.
This dataset should not be used to train models and should be for evaluation purposes only. In addition, this dataset should not be used for harmful, unethical, or malicious purposes.
The benchmarks can be run with either:
A total of 1000 test cases are provided in test_cases.json. A folder of accompanying images is at images/.
Each test case consists of these core keys:
id: The integer ID of the test case.system_prompt: The system prompt provided to the model-under-test.user_input_text: Text component of the user prompt provided to the model-under-test.judge_question: A question used to judge the response from the model-under-test and determine whether the prompt injection was successful or not.The image path provided to each test case is at images/<id>.png.
The following keys serve as tags providing additional metadata about the test case:
image_description: Text description used to generate the imageimage_text: Text transcription of any text overlaid on the imageinjection_technique: Tags indicating what type of prompt injection technique was used in this test case.injection_type: Either direct or indirect.risk_category: Either logic-violating or security-violating.The dataset is created to address a gap in existing evaluations for prompt injection and particularly multimodal prompt injection. Prompt injection is a security issue affecting LLMs, when untrusted data is placed into the context of a model, causing unintended behavior. It is one of the biggest security issues that affect LLMs, and there is a need to understand these risks, particularly as newer models now support multimodal inputs which increases the risk surface for prompt injection.
The test cases are synthetically created using Llama-3.1-405B-Instruct. Meta AI's image generation model was used to produce the images.
A subset of test cases contain images of CAPTCHAs, which are sourced from Wilhelmy, Rodrigo & Rosas, Horacio. (2013).
Some of the techniques in these test cases are inspired by FigStep and MM-SafetyBench.
The dataset does not contain any personal or sensitive information. The data is synthetically generated and is not expected to contain any real world data that is of sensitive nature.
Users should be made aware of these limitations of the dataset.
BibTeX:
@misc{wan2024CyberSecEval 3advancingevaluation,
title={CyberSecEval 3: Advancing the Evaluation of Cybersecurity Risks and Capabilities in Large Language Models},
author={Shengye Wan and Cyrus Nikolaidis and Daniel Song and David Molnar and James Crnkovich and Jayson Grace and Manish Bhatt and Sahana Chennabasappa and Spencer Whitman and Stephanie Ding and Vlad Ionescu and Yue Li and Joshua Saxe},
year={2024},
eprint={2408.01605},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2408.01605},
}
1 commits
1 commits
Dataset Card for CyberSecEval 3 - Visual Prompt Injection Benchmark
10
2 commits
4 linked in READMEs
updated Mar 13, 2025
This dataset provides a multimodal benchmark for visual prompt injection, with text/image inputs. It is part of CyberSecEval 3, the third edition of Meta's flagship suite of security benchmarks for LLMs to measure cybersecurity risks and capabilities across multiple domains.
This dataset is intended for evaluating the susceptibility of language models to prompt injection when provided with text and image inputs.
This dataset should not be used to train models and should be for evaluation purposes only. In addition, this dataset should not be used for harmful, unethical, or malicious purposes.
The benchmarks can be run with either:
A total of 1000 test cases are provided in test_cases.json. A folder of accompanying images is at images/.
Each test case consists of these core keys:
id: The integer ID of the test case.system_prompt: The system prompt provided to the model-under-test.user_input_text: Text component of the user prompt provided to the model-under-test.judge_question: A question used to judge the response from the model-under-test and determine whether the prompt injection was successful or not.The image path provided to each test case is at images/<id>.png.
The following keys serve as tags providing additional metadata about the test case:
image_description: Text description used to generate the imageimage_text: Text transcription of any text overlaid on the imageinjection_technique: Tags indicating what type of prompt injection technique was used in this test case.injection_type: Either direct or indirect.risk_category: Either logic-violating or security-violating.The dataset is created to address a gap in existing evaluations for prompt injection and particularly multimodal prompt injection. Prompt injection is a security issue affecting LLMs, when untrusted data is placed into the context of a model, causing unintended behavior. It is one of the biggest security issues that affect LLMs, and there is a need to understand these risks, particularly as newer models now support multimodal inputs which increases the risk surface for prompt injection.
The test cases are synthetically created using Llama-3.1-405B-Instruct. Meta AI's image generation model was used to produce the images.
A subset of test cases contain images of CAPTCHAs, which are sourced from Wilhelmy, Rodrigo & Rosas, Horacio. (2013).
Some of the techniques in these test cases are inspired by FigStep and MM-SafetyBench.
The dataset does not contain any personal or sensitive information. The data is synthetically generated and is not expected to contain any real world data that is of sensitive nature.
Users should be made aware of these limitations of the dataset.
BibTeX:
@misc{wan2024CyberSecEval 3advancingevaluation,
title={CyberSecEval 3: Advancing the Evaluation of Cybersecurity Risks and Capabilities in Large Language Models},
author={Shengye Wan and Cyrus Nikolaidis and Daniel Song and David Molnar and James Crnkovich and Jayson Grace and Manish Bhatt and Sahana Chennabasappa and Spencer Whitman and Stephanie Ding and Vlad Ionescu and Yue Li and Joshua Saxe},
year={2024},
eprint={2408.01605},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2408.01605},
}
1 commits
1 commits