This is the dataset used in the paper Black-Box Adversarial Attacks on LLM-Based Code Completion, published at ICML 2025, for vulnerability assessment of attacked models.
It consists of code prefixes and suffixes as well as CodeQL queries to confirm or reject whether an infilled completion is vulnerable or not.
You can find the accompanying code on GitHub.
cwe: Number of the CWE
lang: Language of the vulnerable code… See the full description on the dataset page:
https://huggingface.co/datasets/eth-sri/insec-vulnerability.