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

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.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.936
Primary Topic
Cloud Data Security Solutions
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Michael Backes, Yun Shen, Yang Zhang, Xinyue Shen
Cloud Data Security Solutions
article

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

Michael Backes, Yun Shen, Yang Zhang, Xinyue Shen
article en

Abstract

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.

Bundesministerium für Bildung und Forschung
Openalex Percentile: Top 71%
Cloud Data Security Solutions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.