[Paper Review] Opening A Pandora's Box: Things You Should Know in the Era of Custom GPTs
This paper conducts a systematic security analysis of OpenAI's custom GPTs, identifying 26 attack vectors using the STRIDE framework, with 19 validated in real-world settings. It reveals critical threats like data exfiltration, spoofing, and unauthorized code execution, urging proactive security-by-design measures before the official GPT Store launch.
The emergence of large language models (LLMs) has significantly accelerated the development of a wide range of applications across various fields. There is a growing trend in the construction of specialized platforms based on LLMs, such as the newly introduced custom GPTs by OpenAI. While custom GPTs provide various functionalities like web browsing and code execution, they also introduce significant security threats. In this paper, we conduct a comprehensive analysis of the security and privacy issues arising from the custom GPT platform. Our systematic examination categorizes potential attack scenarios into three threat models based on the role of the malicious actor, and identifies critical data exchange channels in custom GPTs. Utilizing the STRIDE threat modeling framework, we identify 26 potential attack vectors, with 19 being partially or fully validated in real-world settings. Our findings emphasize the urgent need for robust security and privacy measures in the custom GPT ecosystem, especially in light of the forthcoming launch of the official GPT store by OpenAI.
Motivation & Objective
- To systematically analyze security and privacy threats in custom GPT platforms, a new paradigm enabled by fine-tuned LLMs.
- To identify and categorize real-world attack scenarios arising from third-party GPT development.
- To evaluate the feasibility of attack vectors using threat modeling and empirical validation on public custom GPTs.
- To propose actionable security recommendations for developers, users, and platform providers ahead of the official GPT Store launch.
Proposed method
- Categorize attack scenarios into three threat models based on the malicious actor’s role: GPT, end user, or both.
- Identify five critical data exchange channels: conversation, file transfer, network access, operational commands, and authentication.
- Apply the STRIDE threat modeling framework to systematically map threats across six categories: spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege.
- Conduct real-world validation by analyzing publicly available custom GPTs and reproducing 19 of the 26 identified attack vectors.
- Propose security-by-design principles including execution transparency, data separation, access control, and system hardening.
- Develop detection strategies for malicious GPTs via instruction scanning and real-time monitoring, and for malicious users via passive channel defense.
Experimental results
Research questions
- RQ1What are the primary security and privacy threats introduced by third-party custom GPTs in the LLM ecosystem?
- RQ2How do different threat models—based on the malicious actor’s role—manifest in the custom GPT attack surface?
- RQ3Which attack vectors are practically realizable in existing public custom GPTs, and what are their technical underpinnings?
- RQ4How can the STRIDE framework be effectively adapted to model threats in LLM-based application platforms?
- RQ5What security-by-design and runtime countermeasures can mitigate these threats before the official GPT Store deployment?
Key findings
- The study identifies 26 distinct attack vectors in the custom GPT ecosystem using the STRIDE framework, covering all six threat categories.
- Of these, 19 attack vectors are (partially) realizable in real-world settings, including data exfiltration via file uploads and network requests.
- Malicious custom GPTs can bypass platform assurances by stealing user data during conversations, contradicting claims of data isolation.
- The platform lacks proper data separation, allowing both GPTs and users to access sensitive system prompts and uploaded files.
- Real-world examples of malicious behavior were found in publicly available custom GPTs, such as unauthorized data modification and covert data transmission.
- The research underscores the urgent need for security-by-design principles, including execution transparency, access control, and secure architecture separation (e.g., Harvard vs. Von Neumann).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.