Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysis

Jonathan Brokman, Omer Hofman, Oren Rachmil, Inderjeet Singh, Vikas Pahuja +4 more
10/21/2024
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

This report presents a comparative analysis of open-source vulnerability scanners for conversational large language models (LLMs). As LLMs become integral to various applications, they also present potential attack surfaces, exposed to security risks such as information leakage and jailbreak attacks. Our study evaluates prominent scanners - Garak, Giskard, PyRIT, and CyberSecEval - that adapt red-teaming practices to expose these vulnerabilities. We detail the distinctive features and practical use of these scanners, outline unifying principles of their design and perform quantitative evaluations to compare them. These evaluations uncover significant reliability issues in detecting successful attacks, highlighting a fundamental gap for future development. Additionally, we contribute a preliminary labelled dataset, which serves as an initial step to bridge this gap. Based on the above, we provide strategic recommendations to assist organizations choose the most suitable scanner for their red-teaming needs, accounting for customizability, test suite comprehensiveness, and industry-specific use cases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{brokman2024insights,
  title  = {Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysis},
  author = {Jonathan Brokman and Omer Hofman and Oren Rachmil and Inderjeet Singh and Vikas Pahuja and Rathina Sabapathy Aishvariya Priya and Amit Giloni and Roman Vainshtein and Hisashi Kojima},
  year   = {2024},
  eprint = {2410.16527},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.16527v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.16527.svg)](https://codeofpaper.com/paper/2410.16527)

Discussion