A Systematic Threat Modeling of LLM Applications
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 applications based on LLMs, such as the 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 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 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 GPT ecosystem as well as other similar LLM application ecosystems.
Authors
- Guanhong Tao (ORCID: https://orcid.org/0000-0002-4701-1327)
- Junmin Zhu (ORCID: https://orcid.org/0009-0006-5934-650X)
- Zhuo Zhang (ORCID: https://orcid.org/0000-0002-6515-0021)
- Mu Zhang (ORCID: https://orcid.org/0000-0001-5905-9515)
- Xiangyu Zhang (ORCID: https://orcid.org/0000-0002-9544-2500)
- Siyuan Cheng (ORCID: https://orcid.org/0009-0006-0903-6917)
- Won-Hee Han
- Guangyu Shen (ORCID: https://orcid.org/0009-0003-0701-1124)
Institutions
- University of California, Santa Barbara (US)
- Purdue University West Lafayette (US)
- University of Utah (US)
Publication Details
- Published
- 2025-06-23
- DOI
- https://doi.org/10.1145/3696630.3728712
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- Battelle
- Nvidia
- Intelligence Advanced Research Projects Activity
- Office of Naval Research