Malla: Demystifying Real-world Large Language Model Integrated Malicious Services

Zilong Lin, Jian Cui, Xiaojing Liao, XiaoFeng Wang
1/6/2024
70 citations
cs.CRcs.AI

Official code: idllresearch/malicious-gpt (127 stars, Python, last commit 2025-10-03).

Abstract

The underground exploitation of large language models (LLMs) for malicious services (i.e., Malla) is witnessing an uptick, amplifying the cyber threat landscape and posing questions about the trustworthiness of LLM technologies. However, there has been little effort to understand this new cybercrime, in terms of its magnitude, impact, and techniques.

Show full abstract

In this paper, we conduct the first systematic study on 212 real-world Mallas, uncovering their proliferation in underground marketplaces and exposing their operational modalities. Our study discloses the Malla ecosystem, revealing its significant growth and impact on today's public LLM services. Through examining 212 Mallas, we uncovered eight backend LLMs used by Mallas, along with 182 prompts that circumvent the protective measures of public LLM APIs. We further demystify the tactics employed by Mallas, including the abuse of uncensored LLMs and the exploitation of public LLM APIs through jailbreak prompts. Our findings enable a better understanding of the real-world exploitation of LLMs by cybercriminals, offering insights into strategies to counteract this cybercrime.

View on arXivView PDF

Code Implementations(1)

[USENIX Security '24] Dataset associated with real-world malicious LLM applications, including 45 malicious prompts for generating malicious content, malicious responses from LLMs, 182 real-world jailbreak prompts, keywords related to LLMs, etc.

1279PythonJun 22, 20241 years ago

Similar Papers

Cite this paper

@article{lin2024malla,
  title  = {Malla: Demystifying Real-world Large Language Model Integrated Malicious Services},
  author = {Zilong Lin and Jian Cui and Xiaojing Liao and XiaoFeng Wang},
  year   = {2024},
  eprint = {2401.03315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.03315v3}
}

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/2401.03315.svg)](https://codeofpaper.com/paper/2401.03315)

Discussion