mlsanityData to 7 Oct 2026

Identifying and Mitigating Vulnerabilities in LLM-Integrated Applications

arXiv 2311.16153 ↗First posted 7 Nov 2023cs.CR cs.AIcited by 54

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are increasingly deployed as the service backend for LLM-integrated applications such as code completion and AI-powered search. LLM-integrated applications serve as middleware to refine users' queries with domain-specific knowledge to better inform LLMs and enhance the responses. Despite numerous opportunities and benefits, LLM-integrated applications also introduce new attack surfaces. Understanding, minimizing, and eliminating these emerging attack surfaces is a new area of research. In this work, we consider a setup where the user and LLM interact via an LLM-integrated application in the middle. We focus on the communication rounds that begin with user's queries and end with LLM-integrated application returning responses to the queries, powered by LLMs at the service backend. For this query-response protocol, we identify potential vulnerabilities that can originate from the malicious application developer or from an outsider threat initiator that is able to control the database access, manipulate and poison data that are high-risk for the user. Successful exploits of the identified vulnerabilities result in the users receiving responses tailored to the intent of a threat initiator. We assess such threats against LLM-integrated applications empowered by OpenAI GPT-3.5 and GPT-4. Our empirical results show that the threats can effectively bypass the restrictions and moderation policies of OpenAI, resulting in users receiving responses that contain bias, toxic content, privacy risk, and disinformation. To mitigate those threats, we identify and define four key properties, namely integrity, source identification, attack detectability, and utility preservation, that need to be satisfied by a safe LLM-integrated application. Based on these properties, we develop a lightweight, threat-agnostic defense that mitigates both insider and outsider threats.

Key facts. Cited by 54 papers in the map (data through 7 Oct 2026). Builds on 39 of its 70 references that are in the map. First posted on arXiv 7 Nov 2023.

Builds on

39 of 70 references.

References · 39

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  6. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  7. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  8. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  9. 2020Learning to summarize from human feedbackcited by 2,562
  10. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  11. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  12. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
27 more
  1. 2021Ethical and social risks of harm from Language Modelscited by 957
  2. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
  3. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  4. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  5. 2019Defending Against Neural Fake Newscited by 553
  6. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
  7. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  8. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  9. 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
  10. 2021A Survey on Automated Fact-Checkingcited by 376
  11. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
  12. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  13. 2017Certified Defenses for Data Poisoning Attackscited by 288
  14. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
  15. 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 240
  16. 2018Gender Bias in Neural Natural Language Processingcited by 210
  17. 2022Fine-tuning language models to find agreement among humans with diverse preferencescited by 189
  18. 2023Recommendation as Instruction Following: A Large Language Model Empowered Recommendation Approachcited by 168
  19. 2020Towards Accountability for Machine Learning Datasets: Practices from Software Engineering and Infrastructurecited by 138
  20. 2019Lessons from Archives: Strategies for Collecting Sociocultural Data in Machine Learningcited by 116
  21. 2020Toxicity Detection: Does Context Really Matter?cited by 93
  22. 2020The Radicalization Risks of GPT-3 and Advanced Neural Language Modelscited by 76
  23. 2023Eight Things to Know about Large Language Modelscited by 73
  24. 2019Reducing Gender Bias in Word-Level Language Models with a Gender-Equalizing Loss Functioncited by 57
  25. 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
  26. 2022Mitigating Gender Bias in Distilled Language Models via Counterfactual Role Reversalcited by 40
  27. 2019Global Voices: Crossing Borders in Automatic News Summarizationcited by 20

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 40; 2026: 7.

54 papers.

Sort:

By area:

  1. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 233
  2. 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 122
  3. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
  4. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
  5. 2025Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learningcited by 64
  6. 2025The Price of Format: Diversity Collapse in LLMscited by 43
  7. 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agentscited by 42
  8. 2025VisRL: Intention-Driven Visual Perception via Reinforced Reasoningcited by 39
  9. 2025Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantizationcited by 36
  10. 2025A Survey of Direct Preference Optimizationcited by 35
  11. 2024Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activationscited by 32
  12. 2025LLaVA-MORE: A Comparative Study of LLMs and Visual Backbones for Enhanced Visual Instruction Tuningcited by 27
