mlsanityData to 14 Oct 2026

When GPT Spills the Tea: Comprehensive Assessment of Knowledge File Leakage in GPTs

arXiv 2506.00197 ↗First posted 30 May 2025cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Knowledge files have been widely used in large language model (LLM) agents, such as GPTs, to improve response quality. However, concerns about the potential leakage of knowledge files have grown significantly. Existing studies demonstrate that adversarial prompts can induce GPTs to leak knowledge file content. Yet, it remains uncertain whether additional leakage vectors exist, particularly given the complex data flows across clients, servers, and databases in GPTs. In this paper, we present a comprehensive risk assessment of knowledge file leakage, leveraging a novel workflow inspired by Data Security Posture Management (DSPM). Through the analysis of 651,022 GPT metadata, 11,820 flows, and 1,466 responses, we identify five leakage vectors: metadata, GPT initialization, retrieval, sandboxed execution environments, and prompts. These vectors enable adversaries to extract sensitive knowledge file data such as titles, content, types, and sizes. Notably, the activation of the built-in tool Code Interpreter leads to a privilege escalation vulnerability, enabling adversaries to directly download original knowledge files with a 95.95% success rate. Further analysis reveals that 28.80% of leaked files are copyrighted, including digital copies from major publishers and internal materials from a listed company. In the end, we provide actionable solutions for GPT builders and platform providers to secure the GPT data supply chain.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 39 references that are in the map. First posted on arXiv 30 May 2025.

Builds on

20 of 39 references.

References · 20

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  2. 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 769
  3. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 548
  4. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 538
  5. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
  6. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  7. 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 341
  8. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 288
  9. 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fastcited by 153
  10. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agentscited by 145
  11. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 137
  12. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 115
8 more
  1. 2024AirGapAgent: Protecting Privacy-Conscious Conversational Agentscited by 94
  2. 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplificationcited by 81
  3. 2023"It's a Fair Game", or Is It? Examining How Users Navigate Disclosure Risks and Benefits When Using LLM-Based Conversational Agentscited by 60
  4. 2024"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Modelscited by 60
  5. 2023Assessing Prompt Injection Risks in 200+ Custom GPTscited by 55
  6. 2024A First Look at GPT Apps: Landscape and Vulnerabilitycited by 16
  7. 2023Maatphor: Automated Variant Analysis for Prompt Injection Attackscited by 14
  8. 2024GPT Store Mining and Analysiscited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Exploiting Novel GPT-4 APIs
  2. 2025An Empirical Study on the Security Vulnerabilities of GPTs ↗
  3. 2025Privacy and Security Threat for OpenAI GPTs
  4. 2026FlashRT: Towards Computationally and Memory Efficient Red-Teaming for Prompt Injection and Knowledge Corruption
  5. 2026An Evaluation of Data Leakage Risks in Tool-Using LLM Agents in Realistic Scenarios
  6. 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptation
  7. 2025Evaluating Adversarial Vulnerabilities in Modern Large Language Models
  8. 2024Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysis