Security Concerns for Large Language Models: A Survey

Miles Q. Li, Benjamin C. M. Fung
5/24/2025
cs.CRcs.AI
survey

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large Language Models (LLMs) such as ChatGPT and its competitors have caused a revolution in natural language processing, but their capabilities also introduce new security vulnerabilities. This survey provides a comprehensive overview of these emerging concerns, categorizing threats into several key areas: inference-time attacks via prompt manipulation; training-time attacks; misuse by malicious actors; and the inherent risks in autonomous LLM agents.

Show full abstract

Recently, a significant focus is increasingly being placed on the latter. We summarize recent academic and industrial studies from 2022 to 2025 that exemplify each threat, analyze existing defense mechanisms and their limitations, and identify open challenges in securing LLM-based applications. We conclude by emphasizing the importance of advancing robust, multi-layered security strategies to ensure LLMs are safe and beneficial.

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. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

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

Similar Papers

Cite this paper

@article{li2025security,
  title  = {Security Concerns for Large Language Models: A Survey},
  author = {Miles Q. Li and Benjamin C. M. Fung},
  year   = {2025},
  eprint = {2505.18889},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.18889v5}
}

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

Discussion