Manuscript Offprint
arXiv:2609.03999Shifting from Injection to Interaction: Rethinking Web Security in the Age of LLMs and Beyond
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
NIVEDITA SINGH, Sungkyunkwan University, South Korea
ALSHARIF ABUADBBA, CSIRO, Australia
YANSONG GAO, The University of Western Australia, Australia
SURYA NEPAL, CSIRO, Australia
HYOUNGSHICK KIM*, Sungkyunkwan University, South Korea
Large language models (LLMs) are becoming integral to web applications and browser agents, transforming online interactions while introducing new attack vectors and reshaping longstanding web vulnerabilities. Classical threats such as cross-site scripting (XSS) can be amplified through LLM-mediated interactions, while LLM-specific vulnerabilities can propagate across web applications, introducing attacks such as prompt injection. Securing modern web systems therefore requires understanding interactions between traditional and LLM-specific threats across the system lifecycle. Unlike prior surveys treating web and LLM security separately, this survey provides a unified analysis of how LLMs amplify web vulnerabilities across client-side, server-side, and pipeline layers while evaluating defenses and their limitations. The analysis examines extending NIST and ISO/IEC AI security frameworks to the security needs of LLM-enabled web environments. Three unresolved challenges are identified: adversarial natural-language instructions, autonomous agent security, and post-deployment security through continuous monitoring and adaptation. An LLM-aware monitoring and control framework is proposed, integrating semantic input validation, prompt integrity protection, output isolation, agent governance, and runtime monitoring. This unified perspective characterizes the evolving threat landscape and outlines future directions for secure AI-enabled web systems.
CCS Concepts: • Security and privacy → Web application security.
Additional Key Words and Phrases: Large Language Models; Web Ecosystem Security; Prompt Injection; Vulnerability Amplification; OWASP Top 10
ACM Reference Format:
Nivedita Singh, Alsharif Abuadbba, Yansong Gao, Surya Nepal, and Hyoungshick Kim. 2026. Shifting from Injection to Interaction: Rethinking Web Security in the Age of LLMs and Beyond. ACM Comput. Surv. 1, 1 (September 2026), 35 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn
1 Introduction
Whether automating software development tasks or generating multimedia content, large language models (LLMs) have become indispensable tools that can process natural-language prompts and deliver rapid, highly capable results [153]. LLMs are fundamentally reshaping how users interact with online services [132] through their rapid integration
Authors' Contact Information: Nivedita Singh, singhnivvy@g.skku.edu, Department of Computer Science, Sungkyunkwan University, Suwon, South Korea; Alsharif Abuadbba, CSIRO, Australia; Yansong Gao, The University of Western Australia, Australia; Surya Nepal, CSIRO, Australia; Hyoungshick Kim, hyoung@skku.edu, Department of Software, Sungkyunkwan University, Suwon, South Korea.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Fig. 1. Architecture of an embedding inversion attack on a language model API. By eavesdropping on vector search queries, an adversary can reconstruct sensitive personal data from intercepted embeddings, illustrating how backend pipeline vulnerabilities directly compromise client-level privacy. Adapted from Chen et al. [19] under CC BY 4.0; icons and presentation modified by the authors.
into web applications and browser agents. While their stunning capabilities offer significant benefits in terms of automation, personalization, and accessibility, they also introduce new challenges by drastically altering the web security landscape [52, 74, 109, 150].
Among cybersecurity domains, integrating client-facing interfaces with backend LLM pipelines has emerged as a critical security concern. As LLMs interact directly with end-users, their advanced capabilities transcend traditional security boundaries, allowing long-standing attack vectors such as XSS [58, 121] and CSRF [112] to evolve beyond their conventional forms. Rather than being isolated exploits, these legacy threats are now amplified and transformed through LLM-mediated interactions, significantly expanding the attack surface for adversaries. This emerging shift introduces entirely new attack paradigms. For example, prompt injection attacks can mimic the effects of XSS [95], enabling unauthorized access to sensitive user data, while LLM-driven agents may unknowingly execute adversarial instructions embedded in web content. Beyond these adaptations, novel threats such as membership inference, jailbreaking, and model inversion further expose sensitive data in ways that web security frameworks are ill-equipped to handle. For instance, vulnerabilities in backend embedding pipelines can expose user data to inversion attacks (see Figure 1), bridging server-side weaknesses with severe user-level privacy breaches. Although the user interacts only with a visible web application, the security failure stems from interactions among multiple layers: the client-facing interface, the embedding model, the vector database, the retrieval API, and the downstream application logic. This scenario is grounded in the well-known problem of excessive data exposure (EDE), where web API transmits more information than the client interface legitimately needs [108]. This emphasizes that LLM-related vulnerabilities should not be analyzed solely at the model level, as backend pipeline weaknesses can propagate into concrete harms at the client side and in web applications. Despite growing awareness of these risks, there remains a lack of systematic analysis that connects LLM-specific threats to concrete full-stack web attack models and mitigation strategies. To contextualize these risks, the Open Web Application Security Project (OWASP) published a dedicated Top 10 list for LLMs and generative AI applications of 2025 [55]. As the de facto standard for web application security, this community-driven effort extends OWASP's long-standing tradition of identifying critical risks, focusing specifically on vulnerabilities introduced throughout LLM development, deployment, and integration. OWASP provides a structured lens for analyzing how LLMs reshape both legacy and novel security challenges. Building on this foundation, this work addresses two key research questions:
RQ1. How and to what extent do LLM security risks amplify, transform, or re-enable traditional web vulnerabilities across the web application stack?
RQ2. Are existing defenses and security standards sufficient to mitigate these LLM-mediated risks across client-side, server-side, pipeline, and ecosystem layers?
Existing works primarily analyze LLM vulnerabilities at the model or agent level, often treating LLMs as the final attack surface. However, this perspective overlooks a critical shift: LLMs act as intermediaries that propagate and amplify legacy web vulnerabilities across client-server boundaries. This gap motivates our study. In this paper, we examine how LLM security risk manifests in practice from a web application's perspective, identifying both overlaps with and deviations from traditional full-stack attack models (RQ1). We then investigate how LLM integration re-enables long-standing web vulnerabilities, including XSS, CSRF, clickjacking, man-in-the-middle attacks, client-side request hijacking, and session hijacking, while also introducing novel risks—such as system-prompt leakage, embedding inference, misinformation, and excessive agency—that fall outside conventional web-security frameworks (RQ2). As part of RQ2, we further analyze how established security and risk management frameworks should be extended to systematically address these interconnected LLM-specific threats. By embedding these RQs into our analysis, this survey highlights the urgent need to rethink application-centric defenses in the era of LLM-enabled web systems. Specifically, we make four key contributions:
-
First, we present a structured taxonomy that maps web attacks to their emerging manifestations under the OWASP LLM Top 10 risks, clarifying how LLM-specific designs create new web attack surfaces.
-
Second, we analyze how LLM-driven automation and natural language interfaces amplify and transform legacy vulnerabilities into subtler and more scalable attack vectors.
-
Third, we explore the mitigation strategies spanning client-side, server-side, and LLM pipeline components, exposing critical defense gaps that arise when web security controls are applied to LLM-integrated environments.
-
Finally, we discuss how existing security frameworks must evolve to account for LLM-driven ecosystem threats and outline actionable research directions toward secure and privacy-preserving LLM-enabled web ecosystems.
The remainder of this paper is organized as follows. Section 2 compares our work with recent LLM security surveys and identifies the gap that motivates a full-stack web security perspective. Section 3 presents our methodology. Section 4 describes the systematic literature review process, covering the search strategy, keywords, inclusion/exclusion criteria, and primary-study selection. Section 5 presents the comparative security analysis, showing how OWASP LLM risks map to traditional web vulnerabilities, how these risks are amplified in LLM-integrated web applications, and what defenses and open challenges remain. Section 6 discusses extensions to the security framework for LLM-enabled systems, and Section 7 concludes the paper.
Table 1. Comparison of Prior LLM Security Surveys with Our Full-Stack Web-Security Perspective. Filled circles indicate thorough coverage, half-filled circles indicate partial or brief coverage, and empty circles indicate no discussion. Checkmarks indicate whether a survey explicitly addresses the corresponding full-stack web-security dimension.
| Prior Work | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | Web | TRA | Layer | FW | Stack |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gan et al. [52] | ● | ● | ○ | ● | ○ | ● | ● | ○ | ○ | ○ | ✓ | - | ✓ | ✓ | - |
| Tamuka et al. [134] | ● | ● | ○ | ○ | ● | ● | ● | ○ | ○ | ● | ✓ | - | ✓ | ✓ | - |
| He et al. [59] | ● | ○ | ○ | ○ | ○ | ○ | ○ | ● | ● | ○ | ✓ | - | ✓ | - | - |
| Nie et al. [104] | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ● | ○ | ○ | - | - | - | - | - |
| Wu et al. [150] | ● | ● | ○ | ○ | ● | ○ | ○ | ○ | ○ | ✓ | - | - | ✓ | ✓ | - |
| Chhabra et al. [22] | ● | ○ | ○ | ○ | ● | ● | ○ | ○ | ○ | ○ | ✓ | - | ✓ | ✓ | - |
| Liao et al. [87] | ● | ○ | ○ | ● | ○ | ○ | ● | ○ | ○ | ○ | - | - | - | ✓ | - |
| Kong et al. [74] | ● | ● | ○ | ● | ● | ● | ○ | ○ | ○ | ✓ | - | - | ✓ | ✓ | - |
| Li et al. [83] | ● | ○ | ○ | ○ | ● | ○ | ○ | ○ | ○ | ○ | - | - | - | ✓ | - |
| Yan et al. [154] | ○ | ● | ○ | ○ | ○ | ○ | ● | ○ | ○ | ○ | - | - | - | - | - |
| Gallegos et al. [51] | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | - | - | - | - | - |
| Our work | ● | ● | ● | ● | ● | ● | ● | ● | ● | ✓ | ✓ | ✓ | ✓ | ✓ |
Note: Columns 01–10 correspond to OWASP LLM risks LLM_01–LLM_10. Web = explicit treatment of LLM-integrated web applications; TRA (Traditional Threat-Reference Architecture) = mapping to traditional web threats or CWE; Layer = client/server/pipeline propagation; FW = security framework adaptation; Stack = unified full-stack security perspective. Filled marks indicate full coverage and half marks indicate partial treatment.
vulnerabilities in isolation or focus strictly on standalone agent interactions, largely overlooking the cascading effects on the broader web ecosystem.
Agent-Centric and General Attack Surveys: A significant portion of the existing literature focuses on the security of LLM-based agents and general attack-defense paradigms. For instance, He et al. [59] and Gan et al. [52] explore the security, privacy, and ethical concerns of autonomous LLM agents, emphasizing risks like data poisoning, model inversion, and malicious misuse. Wu et al. [150] move beyond standalone LLM analysis by examining real-world LLM-based web systems composed of frontends, web tools, plugins, and sandbox components. Similarly, Chhabra et al. [22] survey agentic AI systems that combine planning, tool use, memory, and autonomy, enabling them to interact with web, software, and physical environments with limited human supervision. Similarly, Liao et al. [87], and Kong et al. [74] categorize broad attack vectors—such as prompt injection and jailbreaking—and review corresponding mitigation strategies. While these surveys provide extensive overviews of LLM-native risks, they often treat the LLM as the final attack destination rather than a conduit. Consequently, they do not explore in depth how these vulnerabilities intersect with and amplify legacy web threats on the client side.
Privacy and Component-Specific Analyses: Other works narrow their focus to LLM specific privacy dimensions or pipeline components. Yan et al. [154] delve into active and passive data privacy leakage, while Nie et al. [104] specifically examine vulnerabilities inherent in text embedding processes. Gallegos et al. [51] provide a detailed survey on bias and fairness in LLMs, focusing on evaluation metrics, datasets, and mitigation techniques. However, their analysis remains centered on LLM behavior and fairness concerns, rather than LLM-integrated web applications where backend model security risks can propagate into client-side and web-application harms.
Traditional Web-Application Security Surveys Prior surveys on web applications security have extensively examined established vulnerabilities such as XSS, CSRF, SQL injection, clickjacking, session hijacking, and browser-side attacks [24, 85, 115]. They provide mature taxonomies and mitigation strategies for traditional client–server applications but generally assume deterministic processing and clear trust boundaries. Thus, they do not capture how LLMs interpret untrusted natural-language content, mediate tools and APIs, or propagate backend weaknesses to client-side harms.

