A Large-Scale Empirical Analysis of Custom GPTs' Vulnerabilities in the OpenAI Ecosystem

Sunday Oyinlola Ogundoyin, Muhammad Ikram, Hassan Jameel Asghar, Benjamin Zi Hao Zhao, Dali Kaafar
5/13/2025
cs.CRcs.AIcs.CL

No official code found. Best implementation: customgptvulnerability/Custom-GPT-Vulnerability-Assessment (3 stars, Apache-2.0, last commit 2025-05-05).

Abstract

Millions of users leverage generative pretrained transformer (GPT)-based language models developed by leading model providers for a wide range of tasks. To support enhanced user interaction and customization, many platforms-such as OpenAI-now enable developers to create and publish tailored model instances, known as custom GPTs, via dedicated repositories or application stores. These custom GPTs empower users to browse and interact with specialized applications designed to meet specific needs. However, as custom GPTs see growing adoption, concerns regarding their security vulnerabilities have intensified. Existing research on these vulnerabilities remains largely theoretical, often lacking empirical, large-scale, and statistically rigorous assessments of associated risks. In this study, we analyze 14,904 custom GPTs to assess their susceptibility to seven exploitable threats, such as roleplay-based attacks, system prompt leakage, phishing content generation, and malicious code synthesis, across various categories and popularity tiers within the OpenAI marketplace. We introduce a multi-metric ranking system to examine the relationship between a custom GPT's popularity and its associated security risks. Our findings reveal that over 95% of custom GPTs lack adequate security protections. The most prevalent vulnerabilities include roleplay-based vulnerabilities (96.51%), system prompt leakage (92.20%), and phishing (91.22%). Furthermore, we demonstrate that OpenAI's foundational models exhibit inherent security weaknesses, which are often inherited or amplified in custom GPTs. These results highlight the urgent need for enhanced security measures and stricter content moderation to ensure the safe deployment of GPT-based applications.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This datasets and codes were used in our project titled "A Large-Scale Empirical Analysis of Custom GPTs’ Vulnerabilities in the OpenAI Ecosystem"

31Apr 22, 20251 years agoApache-2.0
gptopenaiopenai-chatgptsystem-promptsvulnerability-assessment

Similar Papers

Cite this paper

@article{ogundoyin2025largescale,
  title  = {A Large-Scale Empirical Analysis of Custom GPTs' Vulnerabilities in the OpenAI Ecosystem},
  author = {Sunday Oyinlola Ogundoyin and Muhammad Ikram and Hassan Jameel Asghar and Benjamin Zi Hao Zhao and Dali Kaafar},
  year   = {2025},
  eprint = {2505.08148},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.08148v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.08148.svg)](https://codeofpaper.com/paper/2505.08148)

Discussion