38 more
  1. 2025Revisiting Uncertainty Estimation and Calibration of Large Language Modelscited by 22
  2. 2025Towards Spoken Mathematical Reasoning: Benchmarking Speech-based Models over Multi-faceted Math Problemscited by 12
  3. 2025DETree: DEtecting Human-AI Collaborative Texts via Tree-Structured Hierarchical Representation Learningcited by 12
  4. 2025Active Layer-Contrastive Decoding Reduces Hallucination in Large Language Model Generationcited by 10
  5. 2025Locate-then-Merge: Neuron-Level Parameter Fusion for Mitigating Catastrophic Forgetting in Multimodal LLMscited by 7
  6. 2025A Controllable Examination for Long-Context Language Modelscited by 7
  7. 2025PuzzleWorld: A Benchmark for Multimodal, Open-Ended Reasoning in Puzzlehuntscited by 7
  8. 2025Bridging AI and Software Security: A Comparative Vulnerability Assessment of LLM Agent Deployment Paradigmscited by 7
  9. 2025Quantile Reward Policy Optimization: Alignment with Pointwise Regression and Exact Partition Functionscited by 6
  10. 2025Layer as Puzzle Pieces: Compressing Large Language Models through Layer Concatenationcited by 6
  11. 2026Automating Agent Hijacking via Structural Template Injectioncited by 6
  12. 2025GraphKV: Breaking the Static Selection Paradigm with Graph-Based KV Cache Evictioncited by 5
  13. 2025ImportSnare: Directed "Code Manual" Hijacking in Retrieval-Augmented Code Generationcited by 5
  14. 2024Towards Action Hijacking of Large Language Model-based Agentcited by 4
  15. 2025Number Representations in LLMs: A Computational Parallel to Human Perceptioncited by 4
  16. 2025Mamba Knockout for Unraveling Factual Information Flowcited by 4
  17. 2025A Comprehensive Taxonomy of Negation for NLP and Neural Retrieverscited by 4
  18. 2025Chain-of-Trigger: An Agentic Backdoor that Paradoxically Enhances Agentic Robustnesscited by 4
  19. 2026Semantic Uncertainty Quantification of Hallucinations in LLMs: A Quantum Tensor Network Based Methodcited by 4
  20. 2025Solving the Unsolvable: Translating Case Law in Hong Kongcited by 3
  21. 2025FLoE: Fisher-Based Layer Selection for Efficient Sparse Adaptation of Low-Rank Expertscited by 3
  22. 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attackscited by 3
  23. 2026SRA: Span Representation Alignment for Large Language Model Distillationcited by 3
  24. 2024Differentially Private Kernel Density Estimationcited by 2
  25. 2025Perceive, Verify and Understand Long Video: Multi-Granular Perception and Active Verification via Interactive Agentscited by 2
  26. 2025Static Sandboxes Are Inadequate: Modeling Societal Complexity Requires Open-Ended Co-Evolution in LLM-Based Multi-Agent Simulationscited by 2
  27. 2025AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignmentcited by 2
  28. 2026ProactiveBench: Benchmarking Proactiveness in Multimodal Large Language Modelscited by 2
  29. 2026Structural Pruning of Large Vision Language Models: A Comprehensive Study on Pruning Dynamics, Recovery, and Data Efficiencycited by 2
  30. 2025LFTR: Learning-Free Token Reduction for Multimodal Large Language Modelscited by 1
  31. 2025Enhancing RLHF with Human Gaze Modelingcited by 1
  32. 2025Investigating Structural Pruning and Recovery Techniques for Compressing Multimodal Large Language Models: An Empirical Studycited by 1
  33. 2025HealthBranches: Synthesizing Clinically-Grounded Question Answering Datasets via Decision Pathwayscited by 1
  34. 2025Reimagining Safety Alignment with An Imagecited by 1
  35. 2025AudAgent: Automated Auditing of Privacy Policy Compliance in AI Agentscited by 1
  36. 2026Autoregressive Ranking: Bridging the Gap Between Dual and Cross Encoderscited by 1
  37. 2024Exploring the Privacy Protection Capabilities of Chinese Large Language Modelscited by 0
  38. 2025Improving the End-to-End Efficiency of Offline Inference for Multi-LLM Applications Based on Sampling and Simulationcited by 0

50 most cited of 54 All 54 (JSON)