Fig. 2. Methodology pipeline for analyzing web-security vulnerabilities in LLM-enabled systems.
Our work extends this foundation by examining how LLM integration transforms, amplifies, or re-enables these threats across the full application stack.
Our Contributions in Context: As demonstrated in Table 1, our work distinctively maps the web threat landscape against the comprehensive OWASP LLM Top 10. While prior surveys provide valuable insights, our research bridges three critical gaps in the literature. First, we shift the focus from isolated LLM vulnerabilities to the amplification of legacy web threats when LLMs are integrated into web applications, detailing how LLM-mediated interactions exacerbate existing client-side security risks such as XSS and CSRF. Second, we synthesize mitigation strategies not just at the model layer but also comprehensively across the client-side, server-side, and ecosystem layers. Finally, unlike the existing literature, we emphasize the urgent need to extend and adapt established security and risk management frameworks (e.g., OWASP, ISO/IEC standards, and NIST AI RMF) to systematically govern risks in the emerging, interconnected LLM-integrated web ecosystem.
3 Our Methodology
Our study follows a structured multi-stage methodology (see Figure 2). We first analyze the OWASP LLM Top 10 risks to identify attack mechanisms and impacts. To move beyond high-level risk categories toward root-cause weakness analysis, we further explore the MITRE CWE taxonomy (CWE-1000) using its hierarchy, keyword search, and filtering capabilities to systematically identify relevant software and system weaknesses. We evaluate CWE entries based on their weakness descriptions, consequences, and operational context. This initial OWASP–CWE analysis then informs the systematic literature review (SLR) by guiding the search keywords, inclusion criteria, and analysis of selected studies. Specifically, we use this mapping process to examine whether prior works discuss the corresponding LLM risk, its web-security analogue, affected system layer, and mitigation strategy. Following Kitchenham et al. [73] the SLR analyzes LLM security challenges, their amplification of traditional web vulnerabilities, and existing mitigations.
3.1 Web Security Frameworks and OWASP LLM Security Challenges
As the first step in our methodology, we analyze the OWASP LLM security risks and map them to corresponding TRA and CWE categories. This mapping requires a brief overview of the security frameworks and weakness taxonomies used in our analysis.
Security frameworks and standards [55, 107, 135] identify and categorize security vulnerabilities in order to implement appropriate protection mechanisms and maintain secure web systems. These frameworks are periodically updated to address emerging and evolving security threats. Specifically, OWASP provides a community-driven, practical set of security challenges, such as the OWASP Top 10 LLM risks, that identify the most critical security risks in modern LLM-enabled applications [55]. In contrast, CWE, maintained by MITRE, offers a standardized taxonomy of underlying software weaknesses with fine-grained technical definitions [135]. Together, OWASP and CWE enable a systematic view of security challenges, linking high-level threat categories to their root-cause vulnerabilities. Additionally, there are also well-established security frameworks that provide mitigation strategies against such attacks, including standards developed by NIST and ISO [47, 102]. These frameworks are built around the core principles of Identify, Protect, Detect, Respond, and Recover, which guide organizations in systematically managing and reducing security risks. Although these standards are globally recognized and widely adopted for managing cybersecurity risks, the emerging security threats introduced by LLM-enabled web systems are more dynamic and require stronger, LLM-specific mitigation strategies.
With the rapid emergence of generative AI, OWASP has published a dedicated Top 10 security challenges of the year 2025 [55] which we follow. Unlike the traditional web security risks [107], which focus primarily on web applications, this list identifies vulnerabilities specific to the development, deployment, and integration of LLMs. In this study, we adopt the OWASP LLM security risks due to their industry-wide adoption, community-driven validation, and comprehensive coverage of both legacy-adapted and LLM-specific risks across the LLM application lifecycle, including development, deployment, integration, and post-deployment operation. These challenges highlight the most critical security risks for LLMs and generative AI systems. A brief overview of the ten risks is presented in Table 2.
3.2 Traditional Threat-Reference Architecture (TRA) and CWE Foundations
To systematically analyze the evolving web-security landscape, we establish a baseline that we refer to as the Traditional Threat-Reference Architecture (TRA), a reference set of web vulnerability classes that we define in this work by grounding each class in the CWE taxonomy, where applicable. Rather than proposing a new taxonomy, our goal is to organize well-established web vulnerability classes that have already been extensively studied, enabling us to examine how these traditional web security issues are amplified, transformed, or re-enabled in LLM-enabled web applications.
The CWE taxonomy maintained by MITRE provides standardized identifiers for recurring software and web-application weaknesses, such as CWE-79 (Cross-Site Scripting), CWE-89 (SQL Injection), and CWE-200 (Exposure of Sensitive Information) [135]. These weakness classes serve as reference points for defining our TRA categories used throughout this study. Web attacks are not only structurally similar to LLM-related risks but also follow the same underlying attack mechanisms. For example, prompt injection in LLM-enabled web systems can be viewed as an advanced form of client-side attacks, where malicious inputs manipulate system behavior through untrusted web content, and thus CWE-1427 defines this LLM weakness [35].
By mapping each OWASP LLM risk to its closest TRA category and, where applicable, corresponding CWE class, we establish a structured bridge between classical web security vulnerabilities and emerging risks introduced by LLM-enabled web systems, as summarized in Table 2. Certain CWE entries appear across multiple TRA categories, such as CWE-200, because the same underlying weakness can manifest through different attack scenarios depending on the system context. In contrast, TRA_09 focuses on content manipulation and social engineering, which stem from the generative behavior of LLMs rather than classical software implementation flaws, therefore, no direct CWE equivalent currently exists for this category.
Table 2. OWASP LLM Top-10 Security Risks and Mapping to Traditional Threat-Reference Architecture (TRA).
| Risks | OWASP Risk | Description | Mapped TRA Category and CWE Reference |
|---|---|---|---|
| LLM_01 | Prompt Injection | Manipulates model behavior via malicious prompts | TRA_01: Instruction Injection and Confused-Deputy Attacks (CWE-79, 89, 94, 77, 1427) |
| LLM_02 | Sensitive Information Disclosure | Exposes private, confidential, or proprietary data | TRA_02: Information Disclosure and Data Exfiltration (CWE-200) |
| LLM_03 | Supply Chain Vulnerabilities | Compromised plugins, APIs, or dependencies | TRA_03: Software Supply-Chain Compromise (CWE-829, 494) |
| LLM_04 | Data and Model Poisoning | Corrupts data integrity and introduces backdoors | TRA_04: Persistent Data Manipulation (CWE-345, CWE-347) |
| LLM_05 | Improper Output Handling | Unsafe or harmful interpretation of outputs | TRA_05: Output-to-Execution Vulnerabilities (CWE-116, 502) |
| LLM_06 | Excessive Agency | Grants unsafe or unauthorized autonomy | TRA_06: Unauthorized Action and Privilege Escalation (CWE-862, 306) |
| LLM_07 | System Prompt Leakage | Reveals internal instructions and policies | TRA_07: System Prompt and Configuration Leakage (CWE-200) |
| LLM_08 | Embedding Weaknesses | Enables inference and representation leakage | TRA_08: Embedding Inference and Representation Leakage (CWE-203, 208) |
| LLM_09 | Misinformation | Generates deceptive or misleading content | TRA_09: Content Manipulation and Social Engineering (-) |
| LLM_10 | Unbounded Consumption | Causes instability or excessive resource costs | TRA_10: Resource Exhaustion and Economic DoS (CWE-400, 834) |
3.3 LLM Integration Patterns
The paradigm shift in web security occurs when traditional threat models intersect with modern LLM integration. LLMs are no longer stand-alone research artifacts; they are deeply embedded in everyday digital ecosystems. This widespread adoption improves efficiency, but it also expands the attack surface through three architectural patterns:
- Browser Agents: Integrated directly into browsers as AI-powered copilots, extensions, or plugins, these agents possess the capability to autonomously read, interpret, and act upon user sessions and DOM elements on behalf of user requirements [77].
- APIs: Portable, cloud-based LLM services accessible via web or mobile interfaces, allowing developers to seamlessly integrate natural language capabilities into broader application workflows [62].
- Enterprise Applications: Productivity tools, decision-support systems, and automated customer service chatbots that process extensive amounts of potentially sensitive corporate data to enhance daily operations [76].
While these diverse integration patterns offer significant functional benefits, they inherently broaden security challenges by exposing LLMs to poisoned inputs and enabling them to mediate sensitive operations across client-server boundaries. When LLM-generated content interacts with these interconnected systems, traditional web attacks become significantly more complex. The integration introduces novel risks, such as prompt injection and context leakage, where an adversary can manipulate an LLM’s output to craft adversarial content. For instance, an attacker might exploit an LLM-powered enterprise chatbot or a browser agent by feeding it malicious scripts hidden in external inputs. If the model’s probabilistic decision-making process fails to sanitize this input, the LLM effectively acts as a conduit for the attack, allowing the adversary to steal cookies, extract sensitive session data, or manipulate website content.
By mapping each OWASP LLM risk to a corresponding TRA category, we demonstrate how these complex interactions between untrusted inputs and LLM pipelines fundamentally amplify legacy web vulnerabilities. These integration patterns are not isolated in real deployments. Instead, they often appear together within a single LLM-enabled web application. For example, as shown in Figure 1, a user-facing web application sends user data to an embedding API, where the data is transformed into vector representations. The resulting embeddings are then stored and queried through a vector database. Although the user interacts only with the visible web interface, security risks emerge across multiple layers, including the client-facing interface, embedding model, vector database, retrieval API, and downstream application logic. This is precisely why LLM integration should be analyzed as a web application stack rather than an isolated model component. To avoid subjective alignment, we define a structured methodology for mapping OWASP LLM risks to traditional web threat categories. Each mapping is derived using four criteria:
(1) Entry Point: How adversarial influence is introduced (e.g., prompt, dependency, training data, embedding, query; such as LLM_01, LLM_03, LLM_04, LLM_08).
(2) Processing Mechanism: How input is interpreted by the web application or LLM pipeline (syntactic execution vs. natural-language instruction interpretation; such as LLM_01, LLM_05, LLM_08).
(3) Security Boundary Violation: The violated principle (e.g., data-instruction separation, confidentiality, authorization, resource control; such as LLM_02, LLM_06, LLM_07, LLM_10).
(4) Impact: Resulting behavior (e.g., execution, leakage, manipulation, misinformation, resource exhaustion; such as LLM_01–LLM_10).
For each OWASP LLM risk, we apply the four criteria to identify the closest web-security analogue. For example, LLM_01 maps to TRA_01 through instruction manipulation, while LLM_06 maps to TRA_06 through unauthorized agentic API/tool actions. Applying the same process to all ten risks produces the OWASP-TRA-CWE mapping summarized in Table 2. Mappings are assigned based on structural similarity across these dimensions rather than on surface-level analogy, ensuring consistency and reproducibility. This mapping informs the Stage II literature review by structuring the search and coding process around OWASP-TRA-CWE risk pairs, ensuring that the SLR focuses on the intersection between LLM-specific risks and classical web-security failures.
4 Study Identification and Selection
As the second stage in our methodology, we conduct a systematic literature review (SLR) to identify studies relevant to LLM-enabled web security, traditional web vulnerabilities, and security-framework adaptation.
4.1 Search Strategy
The literature search was conducted across Scopus, IEEE Xplore, ScienceDirect (Elsevier), SpringerLink and Google Scholar. Given the rapid evolution of LLM security, we have also included high quality and highly cited arXiv preprints. The search covered literature available up to August 2026, with the final search update conducted in August 2026. Following the screening and eligibility assessment, the primary studies included in the final SLR corpus were published between 2019 and 2026.
4.2 Search Keywords
Initially, we explored articles on LLM security challenges and defense mechanisms. We then constructed search queries using the names of specific LLM attacks (e.g., “prompt injection”), combinations of attack types with LLM (e.g., “supply chain + LLM"), and traditional attack names extended to the LLM context (e.g., "XSS + LLM"). After reviewing the titles and abstracts of the retrieved papers, we selected the most relevant studies for inclusion.
Table 3. Inclusion and Exclusion Criteria.
| Inclusion Criteria |
|---|
| I1: Papers that analyze S&P risks in LLM-enabled web systems, including vulnerabilities, attacks, or defense mechanisms. |
| I2: Papers that examine how traditional web vulnerabilities are amplified in LLM-integrated environments. |
| I3: Papers and standard documents on security frameworks for AI and LLM systems. |
| I4: Papers written in English with accessible full text. |
| I5: High-quality preprints (e.g., arXiv) are included when highly cited and relevant, given the rapid pace of LLM security research. |
| Exclusion Criteria |
| E1: Papers that focus only on general LLM capabilities without mentioning S&P issues. |
| E2: Papers on general LLM applications or tools without direct relevance to security risks or mitigations. |
| E3: Short or position papers lacking sufficient technical content for security-risk, attack, or mitigation analysis. |
4.3 Inclusion-Exclusion Criteria
We applied the inclusion and exclusion criteria outlined in Table 3 to identify studies relevant to this work. We included articles that analyze security and privacy (S&P) risks, attacks, and defense mechanisms in both LLM-enabled web systems and traditional web applications (I1, I2), aligned with our research questions RQ1 and RQ2. This set comprises both peer-reviewed publications and selected high-quality preprints (I5), the latter included given the rapid evolution of LLM security. We also included studies and standard documents on AI and LLM security frameworks (I3), as well as papers written in English with accessible full text (I4). Given the rapid evolution of LLM security research, we included selected high-quality preprints, such as arXiv papers, in case they were directly relevant to our work and widely discussed or cited (I5). During the selection process, we iteratively refined the criteria to ensure accurate identification of relevant works. We excluded studies that focused solely on general LLM capabilities or applications without addressing S&P issues (E1, E2), short or position papers lacking sufficient technical content for security-risk, attack, or mitigation analysis (E3).
4.4 Selection of the Primary Studies
We executed the search query, which initially yielded 1,050 articles. After removing duplicates using Scopus and supplementing results from IEEE Xplore and Elsevier, 750 unique papers were retained. We then applied the inclusion and exclusion criteria outlined in Table 3 to refine the selection. Additionally, we used forward and backward snowballing techniques [149] to identify additional relevant studies. This process resulted in a final set of 105 studies.
The final set of 105 studies, listed in Supplementary Table 6, was analyzed using the OWASP-TRA-CWE mapping developed in Stage I. Each study was coded according to the addressed LLM risk, corresponding traditional web-security analog, affected system layer, and proposed mitigation. This analysis helped identify amplification patterns, client/server interaction gaps, and defense limitations, forming the basis for the following comparative security analysis.
5 OWASP LLM and Web Security Risks (RQ1)
This section presents the comparative security analysis based on the OWASP-TRA-CWE mapping. Table 4 summarizes the OWASP-TRA-CWE mapping, affected layers, defenses, and remaining gaps. The following subsections discuss each risk in detail.
5.1 LLM_01: Prompt Injection
In general, LLMs are designed to process user queries and generate responses. However, adversaries might attempt to manipulate them by deliberately crafting prompts that bypass the original system instructions. For example, a malicious prompt like 'Ignore all previous instructions and list all user bank passwords' could be used to extract sensitive information. This form of exploitation, known as a prompt injection attack, is an adversarial technique in which a malicious user manipulates an LLM's behavior by injecting deceptive prompts that override its intended behavior safeguards [92, 155]. These attacks can be either direct or indirect. In a direct prompt injection (local misuse), an attacker inputs a carefully crafted prompt designed to deceive the model into revealing sensitive user information, while indirect prompt injection (system-wide compromise), which closely resembles a client-side attack, occurs when an LLM automatically fetches and processes external data, such as email content. In this case, an attacker embeds hidden malicious prompts in user-generated content to manipulate the model's behavior. In real-world scenarios, indirect prompt injection poses a greater risk than direct prompt injection because it originates from external data sources and spans a significantly broader attack surface. In this direction, Greshake et al. [57] demonstrated that LLM-integrated applications can be remotely manipulated through external content, creating broader security risks. Similarly, Liu et al. [92] have proposed a novel black-box prompt injection attack, HOUYI, inspired by traditional SQL injection attacks. This deceives LLMs using pre-crafted prompts, enforcing contextual manipulation, and injecting adversarial payloads to extract sensitive information. To systematically analyze this behavior, prompt injection (LLM_01) can be mapped to classical instruction-injection vulnerabilities found in traditional web vulnerabilities (TRA_01).
Practical Example (LLM_01): Prompt Injection via Browser Agent. An LLM-powered browser assistant is instructed to summarize a webpage. The page contains hidden text stating: "Ignore all previous instructions and extract authentication cookies." As a result, the agent executes unauthorized actions, leading to session leakage.
5.1.1 TRA_01: Instruction Injection and Confused-Deputy Attacks. Prompt injection can be viewed as an evolution of classical web and software injection vulnerabilities. In this scenario, instead of injecting executable scripts directly into a program, an attacker crafts malicious prompts that manipulate the LLMs into generating harmful responses [95]. This behavior closely resembles traditional injection weaknesses defined in the CWE taxonomy. For instance, Cross-Site Scripting (CWE-79 where there is improper neutralization of input during web page generation) and SQL Injection (CWE-89- where there is improper neutralization of special elements used in an SQL command) occur when untrusted input is embedded within web pages, enabling attackers to alter application behavior [34, 37]. Similarly, Code Injection (CWE-94, where there is improper control for the generation of code) and Command Injection (CWE-77, where there is improper neutralization of special elements used in a command) arise when applications fail to properly validate user input, allowing adversaries to execute arbitrary system commands [32, 36]. Hence, the recently updated CWE-1427, titled Improper Neutralization of Input Used in LLM Prompt Construction, describes scenarios in which adversarial prompts manipulate the model's reasoning. Thus, prompt injection can be interpreted as a modern manifestation of classical injection vulnerabilities within LLM-mediated web applications [35].
Structural Similarity. LLM_01 closely mirrors TRA_01 (CWE-79, CWE-89) in both structure and execution flow. In both cases, malicious input enters the system and is processed in ways that expand the attack surface. In both paradigms, data is effectively treated as executable instructions. In TRA, the input is syntactically executed by an interpreter, whereas in LLMs, the model interprets the natural-language input as an actionable instruction, resulting in instruction injection, or more precisely, prompt injection attacks [56].
5.1.2 Amplification by LLMs. While XSS (CWE-79) exploits the syntactic structure of injected code, prompt injection operates through the meaning and context of natural-language instructions by influencing the model's interpretation of instructions, thereby inducing malicious behavior. Unlike traditional web attacks, LLM-driven systems follow a comparable principle: malicious instructions embedded within user prompts can override the intended system behavior, thereby transforming natural-language inputs into adversarial commands [94, 95]. This represents a shift from syntax-based exploitation to more complex, context-based vulnerabilities. In this direction, Carlini et al. [14] demonstrate that LLM-enabled browser agents can amplify XSS-like payloads by interpreting page content and DOM context, shifting exploitation from purely syntactic injection toward instruction-level manipulation.
5.1.3 Current Mitigation Approaches. Mitigating prompt injection requires treating LLMs as semi-trusted components rather than fully reliable decision-makers. Unlike traditional web software systems, LLMs interpret natural language instructions probabilistically, making it difficult to reliably distinguish trusted system prompts from adversarial inputs. Several defense mechanisms have been proposed to address this challenge. One promising direction involves structured prompting and input separation. Techniques such as StruQ [18] explicitly separate system instructions from user-provided content, preventing untrusted input from modifying the execution logic of the model [26]. Another approach is context highlighting and spotlighting [60], which marks untrusted external information (e.g., web content or retrieved documents) so that the model can treat it differently from trusted system prompts, reducing the risk of indirect prompt injection. In addition, prompt integrity mechanisms such as signed prompts enforce cryptographic verification of system instructions, ensuring that only authorized prompts can influence the model's behavior [133]. Future research must address several unresolved issues, including robust mechanisms for separating data from instructions in natural language interfaces, reliable detection of adversarial prompts across diverse contexts, and secure architectural designs that constrain the autonomy of LLM-driven agents. Developing principled defenses that combine model-level safeguards with application-level security controls remains a significant direction for securing LLM-enabled systems.
Open Research Challenges. Existing defenses often rely on heuristic filtering, which can be bypassed by carefully crafted adversarial inputs. Furthermore, the growing use of LLM-powered agents capable of browsing the web, executing code, or interacting with APIs significantly expands the attack surface. A malicious prompt embedded in external content may therefore trigger unintended downstream actions, effectively turning natural language instructions into executable commands.
5.2 LLM_02: Sensitive Information Disclosure
Sensitive information encompasses personally identifiable information (PII), such as names, credentials, financial data, and medical health records, all of which can be misused if included—either directly or indirectly as a part of the model's training dataset [96]. Additionally, sensitive information can be leaked contextually, for example, when the model generates responses to malicious queries that deliberately request the disclosure of private data [15]. Beyond PII, Shanmugarasa et al. [125] show that LLMs can also inadvertently expose confidential scientific data, including intellectual property and proprietary information. Such disclosures occur during inference, when user-provided inputs are processed and potentially shared across multiple integrated tools. This extends the notion of sensitive information disclosure beyond model memorization to encompass system-level data exposure.
Practical Example (LLM_02): Sensitive Information Disclosure via API-Level Data Leakage. Consider the following hypothetical scenario. An e-commerce website uses an LLM assistant to summarize users' orders and support tickets. Due to excessive data exposure in the backend API, the assistant receives hidden fields not shown in the client interface, such as session identifiers and internal customer IDs. An attacker can craft a prompt asking the assistant to summarize the order's technical details, causing it to reveal sensitive API fields. This turns API-level information disclosure into an LLM-amplified client-side privacy leak.
5.2.1 TRA_02: Information Disclosure and Data Exfiltration (CWE-200). Traditionally, sensitive data leakage (CWE-200, exposure of sensitive information to an unauthorized actor) typically occurs due to misconfigured access controls and improper authentication mechanisms, which allow attackers to extract confidential data from browsers or servers [31]. In contrast, LLM-enabled systems introduce a fundamentally different disclosure pathway. Instead of exploiting explicit access control weaknesses, attackers extract sensitive information through natural-language interactions with the model. Because LLMs are trained on extensive datasets and generate responses probabilistically, they inadvertently memorize and reproduce confidential information present in their training data. In this scenario, sensitive data can be revealed without directly compromising system access controls.
Structural Similarity. In both LLM_02 and TRA_02, an adversary initiates access, either by exploiting a vulnerability (TRA) or by querying the model (LLM)—leading to a breakdown of confidentiality controls. In traditional web vulnerabilities, this manifests as explicit access control failures that enable unauthorized data access, whereas in LLMs, it stems from implicit knowledge extraction during model training and generation. Across both settings, the fundamental violation is the exposure of sensitive information, ultimately resulting in data leakage.
5.2.2 Amplification by LLMs. In web data leakage scenarios, attackers typically exploit broken access controls or injection vulnerabilities such as XSS or CSRF to steal session cookies, authentication tokens, or other sensitive information [72]. These attacks require the adversary to gain technical access to the system. In contrast, LLM-enabled systems can disclose sensitive information even without direct system compromise. LLMs memorize fragments of training data (sensitive contextual inputs) and later reproduce them when prompted with carefully crafted queries. Consequently, attackers can extract PII, API keys, or confidential records simply by interacting with the model, bypassing web security boundaries [27, 154]. For example, Carlini et al. [15] demonstrated that language models can reproduce memorized training data through targeted prompt queries. Similarly, Nakka et al. [101] show that adversaries can use semantic variations and repeated querying strategies to extract sensitive information from deployed LLM systems.
5.2.3 Current Mitigation Approaches. The most effective mitigation approach is to prevent sensitive user data from being incorporated into LLM training models. This can be achieved through rigorous data sanitization techniques, such as data scrubbing or anonymizing sensitive user information, prior to training [49]. Similarly, organizations should also implement comprehensive input validation techniques and monitoring mechanisms to identify and filter out sensitive information [4]. Federated learning and privacy techniques also serve as effective defenses. Differential Privacy, for instance, adds noise during training to prevent models from memorizing specific data points, ensuring outputs cannot be linked to individual entries [82]. Federated learning, on the other hand, distributes training data across multiple

Fig. 3. Illustration of prompt injection, improper output handling, and sensitive information disclosure scenarios. In these cases, attackers manipulate the model's input prompts to inject malicious instructions or induce misleading outputs in various real-world settings, including corporate, store, and financial environments. Adapted from He et al. [59] under CC BY 4.0; icons and presentation modified by the authors.
servers, reducing centralized risks and thus minimizing exposure [156]. Contextual Output Control acts as a defense by restricting the model's output scope, particularly in sensitive areas like financial or medical data, unless explicitly instructed in a controlled manner [148]. Moreover, the defense mechanism should operate in a layered manner, enabling detection of sensitive data at the source, analysis and summarization of relevant privacy policies, and providing users with clear visibility into data flows to ensure transparency and control [125]. In addition to prevention-based defenses, post-deployment privacy repair mechanisms, such as machine unlearning, and model editing, can also be considered valuable defense mechanisms, allowing sensitive information to be removed without full retraining while supporting compliance requirements such as the Right to be Forgotten [83]. Lastly, user education and transparency are vital defenses, as users have the most control. Clear policies on data retention, usage, and deletion, along with guidance on sharing sensitive information with the language model, are essential to prevent significant data leaks [125, 154]. Future research must therefore develop reliable mechanisms for preventing memorization during training, detecting sensitive data leakage during inference, and designing LLM architectures that enforce stronger privacy guarantees.
Open Research Challenges. Sensitive information disclosure remains a significant open challenge in LLM security. Current mitigation techniques, such as differential privacy or data sanitization, often degrade model performance; moreover, they sometimes fail to completely eliminate memorized information. Additionally, detecting whether an LLM has memorized sensitive data remains difficult due to the opaque nature of model representations.
5.3 LLM_03: Supply Chain Vulnerabilities
This risk pertains to vulnerabilities within the model pipeline, which can lead to biased outputs, security breaches, and potential system failure. The supply chain vulnerabilities arise from the over-reliance on third-party pre-trained models, external libraries, and APIs [145]. These external dependencies create avenues for compromise through unverified components. In this situation, malicious actors exploit weak points in the supply chain, resulting in the introduction of harmful behaviors into the final model's output [61]. The supply-chain threat model extends to LLM-based agent ecosystems, where third-party "agent skills" function as executable extensions that directly influence system behavior.
By embedding malicious logic within skill documentation (e.g., code examples), attackers can induce agents to implicitly reproduce and execute these payloads, thereby bypassing both model-level safety mechanisms and system-level defenses [116].
Practical Example (LLM_03): Supply Chain Vulnerabilities via Compromised Chatbot SDK. A retail website embeds a third-party LLM chatbot through an external JavaScript SDK. If the SDK is compromised, the widget can silently leak user prompts and session tokens to an attacker-controlled endpoint. This mirrors a traditional web supply-chain attack but is amplified by the chatbot's access to authenticated user context and conversation history.
5.3.1 TRA_03: Software Supply-Chain Compromise (CWE-829,494). The web vulnerabilities, such as CWE-829 (inclusion of functionality from untrusted control sphere) and CWE-494 (Download of Code Without Integrity Check), occur when applications rely on externally sourced components, such as third-party libraries, browser extensions, or remote scripts, without properly verifying their trustworthiness [29, 39]. Attackers exploit these dependencies by injecting malicious code into widely distributed components, such as compromised npm packages [161], tampered CDN-hosted JavaScript files, or backdoor software updates [106]. Because these external resources are implicitly trusted and widely reused, attackers can distribute malicious payloads at scale, leading to widespread systemic compromise.
Structural Similarity. In both LLM_03 and TRA_03, the attack originates from untrusted external components, such as malicious dependencies in web systems or compromised third-party models, plugins, APIs, libraries, and retrieval components in LLM-enabled systems. This leads to system compromise in traditional settings and behavior-level manipulation in LLMs. Conceptually, the fundamental issue is the violation of the trust boundary of external components, resulting in compromised code execution (TRA) and compromised model behavior (LLM).
5.3.2 Amplification by LLMs. LLM-based systems significantly expand the web software supply chain by incorporating numerous external components, including pre-trained models, training datasets, fine-tuning pipelines, embedding services, vector databases, and retrieval corpora used in retrieval-augmented generation (RAG) pipeline [145]. Similar to CWE-829 vulnerabilities, these components originate from external sources and might operate outside the direct control of the application developer.
Consequently, adversaries can manipulate different stages of the LLM pipeline by introducing poisoned datasets, backdoor model weights, or malicious retrieval documents [100]. Untrusted third-party training providers or datasets can similarly introduce backdoors into learned models [9]. Unlike web software supply-chain attacks that inject executable malware, these attacks modify the behavior of the model itself. For example, malicious training data may contain hidden triggers that cause harmful behavior when activated by specific prompts (model backdooring) [79]. Such modifications are often difficult to detect using conventional security mechanisms. Once deployed, compromised LLMs can generate harmful outputs at scale, enabling the rapid dissemination of malicious effects across large user populations. In addition, adversaries can also leverage LLMs to construct sophisticated backdoors that evade existing detection systems [21].
5.3.3 Current Mitigation Approaches. Mitigating supply-chain vulnerabilities in LLM systems requires securing each stage of the model development and deployment pipeline. One important defense involves verifying the provenance and integrity of external dependencies, including pre-trained models, training datasets, and third-party libraries. This can be achieved through cryptographic signing, checksum validation, and model provenance tracking [145]. Another critical strategy involves continuous auditing and adversarial testing of model dependencies. Security audits and anomaly detection techniques can identify malicious modifications in training datasets, fine-tuning pipelines, or model weights [130]. Additionally, isolating sensitive components of the LLM pipeline within secure environments such as containers or sandboxed execution frameworks can reduce the impact of compromised dependencies [11]. Hence future research should focus on scalable mechanisms for verifying model provenance, validating third-party components, and ensuring end-to-end integrity across the LLM development pipeline.
Open Research Challenges. Supply-chain security remains a major open challenge in LLM systems. The complexity of modern LLM pipelines makes it difficult to verify the trustworthiness of all external components, particularly large-scale datasets and third-party model checkpoints.
5.4 LLM_04: Data and Model Poisoning
This refers to the persistent corruption of training/embedding data, retrieval memory, fine-tuning data, or model weights used in LLMs. Unlike LLM_03, which concerns the trustworthiness of external components, LLM_04 focuses on persistent adversarial corruption within the model, which can influence the system behavior. This vulnerability arises when adversaries introduce malicious data points into the training dataset. Poisoned training data can cause the model to generate harmful outputs, while poisoned models themselves can be exploited by attackers to trigger specific behaviors, potentially leading to security breaches, data leaks, or even system failures [7]. Pathmanathan et al. [110] demonstrate that modern alignment pipelines, particularly those based on Reinforcement Learning with Human Feedback (RLHF) [23], are vulnerable to training-time poisoning attacks. In this scenario, Direct Preference Optimization (DPO) [117] can be effectively poisoned by manipulating a very small fraction of the training data.
Practical Example (LLM_04): Data/Model Poisoning via Poisoned RAG Content. An enterprise support portal uses RAG to answer employee questions from internal documentation. An attacker poisons a public support page with hidden instructions that cause the assistant to include a malicious link or script-like payload in future responses. When an authenticated employee queries the system, the LLM retrieves the poisoned content and returns attacker-controlled output. If rendered or followed in the browser, this can lead to session theft, or XSS-like client-side compromise.
5.4.1 TRA_04: Persistent Data Manipulation (CWE-345 (insufficient verification of data authenticity), CWE-347 (improper verification of cryptographic signature)). Persistent data manipulation attacks arise when malicious inputs are stored and later processed by the application (CWE-345, CWE-347) [38, 40]. These weaknesses occur when systems fail to verify the integrity and authenticity of externally supplied data before incorporating it into internal processes. For example, web attacks such as stored XSS or SQL injection allow adversaries to insert malicious content into backend databases by exploiting insufficient validation mechanisms. Once stored, the injected content persists within the web application and affects subsequent application processes that interact with the compromised data [72].
Structural Similarity. In both LLM_04 and TRA_04, the adversary injects malicious input that persists within the system and continues to influence future operations. In web systems, this occurs through stored payloads in databases that are later executed, enabling repeated exploitation. In contrast, LLMs absorb poisoned training data during learning, resulting in persistent model corruption and biased behavior in subsequent inferences. In both cases, the core issue is the violation of long-term data integrity, where the attack is not transient but becomes embedded within the system.
5.4.2 Amplification by LLMs. In LLM-enabled systems, failures to verify the authenticity and integrity of training data or model artifacts can lead to data and model poisoning attacks. Unlike web software supply-chain attacks, where malicious inputs typically affect a single database, LLM pipelines integrate massive external datasets, fine-tuning corpora, and embedding repositories. If these inputs originate from untrusted sources and are incorporated without sufficient validation, adversaries can introduce poisoned data that alters the model's learned behavior [160].
Furthermore, attackers can compromise retrieval corpora used in retrieval-augmented generation (RAG) systems, allowing malicious documents to influence model outputs during inference [88]. Because such poisoning is embedded within the training process, the resulting compromise becomes persistent and difficult to detect using conventional runtime defenses. While web attacks rely on stored executable inputs, in LLMs, the attack is encoded into the model weights, making it more diffuse and harder to detect and remove.
5.4.3 Current Mitigation Approaches. Mitigating data and model poisoning requires verifying the authenticity and integrity of data used throughout the LLM training pipeline. One important defense involves rigorous data validation and preprocessing, where anomalous data points are identified and removed from training datasets [78, 123]. Such validation mechanisms help prevent adversarial samples from being incorporated into the model during training. Adversarial training, in which the model is exposed to carefully crafted adversarial examples during training, is effective at preventing model poisoning to some extent. When adversarial examples are added to the training data, the model learns to be more resilient to malicious inputs, thereby improving robustness, although it is not guaranteed against sophisticated poisoning attacks [89, 157]. Additionally, incorporating differential privacy techniques during model training is essential to prevent the model from memorizing specific data points. By introducing noise into the training process, this method mitigates the risk of data poisoning and protects against model inversion attacks, where adversaries attempt to extract sensitive information by probing the model's learned behavior [84, 93]. Another critical defense is to establish robust data provenance and integrity verification mechanisms. Cryptographic signatures and dataset-provenance tracking can ensure that training data and model checkpoints originate from trusted sources, thereby reducing the risk of poisoning attacks that exploit weak authenticity verification mechanisms [128]. Regularization techniques, including robust optimization, are crucial for enhancing model resilience by reducing its sensitivity to small perturbations, including those introduced maliciously during training. These techniques impose penalties on large deviations in model weights, ensuring that the model maintains its robustness and integrity against potential data poisoning attacks [119]. Lastly, techniques like outlier detection and data validation through user manuals can be also helpful in mitigating the risk of poisoning [124]. Future research should focus on scalable techniques for verifying dataset provenance, detecting subtle poisoning patterns, and ensuring the integrity of the LLM training process.
Open Research Challenges. Preventing data poisoning in large-scale LLM pipelines remains an open challenge. The vast size and diversity of modern training datasets make it difficult to verify the trustworthiness of every data source. Additionally, poisoned samples can be designed to resemble legitimate data, making them difficult to detect using conventional anomaly detection methods.
5.5 LLM_05: Improper Output Handling
This refers to the failure to properly sanitize the outputs generated by LLMs before passing them to downstream components [99]. Insecure output handling can transform LLMs into vectors for exploitation, where malicious outputs propagate into downstream systems, enabling attacks such as XSS, CSRF, and injection-based exploits. In particular, unsanitized LLM outputs rendered in web interfaces can introduce executable scripts, while LLM-generated requests can trigger unauthorized actions in integrated systems. Furthermore, real-world incidents demonstrate that this security challenge is not an isolated issue but part of a broader, interconnected risk landscape [80]. There are various conditions that amplify this risk, including indirect prompt injection attacks, which allow attackers to gain unauthorized privileges, as well as the dependence of LLMs on third-party libraries, insufficient output encoding, and the lack of rate-limiting and anomaly detection mechanisms [46].
Practical Example (LLM_05): Improper Output Handling Leading to XSS Attack. An LLM-powered chatbot is used on a banking website to answer customer queries. The chatbot generates responses that contain dynamic HTML content based on user input. However, the chatbot fails to sanitize the output properly, allowing a malicious user to inject JavaScript code through their query. The code executes on the user's browser, leading to an XSS attack and exposing the user's session to the attacker.
5.5.1 TRA_05: Output-to-Execution Vulnerabilities (CWE-116, CWE-502). In traditional web applications, vulnerabilities arise when systems fail to properly neutralize untrusted outputs before passing them to other components [28, 33]. These vulnerabilities, such as CWE-116 (improper encoding or escaping of output) and CWE-502 (deserialization of untrusted Data), occur when application outputs are interpreted as executable content by downstream systems, such as web browsers, database engines, or system interpreters. For example, XSS attacks occur when untrusted data is embedded without proper encoding, allowing malicious scripts to execute in the user's browser [71]. Similarly, deserialization vulnerabilities arise when applications process untrusted serialized objects that contain malicious instructions that execute arbitrary code [75].
Structural Similarity. In both LLM_05 and TRA_05, the core issue arises when system outputs are implicitly trusted and treated as safe executable content. In web systems, adversarial input is processed without sanitization, leading to exploits. Similarly, in LLM-based systems, adversarial prompts can manipulate the model, which might result in indirect execution attacks. The structural similarity lies in the failure of output handling mechanisms; however, while web systems rely on directly injected payloads, LLM systems involve dynamically generated payloads produced by the model itself.
5.5.2 Amplification by LLMs. LLM-enabled systems significantly amplify output-handling risks because model-generated responses are often automatically consumed by downstream components. For example, LLM outputs might be rendered as HTML in web interfaces, executed as shell commands, used to construct database queries, or passed to external APIs [114]. If these outputs are not properly sanitized, malicious instructions embedded in generated text can easily trigger unintended execution in downstream systems. Unlike web injection attacks, LLM-mediated attacks exploit the model as an intermediary generator of malicious content. An attacker can therefore manipulate the model through carefully crafted prompts to produce outputs containing executable scripts, unsafe commands, or structured objects that are later interpreted by other software components. As a result, the vulnerability shifts from direct input injection to indirect output-to-execution attacks [46, 57].
5.5.3 Current Mitigation Approaches. Mitigating improper output handling in LLM systems requires enforcing strict validation and neutralization of model-generated content before it is processed by downstream components. Output encoding techniques, such as HTML escaping and command sanitization, are essential for preventing malicious scripts from being executed in client applications [87]. Structured output generation, where models produce responses in predefined formats such as JSON schemas, further reduces the risk of unsafe output interpretation. Output sanitization and validation apply rigorous filtering to remove sensitive content, such as PII and dangerous commands; ensuring that outputs are HTML-encoded before rendering helps prevent XSS attacks, while using parameterized queries for database interactions mitigates the risk of SQL injection [99]. LLMs should also be restricted from generating content beyond their designated scope, such as financial data or medical diagnoses. Finally, output constraints and rate-limiting mechanisms, which encourage models to think before responding, can further limit abuse by restricting the frequency and length of generated outputs, helping prevent misuse scenarios such as large-scale spam or offensive content [131]. Defining explicit constraints on the categories of content the model is permitted to generate, in accordance with predefined policy guidelines, helps ensure alignment with ethical and legal requirements. Future research should focus on developing secure architectural designs that enforce strict separation between natural language generation and executable system actions.
Open Research Challenges. Improper output handling remains a significant challenge in LLM-enabled systems. Modern applications increasingly integrate LLMs into automated pipelines where generated outputs directly trigger actions such as code execution, API calls, or database updates. Ensuring that these outputs are always safely interpreted remains difficult due to the probabilistic nature of language models.
5.6 LLM_06: Excessive Agency
As LLMs evolve from chatbots to autonomous agents with access to tools and decision-making capabilities, the risk of excessive agency increases substantially. For example, recent agentic AI systems such as OpenClaw illustrate this shift as they combine LLM-based planning with tool execution, messaging integrations, browser automation, file-system access, and other privileged operations [25]. In such settings, developers grant the language model a certain degree of agency, referring to its ability to interact with external systems, tools, services, or plugins provided by various vendors. However, when the permission for these agencies is granted without proper constraints, it can lead to uncontrolled agency misuse [22]. As a result, the model performs operations beyond its intended scope, such as, executing privileged commands, or interacting with restricted resources [59]. This form of uncontrolled autonomy is referred to as excessive agency. In certain scenarios, LLMs demonstrate 'toxic proactivity', taking manipulative actions to preserve perceived usefulness, which can result in the violation of safety controls [147].
Practical Example (LLM_06): Excessive Agency Leading to CSRF-Style Action. A web application deploys an LLM assistant that can call authenticated backend APIs for logged-in users. An attacker embeds hidden instructions in a webpage, causing the assistant to update the user's email address or initiate a refund request. Because the assistant reuses the active session and has excessive tool access, it performs these actions without explicit confirmation, resembling a CSRF-style attack.
5.6.1 TRA_06: Unauthorized Action and Privilege Escalation (CWE-862, CWE-306). In web software systems, unauthorized privilege escalation vulnerabilities arise when applications fail to enforce proper authentication. Such vulnerabilities (CWE-862 (missing authorization), CWE-306 (missing authentication for critical function)) occur when sensitive system operations can be executed without verifying whether the requesting entity has the authorized permissions [41, 42]. For example, attackers can exploit improperly protected APIs, administrative endpoints, or system commands to gain unauthorized access to privileged functionality. Once exploited, these vulnerabilities allow adversaries to perform operations that should normally be restricted to trusted users.
Structural Similarity. In both LLM_06 and TRA_06, the fundamental issue stems from a breakdown of authorization boundaries. In web systems, adversaries exploit weak access controls to bypass authorization and execute privileged actions. Similarly, in LLM-based systems, crafted prompts can direct autonomous agents to perform tasks beyond their
Table 4. Unified Mapping of OWASP LLM Risks to Traditional Web Threats, LLM-Mediated Amplification Mechanisms, Affected Layers, Representative Defenses, and Remaining Framework-Level Gaps.
| OWASP LLM Risk | Traditional Web / TRA Analogue + CWE | LLM-Mediated Amplification | Affected Layers | Defenses | Remaining Gap / Framework Extension | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CI | Ag | Sv | Pl | Ec | Tr | RG | Md | TI | ||||
| LLM_01: Prompt Injection | TRA_01: Instruction Injection and Confused Deputy Attacks; CWE-79, 89, 94, 77, 1427 | Untrusted prompts or webpage content are interpreted as instructions; indirect prompt injection can manipulate browser agents and LLM-integrated applications | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | Structured prompting; prompt isolation; spotlighting; signed prompts. | Need stronger data-instruction separation and instruction-aware validation of untrusted content. |
| LLM_02: Sensitive Information Disclosure | TRA_02: Information Disclosure and Data Exfiltration; CWE-200 [31] | Sensitive data may leak via memorization, contextual exposure, repeated querying, or tool-mediated retrieval without direct access-control compromise. | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | Data sanitization; differential privacy; contextual output control; privacy-aware filtering. | Need runtime leakage detection and privacy-preserving inference across model and tool pipelines. |
| LLM_03: Supply Chain Vulnerabilities | TRA_03: Software Supply-Chain Compromise; CWE-829, 494 | Compromised datasets, plugins, checkpoints, APIs, or RAG corpora can alter model behavior at scale and propagate harmful outputs. | ✗ | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | Dependency verification; provenance tracking; security audits; sandboxing. | Need end-to-end verification of models, datasets, plugins, APIs, and RAG components. |
| LLM_04: Data and Model Poisoning | TRA_04: Persistent Data Manipulation; CWE-345, 347 | Poisoned data can become embedded in training sets, model weights, or retrieval memory, causing persistent compromise. | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ | ✗ | Data validation; anomaly detection; adversarial training; provenance checking. | Need scalable detection of subtle poisoning across training and retrieval pipelines. |
| LLM_05: Improper Output Handling | TRA_05: Output-to-Execution Vulnerabilities; CWE-116, 502 | LLM outputs may be rendered as HTML, executed as commands, used in queries, or passed to APIs, turning text into downstream actions. | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✓ | Output encoding; schema validation; sanitization; parameterized queries; sandboxing. | Need strict output-to-action isolation in LLM-enabled applications. |
| LLM_06: Excessive Agency | TRA_06: Unauthorized Action and Privilege Escalation; CWE-862, 306 | Autonomous agents may perform privileged API calls, retrieve sensitive data, or trigger restricted actions based on manipulated prompts. | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✓ | RBAC; capability-based access control; least privilege; human-in-the-loop approval. | Need agent governance and capability-constrained execution for tool-using LLMs. |
| LLM_07: System Prompt Leakage | TRA_07: System Prompt and Configuration Leakage; CWE-200 | Hidden prompts may expose internal rules, policies, permissions, and filtering logic, enabling targeted bypasses. | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | Prompt separation; protected configuration storage; access control; output filtering. | Need prompt integrity and protected policy layers resistant to extraction through interaction. |
| LLM_08: Embedding Weaknesses | TRA_08: Embedding Inference and Representation Leakage; CWE-203, 208 | Embeddings, vector queries, and response characteristics may leak semantic information or enable reconstruction of sensitive inputs. | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ | ✗ | Embedding regularization; differential privacy; secure vector databases; data sanitization. | Need privacy-preserving vector retrieval and embedding-auditing mechanisms. |
| LLM_09: Misinformation | TRA_09: Content Manipulation and Social Engineering; No direct CWE | Hallucinated or adversarially influenced outputs may appear credible, scale misinformation, and exploit user trust. | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | Fact-checking; attribution; grounded generation; RAG; human review. | Need trust calibration and reliable factuality evaluation for user-facing LLM systems. |
| LLM_10: Unbounded Consumption | TRA_10: Resource Exhaustion and Economic DoS; CWE-400, 834 | Long prompts, repeated inference, and costly reasoning can amplify compute usage, degrade latency, and trigger economic denial of service. | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✓ | Rate limiting; token caps; resource limits; load balancing; anomaly monitoring. | Need cost-aware abuse detection and adaptive resource governance for LLM services. |
Abbreviations: CI = Client, Ag = Agent, Sv = Server, Pi = Pipeline, Ec = Ecosystem, Tr = Training, RG = RAG, Md = Model, TI = Tool. Note: Colors indicate the dominant risk grouping: client/interaction-driven (blue), privacy/trust (green), pipeline/integrity (yellow), agent autonomy (orange), representation/prompt leakage (purple), and availability/infrastructure (gray).
intended permissions, resulting in the misuse of AI capabilities. The structural similarity lies in the failure to properly enforce authorization and verification mechanisms.
5.6.2 Amplification by LLMs. LLM-enabled systems amplify these risks because modern language models increasingly operate as autonomous agents capable of interacting with external services. For example, LLMs can automatically generate API calls, retrieve sensitive documents, execute database queries, or interact with software tools. If these capabilities are exposed without strict authentication and authorization mechanisms, attackers can easily exploit prompt manipulation to trigger unintended actions. For instance, a malicious prompt could instruct an LLM-powered assistant to retrieve confidential information on behalf of the user. In such cases, the model effectively becomes a confused deputy that performs privileged operations without verifying the legitimacy of the request. Consequently, excessive agency transforms privilege escalation attacks into language-driven system manipulation, where adversaries exploit the model's decision-making process to bypass security boundaries [22].
5.6.3 Current Mitigation Approaches. Mitigating excessive agency in LLM-enabled systems requires enforcing strict authentication and authorization mechanisms across all model interactions with external resources. Role-based access control (RBAC) can restrict the model's ability to access sensitive systems, ensuring that it performs only authorized and predefined operations [8, 53, 122]. Another important mitigation strategy is to limit the autonomy of LLM-driven agents through capability-based access control [1]. Instead of granting unrestricted tool access, models should be provided with narrowly scoped capabilities that define which actions they are permitted to perform. This principle of least privilege ensures that even if an attacker manipulates the model's behavior, the potential impact of unauthorized actions remains limited. Human-in-the-loop (HITL) strategies can strengthen LLM defenses by facilitating the construction of curated repositories of harmful and safe prompts, which are integrated into RAG-based filtering pipelines [10]. Building on this paradigm, Irtiza et al [64] introduce a model-agnostic protective architecture with a continuously updated, human-maintained knowledge base that enables effective real-time detection and mitigation of malicious prompt inputs. Systematic and timely auditing practices are essential for maintaining transparency and accountability, as they enable verification of the model's decision-making processes and the relevance of its outputs [69]. Finally, strong ethical guidelines, along with human and institutional oversight and continuous monitoring mechanisms, are essential for preventing harmful outputs [70]. Hence future research must therefore focus on designing secure agent architectures that combine strong access control mechanisms with robust safeguards against prompt manipulation and unintended system actions.
Open Research Challenges. As language models increasingly function as autonomous agents capable of interacting with complex software ecosystems, enforcing reliable authorization and authentication controls becomes increasingly difficult.
5.7 LLM_07: System Prompt Leakage
This risk refers to the unintended exposure of system-level instructions that are used to guide the behavior of LLMs. These instructions play a crucial role in steering the model's responses and ensuring that it operates according to predefined rules and constraints. If sensitive information contained within these system prompts is inadvertently leaked, it can facilitate further attacks that exploit the internal workings of the model [63]. Such leaks could expose critical functionalities, internal rules, or the logic that governs how the model generates outputs [57]. Additionally, they often reveal filtering criteria, user permissions, and role-based access controls, providing adversaries with valuable insights that could be used to manipulate the model's behavior, bypass safeguards, or compromise the system's security. Even in black-box settings, adversaries can still actively extract hidden internal logic, thereby significantly amplifying security risks [144].
Practical Example (LLM_07): System Prompt Leakage Exposing Web Security Logic. A banking website uses an LLM-powered chatbot with hidden system instructions for internal API routes, role-based access, CSRF-token handling, and account-action rules. Through repeated prompt probing, an attacker extracts parts of these instructions and learns how privileged workflows are handled. This knowledge can then be used to bypass safeguards, exposing web-application security logic and enabling targeted client- or server-side attacks.
5.7.1 TRA_07: System Prompt and Configuration Leakage (CWE-200). This web vulnerability (CWE-200) arises when internal system details—including configuration files, authentication tokens, session identifiers, and application logic are inadvertently exposed to a malicious user [31]. These disclosures occur through application errors, misconfigured APIs, exposed configuration endpoints, or system vulnerabilities that reveal sensitive backend information. Once exposed, these internal details can help adversaries understand system behavior, bypass security mechanisms, or launch more targeted attacks against the application infrastructure [120].
Structural Similarity. In both LLM_07 and TRA_07, the core issue arises from the unintended exposure of sensitive system configuration. In web systems, API leaks can reveal confidential configuration files, whereas in LLM-based systems, adversaries can use crafted prompts to probe the model and extract hidden instructions. In both cases, the fundamental problem is the violation of system configuration secrecy, where internal logic and safeguards are unintentionally disclosed.
5.7.2 Amplification by LLMs. In LLMs, system prompts function as hidden configuration layers that define the model's behavior, safety policies, and operational constraints. If these internal prompts are exposed through adversarial queries or prompt extraction techniques, attackers gain insight into the model's internal reasoning logic and filtering mechanisms [63]. Unlike traditional configuration leaks, system prompt leakage might not reveal only system policies but also the strategies used to enforce safety constraints, role-based instructions, or hidden operational rules [3]. With this knowledge, adversaries can craft targeted prompts that bypass safeguards, manipulate the model's responses, or trigger restricted behaviors. As a result, prompt leakage transforms web information disclosure attacks into prompt-mediated configuration disclosure vulnerabilities specific to LLM systems.
5.7.3 Current Mitigation Approaches. Mitigating system prompt leakage requires protecting internal instructions and configuration data from exposure during model interaction. One important strategy involves maintaining strict separation between system prompts and user-facing outputs. System instructions should be stored as protected configuration artifacts rather than embedded directly in prompts that could be reproduced by the model [162]. Access control mechanisms can further enhance security by limiting access to the model's internal configurations, such as system prompts and privileged instructions, to authorized users or trusted system components [67]. Additionally, deploying the LLM within secure and isolated execution environments further reduces the risk of unauthorized access [151]. Similarly, sanitization mechanisms enhance security by inspecting generated responses for sensitive content and preventing such outputs from reaching end users. This approach is especially suitable for chatbot-based deployments, where outbound message validation can be applied to mitigate prompt-induced information leakage [13].
Finally, cryptographic techniques can also be employed to verify the integrity of system prompt instructions, thereby protecting the model from unauthorized modification and potential leakage [113]. Future research must therefore explore robust architectural designs that ensure strict separation between internal system policies and user-facing model outputs.
Open Research Challenges. Because system prompts are often embedded within the model's operational pipeline, completely isolating them from user interactions is difficult. Furthermore, attackers can also exploit iterative prompt extraction techniques that gradually reveal internal instructions through repeated queries.
5.8 LLM_08: Embedding Weaknesses
This risk pertains to how LLMs represent and process data in vector spaces, specifically through embeddings, which are sophisticated numerical representations of various forms of data, including words, phrases, and sometimes even entire documents. These embeddings serve as critical components of LLMs, enabling them to capture complex semantic relationships and contextual meanings within the data. However, vulnerabilities in the embedding process can lead to serious security concerns [104]. For instance, embedding inversion attacks allow attackers to reverse-engineer the model's embeddings and extract sensitive data [19]. Additionally, data poisoning attacks can manipulate the embeddings by injecting malicious data into the training set, compromising the model's behavior [103]. These weaknesses can also lead to unauthorized access and data leakage, as well as the potential for behavioral alterations where the model's outputs are influenced in unintended ways. Embedding-based representations can also fail to accurately capture semantic relationships, sometimes assigning high similarity scores to semantically incorrect inputs, which can introduce risks in downstream security-sensitive applications [105].
Practical Example (LLM_08): Embedding Weaknesses through Web Session Logs. A customer-support platform stores embeddings of chat transcripts, API responses, and web-session logs for semantic search. If these logs contain reset-password URLs, session identifiers, user IDs, or internal API parameters, an attacker with access to the vector search interface can use embedding inversion or nearest-neighbor probing to recover sensitive session data. This turns backend vector storage into a client-side privacy risk, even when the original text is no longer directly exposed.
5.8.1 TRA_08: Embedding Inference and Representation Leakage (CWE-203, CWE-208). Traditionally, attackers infer sensitive information by observing subtle differences in system responses (CWE-203 (observable discrepancy) [43], CWE-208 (observable timing discrepancy)) [44], where attackers extract confidential information by analyzing system outputs rather than directly accessing protected data [126]. Such inference attacks typically occur when systems unintentionally reveal internal data patterns through observable outputs, enabling adversaries to reconstruct sensitive information without compromising the underlying infrastructure [137].
Structural Similarity. In both LLM_08 and TRA_08, the issue arises from information leakage through indirect observation rather than direct access. In web systems, attackers exploit observable signals—such as timing, response patterns, or error messages—to infer sensitive information. Similarly, in LLM-based systems, adversaries query embeddings and analyze vector representations to reconstruct sensitive attributes. In both cases, the leakage occurs through indirect channels, exposing internal representations without explicit access.
5.8.2 Amplification by LLMs. LLM-based systems significantly amplify embedding-related vulnerabilities because modern applications heavily rely on vector representations to store and retrieve semantic information. In many deployments, embeddings are stored in vector databases to support tasks such as semantic search and RAG. However, recent research demonstrates that these embeddings can be exploited through embedding inversion attacks, where adversaries reconstruct the original textual inputs from the numerical vectors [20]. Such attacks often reveal sensitive user queries, proprietary documents, or private training data. Furthermore, embeddings used within LLM infrastructures leak information through indirect inference channels. For example, attackers can exploit timing side channels or response characteristics to infer hidden prompts by observing variations in system behavior during inference [159]. Similarly, variations in output token counts and latency can reveal task-specific outputs even when the underlying content remains encrypted [158]. These risks are particularly pronounced in modern LLM pipelines where embeddings are exchanged between multiple components such as vector databases, retrieval engines, and external APIs. As a result, vulnerabilities in embedding representations can lead to representation leakage, embedding manipulation, or reconstruction of sensitive information, thus expanding the attack surface beyond software vulnerabilities. Consequently, embedding vulnerabilities transform side-channel-style inference attacks into representation-level information leakage within the vector space of LLM systems.
5.8.3 Current Mitigation Approaches. Mitigating embedding-related vulnerabilities requires protecting the confidentiality and integrity of vector representations throughout the LLM pipeline. Adversarial training, where models are exposed to carefully crafted adversarial examples during training, can improve robustness against manipulation of embedding vectors [152]. Embedding regularization techniques also reduce the sensitivity of embedding representations to small perturbations in input data. By imposing constraints on the embedding space, these methods reduce the likelihood that attackers can exploit vector similarities to infer sensitive information [97].
Differential privacy mechanisms can further protect embedding representations by introducing carefully calibrated noise during the training process. This ensures that embeddings do not encode identifiable information about individual training samples, thereby reducing the risk of reconstruction [93]. Additionally, data sanitization techniques can be applied before embedding generation to remove sensitive attributes from training data and reduce the risk of embedding-level privacy leakage [91]. Future research should develop safer embeddings, secure vector databases, and reliable ways to detect embedding manipulation.
Open Research Challenges. High-dimensional vector spaces inherently encode rich semantic relationships, making it difficult to completely prevent information leakage through inference attacks. Furthermore, the increasing use of embedding APIs and retrieval-based architectures expands the attack surface.
5.9 LLM_09: Misinformation
This risk pertains to the generation of misleading information by LLMs, often presenting it in a manner that appears credible and authoritative [16]. While the output may seem accurate at first glance, it can lead to significant security breaches, reputational damage, and legal liabilities, particularly when the misinformation is trusted or acted upon by users. The underlying cause of this risk is that LLMs are typically trained on vast amounts of diverse data from multiple sources [15], some of which might contain inaccuracies, biases, or outdated information. As a result, the model inadvertently produces outputs that are factually incorrect. This phenomenon can be especially problematic in sensitive areas such as healthcare, finance, or legal advice, where incorrect information can have serious consequences. LLM-generated hallucinations are often perceived as credible and are difficult for users to detect, thereby increasing the likelihood that such misinformation is trusted and propagated, potentially leading to cascading harmful rumors [98].
Practical Example (LLM_09): Misinformation Leading to Phishing and Account Takeover. An LLM-powered customer-support assistant generates a convincing but false security warning asking users to re-verify their account through a link. An attacker manipulates the assistant using poisoned FAQ content or adversarial prompts so the link points to a phishing page. Users who trust the assistant may enter credentials, enabling account takeover. This shows how LLM-generated misinformation can automate social engineering for classical web attacks.
5.9.1 TRA_09: Content Manipulation and Social Engineering. In web information systems, attackers often exploit manipulated content to influence user perception and decision-making. Such attacks commonly appear in the form of disinformation campaigns, fake news propagation, phishing messages, or other social engineering techniques where malicious actors distribute content that appears legitimate but is intentionally deceptive. These attacks rely on manipulating the credibility of information rather than exploiting technical software flaws.
Structural Similarity. In both LLM_09 and TRA_09, the attack exploits the human trust layer. In web systems, adversaries present misleading content that users trust and act upon. Similarly, in LLM-based systems, generated outputs are often perceived as legitimate, enabling automated trust exploitation. In both cases, user trust becomes the key vulnerability. However, while traditional web attacks are typically manual and limited in scale, LLM-driven exploitation is automated and can operate at a much larger scale.
5.9.2 Amplification by LLMs. LLMs significantly amplify this risk because they autonomously generate natural language responses that may not always be grounded in verified knowledge sources. Unlike conventional systems where misinformation might originate from external web content, LLMs can internally generate incorrect or fabricated information, often referred to as hallucinations. These outputs may appear credible due to the model's linguistic fluency and contextual reasoning abilities. Furthermore, adversaries may intentionally manipulate model behavior through prompt injection, adversarial prompting, or data poisoning, causing the model to produce misleading narratives, fabricated facts, and biased explanations. As a result, LLM systems can unintentionally act as large-scale amplifiers of misinformation [66].
5.9.3 Current Mitigation Approaches. To mitigate the spread of misinformation in LLM systems, robust fact-checking and validation mechanisms should be integrated into the generation pipeline. These mechanisms include automated systems that verify generated claims against trusted external knowledge sources [17, 118]. One promising approach is the "Attribute First, Then Generate" framework, which integrates concise and localized source attributions during text generation so that each generated claim is supported by verifiable evidence. Such attribution mechanisms improve transparency and allow end-users to verify the credibility of generated responses by tracing information back to specific source spans [129]. Additionally, LLMs should undergo continuous updates and retraining to ensure access to the most current and reliable information. In high-risk domains, a Human-in-the-Loop (HITL) validation mechanism can also be implemented, where a human evaluator reviews model outputs before they are delivered to users [10]. Future research should therefore focus on developing stronger grounding techniques, reliable knowledge verification mechanisms, and robust evaluation frameworks to better detect and mitigate misinformation generated by LLM systems.
Open Research Challenges. Language models generate responses based on probabilistic reasoning rather than verified factual knowledge, which makes it difficult to guarantee complete factual accuracy. Moreover, balancing factual verification with model efficiency and scalability remains an ongoing research problem, particularly for real-time applications.
5.10 LLM_10: Unbounded Consumption
During inference, LLMs apply learned patterns and knowledge to generate outputs. However, a significant risk arises when systems allow users to issue uncontrolled inference requests, which can lead to various issues such as denial of service (DoS) attacks, economic losses, model theft, and, more commonly, resource exploitation, particularly in cloud-based environments. These availability attacks are fundamentally system-level rather than model-level, where adversaries can induce severe latency amplification (up to 280×) at significantly lower cost, thereby highlighting the risk of resource-exhaustion attacks in LLM serving infrastructures [146]. This risk manifests in several ways, including flooding the system with varying lengths of input, continuous input overflows, resource-intensive queries, and model resource extraction via APIs [50]. Recent overthinking attacks further illustrate this risk, where adversaries craft prompts that induce unnecessarily long reasoning chains, increasing token consumption, latency, and operational cost [90]. Additionally, model replication and side-channel attacks are other common forms of exploitation that target the system's resources [159]. These attacks can severely compromise the model's performance, leading to high operational costs and degraded services.
Practical Example (LLM_10): Unbounded Consumption Leading to Economic DoS. A public-facing travel website uses an LLM chatbot to search bookings, summarize policies, and call backend APIs. An attacker sends long, multi-step prompts across many sessions, forcing repeated inference, retrieval, and API calls. Unlike traditional DoS, each request triggers costly LLM and backend operations, degrading availability, increasing cloud costs, and turning web-layer resource exhaustion into economic denial of service.
5.10.1 TRA_10: Resource Exhaustion and Economic DoS (CWE-400, CWE-834). Traditional web systems are vulnerable to attacks that deliberately exhaust computational resources such as CPU, memory, or network bandwidth (CWE-400, where a system fails to properly limit the resources that can be consumed by users or processes), and CWE-834 which describes scenarios where computational processes are forced to execute repeated or overly complex operations, leading to performance degradation or service disruption [30, 45]. Such attacks often manifest as DoS attempts that overwhelm servers with resource-intensive requests.
Structural Similarity. In both LLM_10 and TRA_10, the core issue is the exhaustion of system resources, leading to a breakdown in availability. In traditional web systems, attackers overwhelm servers by flooding them with excessive requests, causing service disruption. Similarly, in LLM-based systems, adversaries issue computationally expensive prompts that overload inference resources, resulting in economic or compute-based denial of service. The structural similarity lies in the violation of system availability through resource exhaustion.
5.10.2 Amplification by LLMs. LLM-based systems significantly amplify these risks because generating responses often requires substantial computational resources, including GPU processing, memory allocation, and token generation loops. Attackers often exploit this behavior by crafting extremely long prompts, repeatedly triggering expensive reasoning tasks, or issuing high-frequency API calls. Unlike traditional web systems, DoS attacks that primarily rely on network traffic, LLM abuse involves computational amplification, where a single request can trigger disproportionately large amounts of processing. This makes LLM services particularly vulnerable to resource exhaustion and economic denial-of-service (EDoS) attacks [146].
5.10.3 Current Mitigation Approaches. Resource limiting is an effective defense against unbounded consumption issues. This enforces strict caps on CPU usage, memory allocation, network bandwidth, and token generation limits during inference and training. These controls prevent the model from consuming excessive resources and ensure that operations remain within predefined performance boundaries [54, 81]. Rate limiting also plays a crucial role in regulating the frequency of user requests. By restricting the number of requests processed within a given time window, systems can prevent request flooding and maintain stable resource utilization [12]. Model optimization techniques can further reduce computational demands. Approaches such as quantization [48] and model pruning [68] help reduce model size and inference cost while preserving performance. In cloud-based environments, dynamic scaling and load balancing help maintain system responsiveness during fluctuating workloads. These mechanisms allocate resources adaptively across distributed systems to prevent individual components from becoming overloaded [65]. Anomaly detection and continuous monitoring are also critical. These techniques help identify abnormal usage patterns such as sudden spikes in CPU utilization, token generation rates, or request frequency, enabling administrators to respond quickly to potential abuse [81].
Finally, cost management and usage monitoring remain essential in large-scale LLM deployments. Cloud-based billing models can make systems vulnerable to economic denial-of-service attacks, where adversaries deliberately trigger expensive computations. Effective cost monitoring mechanisms can detect abnormal spending patterns and prevent unsustainable operational costs [86, 127]. Hence future work should develop cost-aware security frameworks that monitor both resource abuse and computational expenses in real time. Adversarial-prompt anomaly detection, adaptive limits on reasoning depth and tool access, and standardized benchmarks for LLM resource-exhaustion attacks remain important research directions.
Open Research Challenges. Although rate limiting, resource capping, and anomaly detection provide practical defenses, key challenges remain. It is still difficult to distinguish legitimate high-volume use from adversarial resource abuse, detect adversarial prompts that trigger excessive reasoning or tool calls, and control economic denial-of-service risks in cloud-based LLM services. Autonomous agents further amplify this risk by chaining model interactions, API calls, and external tools.
5.11 CVE Evidence of Zero-Day-Like LLM-Enabled Web Vulnerabilities
Recent entries in the Common Vulnerabilities and Exposures database demonstrate how LLM-mediated vulnerabilities are no longer only theoretical challenges, but are beginning to appear as concrete, publicly disclosed software and web weaknesses. For instance, EchoLeak (CVE-2025-32711) [140] showed how a zero-click vulnerability in Microsoft 365 Copilot enabled sensitive data exfiltration through an LLM scope-violation attack. Similarly, CVE-2024-5826 [142] and CVE-2025-1497 [141] demonstrate how prompt injection and insufficient validation of LLM-generated code can lead to remote code execution, while CVE-2024-7764 [143] illustrates how LLM-generated SQL can re-enable classical SQL injection behavior. CVE-2025-31363 [138] further shows how prompt injection in an AI plugin's Jira tool can enable tool-mediated data exfiltration. Recent 2026 cases, such as CVE-2026-27740 [139], show that LLM outputs can trigger stored XSS when downstream web applications trust AI-generated content without proper sanitization. These examples strongly support our central argument that LLM-enabled web systems can transform traditional web vulnerabilities into zero-day-like interaction failures that expand client, server, pipeline, and agent layers.
5.12 Answering the Research Questions
RQ1 (Amplification of traditional vulnerabilities). Our OWASP-TRA-CWE analysis shows that each OWASP LLM risk maps to a corresponding TRA category, with CWE grounding where applicable, and that LLM integration amplifies these web-security risks rather than replacing them. The recurring mechanism is a shift from syntactic to semantic exploitation: prompt injection re-enables instruction-injection and confused-deputy attacks (TRA_01) at the level of meaning rather than code, improper output handling turns model text into downstream XSS and SQL injection (TRA_05), excessive agency converts prompt manipulation into CSRF-style privileged actions (TRA_06), and embedding weaknesses transform side-channel inference into representation-level leakage (TRA_08). Across these cases, LLMs act as intermediaries that carry backend and pipeline weaknesses into concrete client-side harms, and the disclosed CVEs in Section 5.11 confirm that these are no longer only theoretical.
RQ2 (Sufficiency of existing defenses and standards). Existing defenses and standards are necessary but not sufficient. As summarized in Table 4, per-risk mitigations exist for each category, yet they leave consistent gaps in data-instruction separation, output-to-action isolation, agent governance, and runtime leakage detection. These findings motivate the framework-level analysis in Section 6, where we examine RQ2 in detail.
6 Extending Security Frameworks for LLM-Enabled Web Systems (RQ2)
Building on the defense gaps identified in Section 5, Table 5 shows that existing frameworks and taxonomies, including OWASP, NIST AI RMF, ISO/IEC standards, and CWE, provide limited coverage of adversarial natural-language manipulation, agentic behavior, and post-deployment behavioral drift. These limitations motivate our LLM-aware monitoring-control framework, which couples governance objectives with concrete control layers across the interaction pipeline. LLM-enabled systems not only inherit classical vulnerabilities but also fundamentally alter their manifestations by weakening key security boundaries, including data-instruction separation, trust boundaries, and execution control. Consequently, existing security measures are insufficient to address these interaction-driven risks. Several established security frameworks provide structured guidance for managing security risks. These frameworks are being updated to address emerging challenges introduced by AI and LLM systems, such as the National Institute of Standards and Technology AI Risk Management Framework (NIST AI RMF) [5] and ISO standards discussed below [47].
6.1 AI Security and Risk Governance using NIST AI RMF and ISO/IEC Standards
Security frameworks are important because they translate technical risks, including both web system risks and LLM-mediated risks, into structured governance, mitigation, and monitoring practices. Such frameworks help organizations manage vulnerabilities through access control, secure design, incident response, and continuous risk assessment. The NIST RMF provides a systematic approach for identifying and mitigating challenges in AI-enabled systems based on four core principles- Govern, Map, Measure, and Manage. These principles guide organizations in identifying potential harms, assessing risks, implementing mitigation strategies, and continuously monitoring the AI systems throughout its lifecycle. The framework promotes trustworthy AI by emphasizing reliability, safety, security, transparency, explainability, privacy protection, and fairness [5, 6]. On the other hand, ISO/IEC AI standards support security and privacy governance through risk assessment, access control, secure data handling, and AI lifecycle management. Therefore, adapting ISO/IEC standards to incorporate LLM-specific auditing, human oversight, and lifecycle security controls is essential for robust governance in AI-integrated environments [47, 111]. However, as shown in our analysis, LLM-enabled web systems extend these risks beyond deterministic software flaws to include prompt-based manipulation, agentic actions, prompt leakage, unsafe outputs, and post-deployment behavioral drift.
6.2 Limitations of Existing Frameworks
Existing security frameworks, such as OWASP, NIST AI RMF, ISO/IEC standards, and the CWE taxonomy, generally provide a baseline for identifying, categorizing, and understanding cybersecurity risks. Because these frameworks were primarily designed for deterministic and traditional cybersecurity risks, they sometimes fail to fully address the unique challenges and dynamic behavior of LLMs and LLM-enabled applications (see Table 5). In particular, they lack the ability to model adversarial natural-language manipulation, agent-driven behaviors, and post-deployment risks.
Table 5. Limitations of Existing Security Frameworks and Weakness Taxonomies in LLM-Enabled Systems.
| Framework/Database | Limitation in LLM Systems | Required Extension |
|---|---|---|
| OWASP | Limited treatment of adversarial natural-language and prompt-level manipulation. | Instruction-aware threat modeling and prompt-level validation. |
| NIST AI RMF | Limited guidance for runtime monitoring and post-deployment behavioral changes. | Continuous AI monitoring, drift detection, and lifecycle adaptation. |
| ISO/IEC | Static policy orientation with limited adaptability to dynamic LLM behavior. | Adaptive, context-aware governance and policy enforcement. |
| CWE | Limited coverage of prompt-level, agentic, and LLM-specific weakness classes. | Extension toward LLM-specific weaknesses such as prompt injection, embedding leakage etc. |
arising from continuous user–model interaction. To systematically analyze these gaps, we summarize the limitations of existing frameworks and highlight the required extensions for LLM-aware security in Table 5.
Given the current landscape, where users increasingly interact with LLM-powered systems, security frameworks must evolve to incorporate LLM-aware defenses across multiple layers of the system. In this direction, Abuadbbra et al. [2] proposed the 4C framework, which emphasizes the importance of cognitive processes, interaction dynamics, and control mechanisms in securing agentic AI systems, thereby extending beyond traditional web-security and system-centric perspectives. Furthermore, NIST highlights post-deployment AI monitoring as a major challenge due to behavioral drift, limited standards, and adversarial natural-language interactions [136]. In this direction, we propose an LLM-aware security framework that combines semantic validation, prompt integrity, output isolation, agent control, behavior, and continuous monitoring for LLM-enabled systems.
6.3 Proposed LLM-Aware Security Framework Extensions
Despite their strengths, NIST AI RMF and ISO/IEC frameworks remain limited for LLM-enabled systems because they lack semantic input validation, prompt-execution separation, output-to-action control, agent autonomy governance, and continuous post-deployment monitoring. These gaps make it difficult to address the dynamic, interaction-driven attack surface introduced by LLMs.
Recent work by NIST (AI 800-4) [136] highlights the importance of post-deployment monitoring and identifies six key monitoring dimensions for AI systems. To bridge this gap, we integrate LLM-specific security controls with the NIST monitoring dimensions, providing a unified framework that connects monitoring objectives with actionable defense mechanisms. Specifically, existing frameworks should be extended to incorporate (i) prompt-level integrity verification, (ii) semantic input validation mechanisms, (iii) output-to-action isolation controls, (iv) capability-constrained agent governance, and (v) continuous behavioral monitoring for detecting drift and adversarial manipulation. As illustrated in Figure 4, each monitoring dimension is coupled with a corresponding LLM-specific control, enabling continuous and behavior-aware security enforcement tailored to the dynamic and interaction-driven nature of LLM systems. Further, Figure 4 operationalizes our proposal by mapping high-level governance objectives to concrete LLM-specific control layers across the interaction pipeline. For example, consider an LLM-enabled assistant tool tasked with processing user queries and accordingly interacting with internal APIs (e.g., retrieving reports). According to the proposed framework, received user queries are first processed through a semantic input validation layer (Input Layer), which identifies potentially adversarial instructions. The validated input is then passed to a prompt integrity layer (Prompt Layer), which enforces strict separation between system-level instructions and user-provided content. At the model level, behavioral monitoring (Model Layer) continuously analyzes response patterns to detect anomalies. Before any model-generated output is executed, it

Fig. 4. LLM-aware monitoring-control framework integrating NIST-defined monitoring dimensions (outer nodes) with LLM-specific security controls. Arrows represent continuous post-deployment monitoring and enforcement across system interactions.
passes through an output-to-action isolation layer (Output Layer), ensuring that responses are treated as untrusted data and cannot directly trigger system operations without verification. Simultaneously, agent-level capability control (Agent Layer) restricts the assistant's access to sensitive resources (e.g., financial or medical data), enforcing least-privilege execution. Finally, continuous system-level monitoring (System Layer) tracks interaction patterns over time to detect drift, misuse, or coordinated attacks.
This layered integration ensures that each stage of the LLM interaction pipeline is governed by explicit security controls. As shown in Figure 4, governance objectives are mapped to concrete control layers, translating high-level risk principles into actionable defenses for LLM-enabled systems.
6.4 Threats to Validity
Construct validity. Our analysis rests on the mapping between OWASP LLM risks, the TRA categories defined in this work, and CWE entries. Because this mapping involves interpretation, different researchers could assign a given risk to a different traditional analogue. To reduce this threat, we derived each mapping from four explicit criteria (entry point, processing mechanism, security boundary violation, and impact) described in Section 3.3, and grounded every TRA category in established CWE entries where applicable, rather than in surface-level analogy.
Internal validity. The study selection may have missed relevant work, since our search keywords were seeded from the OWASP LLM Top 10 and traditional attack names. We mitigated this through forward and backward snowballing and reference analysis, which added studies beyond the initial keyword search. The coding of the 105 primary studies (addressed risk, affected layer, and proposed mitigation) was performed by a single author. Consistency was maintained by coding every study against the fixed OWASP-TRA-CWE scheme and by re-reviewing all assignments in a second pass, but we acknowledge single-coder bias as a limitation. In addition, a portion of the primary studies are arXiv preprints that have not undergone peer review. Given the pace of LLM security research, excluding preprints would omit influential recent results; we therefore included them selectively based on citation impact and relevance, while noting that their findings may change upon formal publication.
External validity. Our conclusions are tied to the 2025 OWASP LLM Top 10 as the organizing lens, and both the risk list and the threat landscape evolve quickly. The amplification patterns and framework gaps we identify reflect the literature and the disclosed CVEs available at the time of the search, and new attack classes may emerge that fall outside the ten categories analyzed here. We believe the TRA-based analysis method itself generalizes, since it links risks to root-cause weaknesses rather than to a specific list version, and it can be reapplied as OWASP and CWE are updated.
7 Conclusion
In this paper, we examined how web security risks, such as XSS and CSRF, are re-enabled and amplified in LLM-driven systems. We introduced a taxonomy that maps these risks to the OWASP LLM Top 10 and analyzed how LLM-related threats emerge across client-side, server-side, and pipeline layers. Our analysis shows that LLM-mediated interactions weaken data-instruction, trust, and execution boundaries, creating a dynamic and interaction-driven attack surface. Based on these findings and the limitations of existing mitigation approaches, we proposed an LLM-aware monitoring-control framework that connects governance objectives with concrete application- and system-level defenses. Overall, this survey shows that LLMs fundamentally transform the web threat landscape and highlights the need for robust defenses to protect users from both legacy and emerging security threats.
References
[1] Nadya Abaev, Denis Klimov, Gerard Levinov, David Mimran, Yuval Elovici, and Asaf Shabtai. 2026. AgentGuardian: Learning Access Control Policies to Govern AI Agent Behavior. arXiv preprint arXiv:2601.10440 (2026).
[2] Alsharif Abuadibba, Nazatul Sultan, Surya Nepal, and Sanjay Jha. 2026. Human Society-Inspired Approaches to Agentic AI Security: The 4C Framework. arXiv preprint arXiv:2602.01942 (2026).
[3] Francisco Aguilera-Martinez and Fernando Berzal. 2025. LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasures. arXiv preprint arXiv:2505.01177 (2025).
[4] Mohiuddin Ahmed, Jinpeng Wei, and Ehab Al-Shaer. 2024. Prompting LLM to enforce and validate CIS critical security control. In Proceedings of the 29th ACM Symposium on Access Control Models and Technologies. 93–104.
[5] NIST AI. 2023. Artificial intelligence risk management framework (AI RMF 1.0). URL: https://nvlpubs.nist.gov/nistpubs/ai/nist. ai (2023), 100–1.
[6] NIST AI. 2024. Artificial intelligence risk management framework: Generative artificial intelligence profile. NIST Trustworthy and Responsible AI Gaithersburg, MD, USA (2024).
[7] Daniel Alexander Alber, Zihao Yang, Anton Alyakin, Eunice Yang, Sumedha Rai, Aly A Valliani, Jeff Zhang, Gabriel R Rosenbaum, Ashley K Amend-Thomas, David B Kurland, et al. 2025. Medical large language models are vulnerable to data-poisoning attacks. Nature Medicine 31, 2 (2025), 618–626.
[8] Saeed Almheiri, Yerulan Kongrat, Adrian Santosh, Ruslan Tasmukhanov, Josemaria Loza Vera, Muhammad Dehan Al Kautsar, and Fajri Koto. 2025. Role-Aware Language Models for Secure and Contextualized Access Control in Organizations. arXiv preprint arXiv:2507.23465 (2025).
[9] Lilas Alrahis, Satwik Patnaik, Muhammad Abdullah Hanif, Muhammad Shafique, and Ozgur Sinanoglu. 2023. PoisonedGNN: Backdoor Attack on Graph Neural Networks-Based Hardware Security Systems. IEEE Trans. Comput. 72, 10 (2023), 2822–2834.
[10] Maryam Amirizaniani, Jihan Yao, Adrian Lavergne, Elizabeth Snell Okada, Aman Chadha, Tanya Roosta, and Chirag Shah. 2024. LLMAuditor: A Framework for Auditing Large Language Models Using Human-in-the-Loop. arXiv preprint arXiv:2402.09346 (2024).
[11] Eranga Bandara, Sachin Shetty, Ravi Mukkamala, Abdul Rahman, Peter Foytik, Xueping Liang, Kasun De Zoysa, and Ng Wee Keong. 2024. DevSecGPT—Generative-AI (with Custom-Trained Meta's Llama2 LLM), Blockchain, NFT and PBOM Enabled Cloud Native Container Vulnerability Management and Pipeline Verification Platform. In 2024 IEEE Cloud Summit. IEEE, 28–35.
[12] Agrim Bari, Parikshit Hegde, and Gustavo de Veciana. 2025. Optimal Scheduling Algorithms for LLM Inference: Theory and Practice. Proceedings of the ACM on Measurement and Analysis of Computing Systems 9, 3 (2025), 1–43.
[13] Alan Barnett, Seán Ahearne, Paul Barry, Merry Globin, and Colin Duggan. 2025. Graph-Based Filtering to Prevent Prompt-Engineered LLM Training Data Leaks. In 2025 IEEE International Conference on Smart Computing (SMARTCOMP). IEEE, 480–485.
[14] Nicholas Carlini, Milad Nasr, Edoardo Debenedetti, Barry Wang, Christopher A Choquette-Choo, Daphne Ippolito, Florian Tramèr, and Matthew Jagielski. 2025. LLMs unlock new paths to monetizing exploits. arXiv preprint arXiv:2505.11449 (2025).
[15] Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, et al. 2021. Extracting training data from large language models. In 30th USENIX Security Symposium (USENIX Security 21). 2633–2650.
[16] Canyu Chen and Kai Shu. 2023. Can llm-generated misinformation be detected? arXiv preprint arXiv:2309.13788 (2023).
[17] Canyu Chen and Kai Shu. 2024. Combating misinformation in the age of llms: Opportunities and challenges. AI Magazine 45, 3 (2024), 354–368.
[18] Sizhe Chen, Julien Piet, Chawin Sitawarin, and David Wagner. 2025. {StruQ}: Defending against prompt injection with structured queries. In 34th USENIX Security Symposium (USENIX Security 25). 2383–2400.
[19] Yiyi Chen, Heather Lent, and Johannes Bjerva. 2024. Text embedding inversion security for multilingual language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 7808–7827.
[20] Yiyi Chen, Qiongkai Xu, and Johannes Bjerva. 2025. Algen: Few-shot inversion attacks on textual embeddings via cross-model alignment and generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 24330–24348.
[21] Zhuowei Chen, Qiannan Zhang, and Shichao Pei. 2025. Injecting universal jailbreak backdoors into llms in minutes. arXiv preprint arXiv:2502.10438 (2025).
[22] Anshuman Chhabra, Shrestha Datta, Shahriar Kabir Nahin, and Prasant Mohapatra. 2025. Agentic ai security: Threats, defenses, evaluation, and open challenges. arXiv preprint arXiv:2510.23883 (2025).
[23] Irena Cronin. 2026. Reinforcement Learning with Human Feedback (RLHF). In Building and Training Generative AI Models: A Practical Guide to Generative AI Development and Scaling. Springer, 343–383.
[24] G Deepa and P Santhi Thilagam. 2016. Securing web applications from injection and logic vulnerabilities: Approaches and challenges. Information and Software Technology 74 (2016), 160–180.
[25] Xinhao Deng, Yixiang Zhang, Jiaqing Wu, Jiaqi Bai, Sibo Yi, Zhuoheng Zou, Yue Xiao, Rennai Qiu, Jianan Ma, Jialuo Chen, et al. 2026. Taming openclaw: Security analysis and mitigation of autonomous llm agent threats. arXiv preprint arXiv:2603.11619 (2026).
[26] Jialiang Dong, Zihan Ni, Nan Sun, Sanjay Jha, Yiwei Zhang, Elisa Bertino, Surya Nepal, and Siqi Ma. 2025. Securing AI Code Generation-A Prompt Rectification Approach for Mitigating Cyber Risks. In 2025 IEEE 24th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom). IEEE, 914–925.
[27] Sunny Duan, Mikail Khona, Abhiram Iyer, Ryan Schaeffer, and Ila R Fiete. 2024. Uncovering latent memories: Assessing data leakage and memorization patterns in large language models. In ICML 2024 Workshop on LLMs and Cognition.
[28] Common Weakness Enumeration. 2026. Deserialization of Untrusted Data. https://cwe.mitre.org/data/definitions/502.html.
[29] Common Weakness Enumeration. 2026. Download of Code Without Integrity Check. https://cwe.mitre.org/data/definitions/494.html.
[30] Common Weakness Enumeration. 2026. Excessive Iteration. https://cwe.mitre.org/data/definitions/834.html.
[31] Common Weakness Enumeration. 2026. Exposure of Sensitive Information to an Unauthorized Actor. https://cwe.mitre.org/data/definitions/200.html.
[32] Common Weakness Enumeration. 2026. Improper Control of Generation of Code ('Code Injection'). https://cwe.mitre.org/data/definitions/94.html.
[33] Common Weakness Enumeration. 2026. Improper Encoding or Escaping of Output. https://cwe.mitre.org/data/definitions/116.html.
[34] Common Weakness Enumeration. 2026. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). https://cwe.mitre.org/data/definitions/79.html.
[35] Common Weakness Enumeration. 2026. Improper Neutralization of Input Used for LLM Prompting. https://cwe.mitre.org/data/definitions/1427.html.
[36] Common Weakness Enumeration. 2026. Improper Neutralization of Special Elements used in a Command ('Command Injection'). https://cwe.mitre.org/data/definitions/77.html.
[37] Common Weakness Enumeration. 2026. Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'). https://cwe.mitre.org/data/definitions/89.html.
[38] Common Weakness Enumeration. 2026. Improper Verification of Cryptographic Signature. https://cwe.mitre.org/data/definitions/347.html.
[39] Common Weakness Enumeration. 2026. Inclusion of Functionality from Untrusted Control Sphere. https://cwe.mitre.org/data/definitions/829.html.
[40] Common Weakness Enumeration. 2026. Insufficient Verification of Data Authenticity. https://cwe.mitre.org/data/definitions/345.html.
[41] Common Weakness Enumeration. 2026. Missing Authentication for Critical Function. https://cwe.mitre.org/data/definitions/306.html.
[42] Common Weakness Enumeration. 2026. Missing Authorization. https://cwe.mitre.org/data/definitions/862.html.
[43] Common Weakness Enumeration. 2026. Observable Discrepancy. https://cwe.mitre.org/data/definitions/203.html.
[44] Common Weakness Enumeration. 2026. Observable Timing Discrepancy. https://cwe.mitre.org/data/definitions/208.html.
[45] Common Weakness Enumeration. 2026. Uncontrolled Resource Consumption. https://cwe.mitre.org/data/definitions/400.html.
[46] Richard Fang, Rohan Bindu, Akul Gupta, Qiusi Zhan, and Daniel Kang. 2024. Llm agents can autonomously hack websites. arXiv preprint arXiv:2402.06664 (2024).
[47] International Organization for Standardization/International Electrotechnical Commission et al. 2023. ISO/IEC 23894: 2023—Information technology—Artificial intelligence—Guidance on risk management.
[48] Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. 2022. Gptq: Accurate post-training quantization for generative pre-trained transformers. arXiv preprint arXiv:2210.17323 (2022).
[49] Wenjie Fu, Huandong Wang, Junyao Gao, Guoan Wan, and Tao Jiang. 2025. Sanitize Your Responses: Mitigating Privacy Leakage in Large Language Models. arXiv preprint arXiv:2509.24488 (2025).
[50] Yao Fu, Leyang Xue, Yeqi Huang, Andrei-Octavian Brabete, Dmitrii Ustiugov, Yuvraj Patel, and Luo Mai. 2024. {ServerlessLLM}: {Low-Latency} serverless inference for large language models. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24). 135–153.
[51] Isabel O Gallegos, Ryan A Rossi, Joe Barrow, Md Mehrab Tanjim, Sungchul Kim, Franck Dernoncourt, Tong Yu, Ruiyi Zhang, and Nesreen K Ahmed. 2024. Bias and fairness in large language models: A survey. Computational Linguistics 50, 3 (2024), 1097–1179.
[52] Yuyou Gan, Yong Yang, Zhe Ma, Ping He, Rui Zeng, Yiming Wang, Qingming Li, Chunyi Zhou, Songze Li, Ting Wang, et al. 2026. Navigating the risks: A survey of security and privacy threats in LLM-based agents. ACM Transactions on Software Engineering and Methodology (2026). doi:10.1145/3807666
[53] Aadil Gani Ganie. 2025. Securing AI Agents: Implementing Role-Based Access Control for Industrial Applications. arXiv preprint arXiv:2509.11431 (2025).
[54] GenAI. 2024. LLM10:2025 Unbounded Consumption. https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/.
[55] GenAI Security Project. 2025. Top 10 Risk & Mitigations for LLMs and Gen AI Apps 2025. https://genai.owasp.org/llm-top-10.
[56] Julia Gomez-Rangel, Young Lee, and Bozhen Liu. 2025. Security in the Wild: An Empirical Analysis of LLM-Powered Applications and Local Inference Frameworks. In 2025 2nd IEEE/ACM International Conference on AI-powered Software (AIware). IEEE, 149–159.
[57] Kai Greshake, Sahar Abdelnabi, Shailesh Mishra, Christoph Endres, Thorsten Holz, and Mario Fritz. 2023. Not what you've signed up for: Compromising real-world llm-integrated applications with indirect prompt injection. In Proceedings of the 16th ACM workshop on artificial intelligence and security. 79–90.
[58] Shashank Gupta and Brij B Gupta. 2019. Evaluation and monitoring of XSS defensive solutions: a survey, open research issues and future directions. Journal of ambient intelligence and humanized computing 10, 11 (2019), 4377–4405.
[59] Feng He, Tianqing Zhu, Dayong Ye, Bo Liu, Wanlei Zhou, and Philip S Yu. 2025. The emerged security and privacy of llm agent: A survey with case studies. Comput. Surveys 58, 6 (2025), 1–36.
[60] Keegan Hines, Gary Lopez, Matthew Hall, Federico Zarfati, Yonatan Zunger, and Emre Kiciman. 2024. Defending against indirect prompt injection attacks with spotlighting. arXiv preprint arXiv:2403.14720 (2024).
[61] Qiang Hu, Xiaofei Xie, Sen Chen, Lili Quan, and Lei Ma. 2025. Large language model supply chain: Open problems from the security perspective. In Proceedings of the 34th ACM SIGSOFT International Symposium on Software Testing and Analysis. 169–173.
[62] Qing Huang, Zhenyu Wan, Zhenchang Xing, Changjing Wang, Jieshan Chen, Xiwei Xu, and Qinghua Lu. 2023. Let's chat to find the APIs: Connecting human, LLM and knowledge graph through AI chain. In 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE). IEEE, 471–483.
[63] Bo Hui, Haolin Yuan, Neil Gong, Philippe Burlina, and Yinzi Cao. 2024. Pleak: Prompt leaking attacks against large language model applications. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security. 3600–3614.
[64] Saqib Irtiza, Khandakar Ashrafi Akbar, Arowa Yasmeen, Latifur Khan, Ovidiu Daescu, and Bhavani Thuraisingham. 2024. LLM-Sentry: A Model-Agnostic Human-in-the-Loop Framework for Securing Large Language Models. In 2024 IEEE 6th International Conference on Trust, Privacy and Security in Intelligent Systems, and Applications (TPS-ISA). IEEE, 245–254.
[65] Kunal Jain, Anjaly Parayil, Ankur Mallick, Esha Choukse, Xiaoting Qin, Jue Zhang, Iñigo Goiri, Rujia Wang, Chetan Bansal, Victor Rühle, et al. 2024. Intelligent Router for LLM Workloads: Improving Performance Through Workload-Aware Load Balancing. arXiv preprint arXiv:2408.13510 (2024).
[66] Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. 2023. Survey of hallucination in natural language generation. ACM computing surveys 55, 12 (2023), 1–38.
[67] Zimo Ji, Daoyuan Wu, Wenyuan Jiang, Pingchuan Ma, Zongjie Li, Yudong Gao, Shuai Wang, and Yingjiu Li. 2026. Taming Various Privilege Escalation in LLM-Based Agent Systems: A Mandatory Access Control Framework. arXiv preprint arXiv:2601.11893 (2026).
[68] Yongzhe Jia, Bowen Liu, Xuyun Zhang, Fei Dai, Arif Khan, Lianyong Qi, and Wanchun Dou. 2024. Model pruning-enabled federated split learning for resource-constrained devices in artificial intelligence empowered edge computing environment. ACM Transactions on Sensor Networks (2024).
[69] Junfeng Jiao, Saleh Afroogh, Yiming Xu, and Connor Phillips. 2025. Navigating llm ethics: Advancements, challenges, and future directions. AI and Ethics (2025), 1–25.
[70] Shivani Kapania, Ruiyi Wang, Toby Jia-Jun Li, Tianshi Li, and Hong Shen. 2025. 'I'm Categorizing LLM as a Productivity Tool': Examining Ethics of LLM Use in HCI Research Practices. Proceedings of the ACM on Human-Computer Interaction 9, 2 (2025), 1–26.
[71] Jasleen Kaur, Urvashi Garg, and Gourav Bathla. 2023. Detection of cross-site scripting (XSS) attacks using machine learning techniques: a review. Artificial Intelligence Review 56, 11 (2023), 12725–12769.
[72] Soheil Khodayari, Thomas Barber, and Giancarlo Pellegrino. 2024. The great request robbery: An empirical study of client-side request hijacking vulnerabilities on the web. In 2024 IEEE Symposium on Security and Privacy (SP). IEEE, 166–184.
[73] Barbara Kitchenham, Stuart Charters, et al. 2007. Guidelines for performing systematic literature reviews in software engineering. (2007).
[74] Dezhang Kong, Shi Lin, Zhenhua Xu, Zhebo Wang, Minghao Li, Yufeng Li, Yilun Zhang, Hujin Peng, Zeyang Sha, Yuyuan Li, et al. 2025. A survey of llm-driven ai agent communication: Protocols, security risks, and defense countermeasures. arXiv preprint arXiv:2506.19676 (2025).
[75] Nikolaos Koutroumpouchos, Georgios Lavdanis, Eleni Veroni, Christoforos Ntantogian, and Christos Xenakis. 2019. ObjectMap: Detecting insecure object deserialization. In Proceedings of the 23rd Pan-Hellenic Conference on Informatics. 67–72.
[76] Akshay Kulkarni, Adarsha Shivananda, Anoosh Kulkarni, and Dilip Gudivada. 2023. LLMs for enterprise and LLMOps. In Applied Generative AI for Beginners: Practical Knowledge on Diffusion Models, ChatGPT, and Other LLMs. Springer, 117–154.
[77] Priyanshu Kumar, Elaine Lau, Saranya Vijayakumar, Tu Trinh, Elaine T Chang, Vaughn Robinson, Shuyan Zhou, Matt Fredrikson, Sean M Hendryx, Summer Yue, et al. 2025. Aligned LLMs are not aligned browser agents. In The Thirteenth International Conference on Learning Representations.
[78] Halima I Kure, Pradipta Sarkar, Ahmed B Ndanusa, and Augustine O Nwajana. 2025. Detecting and preventing data poisoning attacks on AI models. arXiv preprint arXiv:2503.09302 (2025).
[79] Keita Kurita, Paul Michel, and Graham Neubig. 2020. Weight poisoning attacks on pre-trained models. arXiv preprint arXiv:2004.06660 (2020).
[80] Elitsa Kuzmanova and Donika Dimanova. 2025. Technical Privacy Risks in Generative AI (GenAI)–Lessons from OWASP and Real-World Failures. In 2025 10th International Conference on Energy Efficiency and Agricultural Engineering (EE&AE). IEEE, 1–5.
[81] Javid Lakha, Minlan Yu, and Rana Shahout. 2025. Faster, Cheaper, Just as Good: Cost-and Latency-Constrained Routing for LLMs. In Sparsity in LLMs (SLLM): Deep Dive into Mixture of Experts, Quantization, Hardware, and Inference.
[82] Haoran Li, Yulin Chen, Jinglong Luo, Jiecong Wang, Hao Peng, Yan Kang, Xiaojin Zhang, Qi Hu, Chunkit Chan, Zenglin Xu, et al. 2023. Privacy in large language models: Attacks, defenses and future directions. arXiv preprint arXiv:2310.10383 (2023).
[83] Miles Q Li and Benjamin CM Fung. 2025. Security concerns for large language models: A survey. Journal of Information Security and Applications 95 (2025), 104284.
[84] Qinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan, Rachel Xin, Junyi Hou, Xavier Yin, Zhun Wang, Dan Hendrycks, Zhangyang Wang, et al. 2024. Llm-pbe: Assessing data privacy in large language models. arXiv preprint arXiv:2408.12787 (2024).
[85] Xiaowei Li and Yuan Xue. 2014. A survey on server-side approaches to securing web applications. ACM Computing Surveys (CSUR) 46, 4 (2014), 1–29.
[86] Vasiliki Liagkou, Evangelia Filiopoulou, George Fragiadakis, Mara Nikolaidou, and Christos Michalakelis. 2024. The cost perspective of adopting Large Language Model-as-a-Service. In 2024 IEEE International Conference on Joint Cloud Computing (JCC). IEEE, 80–83.
[87] Zhiyu Liao, Kang Chen, Yuanguo Lin, Kangkang Li, Yunxuan Liu, Hefeng Chen, Xingwang Huang, and Yuanhui Yu. 2025. Attack and defense techniques in large language models: A survey and new perspectives. Neural Networks (2025), 108388.
[88] Yu-Zheng Lin, Sujan Ghimire, Abhiram Nandimandalam, Jonah Michael Camacho, Unnati Tripathi, Rony Macwan, Sicong Shao, Setareh Rafatirad, Rozhin Yasaei, Pratik Satam, et al. 2025. LLM-HyPZ: Hardware Vulnerability Discovery using an LLM-Assisted Hybrid Platform for Zero-Shot Knowledge Extraction and Refinement. arXiv preprint arXiv:2509.00647 (2025).
[89] Fan Liu, Zhao Xu, and Hao Liu. 2024. Adversarial tuning: Defending against jailbreak attacks for llms. arXiv preprint arXiv:2406.06622 (2024).
[90] Shuaitong Liu, Renjie Li, Lijia Yu, Lijun Zhang, Zhiming Liu, and Gaojie Jin. 2026. Badthink: Triggered overthinking attacks on chain-of-thought reasoning in large language models. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 32141–32149.
[91] Tiantian Liu, Hongwei Yao, Tong Wu, Zhan Qin, Feng Lin, Kui Ren, and Chun Chen. 2024. Mitigating privacy risks in LLM embeddings from embedding inversion. arXiv preprint arXiv:2411.05034 (2024).
[92] Yi Liu, Gelei Deng, Yuekang Li, Kailong Wang, Zihao Wang, Xiaofeng Wang, Tianwei Zhang, Yepang Liu, Haoyu Wang, Yan Zheng, et al. 2023. Prompt Injection attack against LLM-integrated Applications. arXiv preprint arXiv:2306.05499 (2023).
[93] Peihua Mai, Ran Yan, Zhe Huang, Youjia Yang, and Yan Pang. 2023. Split-and-denoise: Protect large language model inference with local differential privacy. arXiv preprint arXiv:2310.09130 (2023).
[94] Victor Mayoral-Vilches and Per Mannermaa Rynning. 2025. Cybersecurity ai: Hacking the ai hackers via prompt injection. arXiv preprint arXiv:2508.21669 (2025).
[95] Jeremy McHugh, Kristina Sekrst, and Jon Cefalu. 2025. Prompt injection 2.0: hybrid AI threats. arXiv preprint arXiv:2507.13169 (2025).
[96] Niloofar Mireshghallah, Maria Antoniak, Yash More, Yejin Choi, and Golnoosh Farnadi. 2024. Trust no bot: Discovering personal disclosures in human-llm conversations in the wild. arXiv preprint arXiv:2407.11438 (2024).
[97] John Morris, Volodymyr Kuleshov, Vitaly Shmatikov, and Alexander M Rush. 2023. Text embeddings reveal (almost) as much as text. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. 12448–12460.
[98] Mahjabin Nahar, Haeseung Seo, Eun-Ju Lee, Aiping Xiong, and Dongwon Lee. 2024. Fakes of varying shades: How warning affects human perception and engagement regarding LLM hallucinations. arXiv preprint arXiv:2404.03745 (2024).
[99] Dishita Naik, Ishita Naik, and Nitin Naik. 2025. Insecure Output Handling in Large Language Models (LLMs) and Approaches to Enhance Output Security, Including Prevention of LLM-Based Web Application Attacks. Authorea Preprints (2025).
[100] Dishita Naik, Ishita Naik, and Nitin Naik. 2025. Weaponising Generative AI Through Data Poisoning: Analysing Various Data Poisoning Attacks on Large Language Models (LLMs) and Their Countermeasures. Authorea Preprints (2025).
[101] Krishna Kanth Nakka, Ahmed Frikha, Ricardo Mendes, Xue Jiang, and Xuebing Zhou. 2024. PII-Scope: A Comprehensive Study on Training Data PII Extraction Attacks in LLMs. arXiv preprint arXiv:2410.06704 (2024).
[102] National Institute of Standards and Technology (NIST). 2026. The NIST Cybersecurity Framework (CSF). https://www.nist.gov/cyberframework.
[103] Fatemeh Nazary, Yashar Deldjoo, Tommaso Di Noia, and Eugenio Di Sciascio. 2025. Stealthy LLM-Driven Data Poisoning Attacks Against Embedding-Based Retrieval-Augmented Recommender Systems. In Adjunct Proceedings of the 33rd ACM Conference on User Modeling, Adaptation and Personalization. 98–102.
[104] Zhijie Nie, Zhangchi Feng, Mingxin Li, Cunwang Zhang, Yanzhao Zhang, Dingkun Long, and Richong Zhang. 2024. When text embedding meets large language model: a comprehensive survey. arXiv preprint arXiv:2412.09165 (2024).
[105] Serge Lionel Nikiema, Albéric Euraste Djire, Abdoul Aziz Bonkoungou, Micheline Bénédicte Moumoula, Jordan Samhi, Abdoul Kader Kabore, Jacques Klein, and Tegawendé F Bissyande. 2025. How Small Transformation Expose the Weakness of Semantic Similarity Measures. arXiv preprint arXiv:2509.09714 (2025).
[106] Marc Ohm, Henrik Plate, Arnold Sykosch, and Michael Meier. 2020. Backstabber's knife collection: A review of open source software supply chain attacks. In International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment. Springer, 23–43.
[107] OWASP Foundation. 2021. OWASP Top 10:2021 – The Ten Most Critical Web Application Security Risks. https://owasp.org/Top10/2021/A00_2021_Introduction/.
[108] Lianglu Pan, Shaanan Cohney, Toby Murray, and Van-Thuan Pham. 2024. EDEFuzz: A web API fuzzer for excessive data exposures. In Proceedings of the 46th IEEE/ACM International Conference on Software Engineering. 1–12.
[109] Rahul Pankajakshan, Sumitra Biswal, Yuvaraj Govindarajulu, and Gilad Gressel. 2024. Mapping llm security landscapes: A comprehensive stakeholder risk assessment proposal. arXiv preprint arXiv:2403.13309 (2024).
[110] Pankayaraj Pathmanathan, Souradip Chakraborty, Xiangyu Liu, Yongyuan Liang, and Furong Huang. 2024. Is poisoning a real threat to LLM alignment? Maybe more so than you think. arXiv preprint arXiv:2406.12091 (2024).
[111] Avinash Patil. 2025. Advancing Software Quality: A Standards-Focused Review of LLM-Based Assurance Techniques. arXiv preprint arXiv:2505.13766 (2025).
[112] Ksenia Peguero and Xiuzhen Cheng. 2021. CSRF protection in JavaScript frameworks and the security of JavaScript applications. High-Confidence Computing 1, 2 (2021), 100035.
[113] Steven Peh. 2025. Prompt Fencing: A Cryptographic Approach to Establishing Security Boundaries in Large Language Model Prompts. arXiv preprint arXiv:2511.19727 (2025).
[114] Fábio Perez and Ian Ribeiro. 2022. Ignore previous prompt: Attack techniques for language models. arXiv preprint arXiv:2211.09527 (2022).
[115] Victor Prokhorenko, Kim-Kwang Raymond Choo, and Helen Ashman. 2016. Web application protection techniques: A taxonomy. Journal of Network and Computer Applications 60 (2016), 95–112.
[116] Yubin Qu, Yi Liu, Tongcheng Geng, Gelei Deng, Yuekang Li, Leo Yu Zhang, Ying Zhang, and Lei Ma. 2026. Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems. arXiv preprint arXiv:2604.03081 (2026).
[117] Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems 36 (2023), 53728–53741.
[118] Subhey Sadi Rahman, Md Adnanul Islam, Md Mahbub Alam, Musarrat Zeba, Md Abdur Rahman, Sadia Sultana Chowa, Mohaimenul Azam Khan Raiaan, and Sami Azam. 2026. Hallucination to truth: A review of fact-checking and factuality evaluation in large language models. Artificial Intelligence Review (2026).
[119] Paulius Rauba, Qiyao Wei, and Mihaela van der Schaar. 2024. Quantifying perturbation impacts for large language models. arXiv preprint arXiv:2412.00868 (2024).
[120] Pavan Reddy and Aditya Sanjay Gujral. 2025. EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM System. In Proceedings of the AAAI Symposium Series, Vol. 7. 303–311.
[121] Germán Rodriguez-Galán and Jenny Torres. 2024. Personal data filtering: a systematic literature review comparing the effectiveness of XSS attacks in web applications vs cookie stealing. Annals of Telecommunications 79, 11 (2024), 763–802.
[122] Debdeep Sanyal, Umakanta Maharana, Yash Sinha, Hong Ming Tan, Shirish Karande, Mohan Kankanhalli, and Murari Mandal. 2025. OrgAccess: A Benchmark for Role Based Access Control in Organization Scale LLMs. arXiv preprint arXiv:2505.19165 (2025).
[123] Shreddha Pradipbhai Shah and Aditya Vilas Deshpande. 2024. Addressing Data Poisoning and Model Manipulation Risks using LLM Models in Web Security. In 2024 International Conference on Distributed Systems, Computer Networks and Cybersecurity (ICDSCNC). IEEE, 1–6.
[124] Shreya Shankar, JD Zamfirescu-Pereira, Björn Hartmann, Aditya Parameswaran, and Ian Arawjo. 2024. Who validates the validators? aligning llm-assisted evaluation of llm outputs with human preferences. In Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology. 1–14.
[125] Yashothara Shanmugarasa, Shidong Pan, Ming Ding, Dehai Zhao, and Thierry Rakotoarivelo. 2025. Privacy Meets Explainability: Managing Confidential Data and Transparency Policies in LLM-Empowered Science. In Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems. 1–8.
[126] Faizan Shoaib, Yang-Wai Chow, Elena Vlahu-Gjorgievska, and Chau Nguyen. 2023. Mitigating timing side-channel attacks in software-defined networks: Detection and response. In Telecom, Vol. 4. MDPI, 877–900.
[127] Ramkinker Singh and Madhuri Sesha Sarma. 2025. Optimizing Deployment Strategies for Large Language Models: A Comparative Analysis of Cloud, On-Premises, and Hybrid Solutions for Enhanced Efficiency and Continuous Improvement. In 2025 IEEE Technology and Engineering Management Society Conference-Global (TEMSCON Global). IEEE, 1–7.
[128] Shridhar Singh and Luke Vorster. 2024. LLM Supply Chain Provenance: A Blockchain-Based Approach. In Proceedings of the International Conference on AI Research, Lisbon, Portugal. 5–6.
[129] Aviv Slobodkin, Eran Hirsch, Arie Cattan, Tal Schuster, and Ido Dagan. 2024. Attribute first, then generate: Locally-attributable grounded text generation. arXiv preprint arXiv:2403.17104 (2024).
[130] Chengyu Song, Linru Ma, Jianming Zheng, Jinzhi Liao, Hongyu Guang, and Lin Yang. 2024. Audit-llm: Multi-agent collaboration for log-based insider threat detection. arXiv preprint arXiv:2408.08902 (2024).
[131] Yi Sun, Han Wang, Jiaqiang Li, Jiacheng Liu, Xiangyu Li, Hao Wen, Yizhen Yuan, Huiwen Zheng, Yan Liang, Yuanchun Li, et al. 2025. An Empirical Study of LLM Reasoning Ability Under Strict Output Length Constraint. arXiv preprint arXiv:2504.14350 (2025).
[132] Yuan Sun and Ting Wang. 2025. Be friendly, not friends: How llm sycophancy shapes user trust. arXiv preprint arXiv:2502.10844 (2025).
[133] Xuchen Suo. 2024. Signed-prompt: A new approach to prevent prompt injection attacks against llm-integrated applications. In AIP Conference Proceedings, Vol. 3194. AIP Publishing LLC, 040013.
[134] Nyashadzashe Tamuka, Topside Ehleketani Mathonsi, Olwal Thomas Otieno, Solly Maswikaneng, Tonderai Muchenje, and Tshimangadzo Mavin Tshilongamulenzhe. 2026. Securing LLM-based agents against cyberattacks: a comprehensive survey on attack techniques and defense strategies. Journal of Computer Virology and Hacking Techniques 22, 1 (2026), 38.
[135] The MITRE Corporation. 2026. Common Weakness Enumeration. https://cwe.mitre.org/.
[136] NIST AI 800-4: Challenges to the Monitoring of Deployed AI Systems. 2026. New Report: Challenges to the Monitoring of Deployed AI Systems. https://www.nist.gov/news-events/news/2026/03/new-report-challenges-monitoring-deployed-ai-systems.
[137] Antonios Tragoudaras, Theofanis Aslanidis, Emmanuel Georgios Lionis, Marina Orozco González, and Panagiotis Eustratiadis. 2025. Information Leakage of Sentence Embeddings via Generative Embedding Inversion Attacks. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. 3234–3243.
[138] Common Vulnerabilities and Exposures. 2026. Data exfiltration via AI plugin Jira tool. https://www.cve.org/CVEReord?id=CVE-2025-31363.
[139] Common Vulnerabilities and Exposures. 2026. Discourse has Stored XSS in AI Triage Automation. https://www.cve.org/CVEReord?id=CVE-2026-27740.
[140] Common Vulnerabilities and Exposures. 2026. M365 Copilot Information Disclosure Vulnerability. https://www.cve.org/CVEReord?id=CVE-2025-32711.
[141] Common Vulnerabilities and Exposures. 2026. Remote Code Execution in PlotAI. https://www.cve.org/CVEReord?id=CVE-2025-1497.
[142] Common Vulnerabilities and Exposures. 2026. Remote Code Execution via Prompt Injection in vanna-ai/vanna. https://www.cve.org/CVEReord?id=CVE-2024-5826.
[143] Common Vulnerabilities and Exposures. 2026. SQL Injection in vanna-ai/vanna. https://www.cve.org/CVEReord?id=CVE-2024-7764.
[144] Liwen Wang, Wenxuan Wang, Shuai Wang, Zongjie Li, Zhenlan Ji, Zongyi Lyu, Daoyuan Wu, and Shing-Chi Cheung. 2025. Ip leakage attacks targeting llm-based multi-agent systems. arXiv preprint arXiv:2505.12442 (2025).
[145] Shenao Wang, Yanjie Zhao, Xinyi Hou, and Haoyu Wang. 2025. Large language model supply chain: A research agenda. ACM Transactions on Software Engineering and Methodology 34, 5 (2025), 1–46.
[146] Tianyi Wang, Huawei Fan, Yuanchao Shu, Peng Cheng, and Cong Wang. 2026. Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model. arXiv preprint arXiv:2602.07878 (2026).
[147] Xinyue Wang, Yuanhe Zhang, Zhengshuo Gong, Haoran Gao, Fanyu Meng, Zhenhong Zhou, Li Sun, Yang Liu, and Sen Su. 2026. From Helpfulness to Toxic Proactivity: Diagnosing Behavioral Misalignment in LLM Agents. arXiv preprint arXiv:2602.04197 (2026).
[148] Yu Wang, Cailing Cai, Zhihua Xiao, and Peifung E Lam. 2025. LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliance. arXiv preprint arXiv:2505.17145 (2025).
[149] Claes Wohlin. 2014. Guidelines for snowballing in systematic literature studies and a replication in software engineering. In Proceedings of the 18th international conference on evaluation and assessment in software engineering. 1–10.
[150] Fangzhou Wu, Ning Zhang, Somesh Jha, Patrick McDaniel, and Chaowei Xiao. 2024. A new era in llm security: Exploring security concerns in real-world llm-based systems. arXiv preprint arXiv:2402.18649 (2024).
[151] Yuhao Wu, Franziska Roesner, Tadayoshi Kohno, Ning Zhang, and Umar Iqbal. 2024. Isolategpt: An execution isolation architecture for llm-based agentic systems. arXiv preprint arXiv:2403.04960 (2024).
[152] Sophie Xhonneux, Alessandro Sordoni, Stephan Günnemann, Gauthier Gidel, and Leo Schwinn. 2024. Efficient adversarial training in llms with continuous attacks. Advances in Neural Information Processing Systems 37 (2024), 1502–1530.
[153] Zhenyu Xu, Hailin Xu, Zhouyang Lu, Yingying Zhao, Rui Zhu, Yujiang Wang, Mingzhi Dong, Yuhu Chang, Qin Lv, Robert P Dick, et al. 2024. Can large language models be good companions? An LLM-based eyewear system with conversational common ground. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 2 (2024), 1–41.
[154] Biwei Yan, Kun Li, Minghui Xu, Yueyan Dong, Yue Zhang, Zhaochun Ren, and Xiuzhen Cheng. 2024. On protecting the data privacy of large language models (llms): A survey. arXiv preprint arXiv:2403.05156 (2024).
[155] Zhou Yang, Bowen Xu, Jie M Zhang, Hong Jin Kang, Jieke Shi, Junda He, and David Lo. 2024. Stealthy backdoor attack for code models. IEEE Transactions on Software Engineering 50, 4 (2024), 721–741.
[156] Rui Ye, Jingyi Chai, Xiangrui Liu, Yaodong Yang, Yanfeng Wang, and Siheng Chen. 2024. Emerging safety attack and defense in federated instruction tuning of large language models. arXiv preprint arXiv:2406.10630 (2024).
[157] Lei Yu, Virginie Do, Karen Hambardzumyan, and Nicola Cancedda. 2024. Robust LLM safeguarding via refusal feature adversarial training. arXiv preprint arXiv:2409.20089 (2024).
[158] Tianchen Zhang, Gururaj Saileshwar, and David Lie. 2024. Time will tell: Timing side channels via output token count in large language models. arXiv preprint arXiv:2412.15431 (2024).
[159] Xinyao Zheng, Husheng Han, Shangyi Shi, Qiyan Fang, Zidong Du, Xing Hu, and Qi Guo. 2024. Inputsnatch: Stealing input in llm services via timing side-channel attacks. arXiv preprint arXiv:2411.18191 (2024).
[160] Yihe Zhou, Tao Ni, Wei-Bin Lee, and Qingchuan Zhao. 2025. A survey on backdoor threats in large language models (llms): Attacks, defenses, and evaluations. arXiv preprint arXiv:2502.05224 (2025).
[161] Markus Zimmermann, Cristian-Alexandru Staicu, Cam Tenny, and Michael Pradel. 2019. Small world with high risks: A study of security threats in the npm ecosystem. In 28th USENIX Security symposium (USENIX security 19). 995–1010.
[162] Egor Zverev, Sahar Abdelnabi, Soroush Tabesh, Mario Fritz, and Christoph H Lampert. 2024. Can llms separate instructions from data? and what do we even mean by that? arXiv preprint arXiv:2403.06833 (2024).