A Hitchhiker’s Guide to Jailbreaking ChatGPT via Prompt Engineering
Open accessThe DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
Natural language prompts serve as an essential interface between users and Large Language Models (LLMs) like GPT-3.5 and GPT-4, which are employed by ChatGPT to produce outputs across various tasks. However, prompts crafted with malicious intent, known as jailbreak prompts, can circumvent the restrictions of LLMs, posing a significant threat to systems integrated with these models. Despite their critical importance, there is a lack of systematic analysis and comprehensive understanding of jailbreak prompts. Our paper aims to address this gap by exploring key research questions to enhance the robustness of LLM systems: 1) What common patterns are present in jailbreak prompts? 2) How effectively can these prompts bypass the restrictions of LLMs? 3) With the evolution of LLMs, how does the effectiveness of jailbreak prompts change? To address our research questions, we embarked on an empirical study targeting the LLMs underpinning ChatGPT, one of today's most advanced chatbots. Our methodology involved categorizing 78 jailbreak prompts into 10 distinct patterns, further organized into three jailbreak strategy types, and examining their distribution. We assessed the effectiveness of these prompts on GPT-3.5 and GPT-4, using a set of 3,120 questions across 8 scenarios deemed prohibited by OpenAI. Additionally, our study tracked the performance of these prompts over a 3-month period, observing the evolutionary response of ChatGPT to such inputs. Our findings offer a comprehensive view of jailbreak prompts, elucidating their taxonomy, effectiveness, and temporal dynamics. Notably, we discovered that GPT-3.5 and GPT-4 could still generate inappropriate content in response to malicious prompts without the need for jailbreaking. This underscores the critical need for effective prompt management within LLM systems and provides valuable insights and data to spur further research in LLM testing and jailbreak prevention.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“OpenAI updated ChatGPT against this jailbreak, now refusing such requests citing ethical guidelines violations [16].”
From Prompt Injection Attacks in Large Language Models and AI Agent Systems: A Comprehensive Review of Vulnerabilities, Attack Vectors, and Defense Mechanisms (2026) · cites this paper as [16]
In the citing paper
“Embedding sensitive terms in HTML tags combined with game rules tricked AI into bypassing guardrails under the guise of gameplay [15]-obfuscation like <a href=x></a>Windows<a href=x></a>10 bypassed keyword filters while LLMs reconstructed semantic meaning.”
From Prompt Injection Attacks in Large Language Models and AI Agent Systems: A Comprehensive Review of Vulnerabilities, Attack Vectors, and Defense Mechanisms (2026) · cites this paper as [15]
In the citing paper
“A researcher duped ChatGPT 4.0 into bypassing safety guardrails by framing queries as games where AI 'thought of' Windows 10 serial numbers and users guessed them [15].”
From Prompt Injection Attacks in Large Language Models and AI Agent Systems: A Comprehensive Review of Vulnerabilities, Attack Vectors, and Defense Mechanisms (2026) · cites this paper as [15]
In the citing paper
“ChatGPT revealed valid Windows product keys including one registered to Wells Fargo bank [16,17], demonstrating enterprise license exposure through training data contamination.”
From Prompt Injection Attacks in Large Language Models and AI Agent Systems: A Comprehensive Review of Vulnerabilities, Attack Vectors, and Defense Mechanisms (2026) · cites this paper as [16]
In the citing paper
“The vulnerability operated through three phases: establishing game rules compelling AI participation, strategic binary-search questioning to narrow possibilities, and trigger phrase “I give up” causing revelation of Windows product keys including Wells Fargo enterprise licenses [16].”
From Prompt Injection Attacks in Large Language Models and AI Agent Systems: A Comprehensive Review of Vulnerabilities, Attack Vectors, and Defense Mechanisms (2026) · cites this paper as [16]
1 more claim about this paper
Create a free account to see every claim other papers make about this one.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Emergent Abilities of Large Language Models
Wei, J., Tay, Y., Bommasani, R., Raffel, C., Zoph, B., Borgeaud, S., Yogatama, D., Bosma, M., Zhou, D., Metzler, D., et al. (2022) · arXiv · doi:10.48550/arxiv.2206.07682 · Cited by 1,264
A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT
White, J., Fu, Q., Hays, S., Sandborn, M., Olea, C., Gilbert, H., Elnashar, A., Spencer-Smith, J., & Schmidt, D. C. (2023) · arXiv · doi:10.48550/arxiv.2302.11382 · Cited by 838
From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacy
Gupta, M., Akiri, C., Aryal, K., Parker, E., & Praharaj, L. (2023) · IEEE Access · doi:10.1109/access.2023.3300381 · Cited by 786
Greshake, K., Abdelnabi, S., Mishra, S., Endres, C., Holz, T., & Fritz, M. (2023) · Proceedings of the 16th ACM Workshop on Artificial Intelligence and Security · doi:10.1145/3605764.3623985 · Cited by 667
Grounded theory in software engineering research: a critical review and guidelines
Stol, K.-J., Ralph, P., & Fitzgerald, B. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884833 · Cited by 470
MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots
Deng, G., Liu, Y., Li, Y., Wang, K., Zhang, Y., Li, Z., Wang, H., Zhang, T., & Liu, Y. (2023) · arXiv · doi:10.48550/arxiv.2307.08715 · Cited by 418
Self-citationA Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
Xu, Z., Liu, Y., Deng, G., Li, Y., & Picek, S. (2024) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2024.findings-acl.443 · Cited by 329
Self-citationJailbroken: How Does LLM Safety Training Fail?
Wei, A., Haghtalab, N., & Steinhardt, J. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-3508 · Cited by 280
Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection
Yan, J., Yadav, V., Li, S., Chen, L., Tang, Z. S., Wang, H., Srinivasan, V., Ren, X., & Jin, H. (2024) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2024.naacl-long.337 · Cited by 278
Recent advances in deep learning based dialogue systems: a systematic survey
Ni, J., Young, T., Pandelea, V., Xue, F., & Cambria, E. (2023) · Artificial Intelligence Review · doi:10.1007/s10462-022-10248-8 · Cited by 264
Research works printed but not linked: 3
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, and Amanda Askell. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33 (2020), 1877–1901.
- Zihao Xu Yi Liu Gelei Deng Yuekang Li and Stjepan Picek. 2024. LLM Jailbreak Attack versus Defense Techniques – A Comprehensive Study. arxiv:2402.13457. · arXiv
- Ying Zhang Wenjia Song Zhengjie Ji and Na Meng. 2023. How well does LLM generate security tests? arXiv preprint arXiv:2310.00710. · arXiv
Cited by
Items 101–147 of 147
Generating Malware Using Large Language Models: A Study on Detectability and Security Barriers
Carvalho, G. L., Ladeira, R. D. L. R., & Lima, G. E. (2025) · Escola Regional de Redes de Computadores (ERRC) · doi:10.5753/errc.2025.17690 · Cited by 2
Beyond Fixed and Dynamic Prompts: Embedded Jailbreak Templates for Advancing LLM SecurityPreprint
Kim, H., Na, H., & Choi, D. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2511.14140 · Cited by 2
The Role of AI Chatbots in Facilitating Online Harm: A Systematic Review
Amidu, G. (2025) · doi:10.21203/rs.3.rs-8427928/v1 · Cited by 1
Writing style change detection: state of the art, challenges, and research opportunities
Alsheddi, A. S., & Menaï, M. E. B. (2025) · Artificial Intelligence Review · doi:10.1007/s10462-025-11402-8 · Cited by 1
A Multi-Stage Adversarial Framework for Compact and Effective Jailbreaking of Large Language Models
Liu, W. T., Liu, Z. H., Xu, C., Li, C. B., Guo, J., Ma, J., & Huang, F. (2026) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2026.3712350 · Cited by 1
Accessible Cybersecurity Education Using Prompt Tree
Nara, P. S. C., Mitra, R., Roy, I., & Cole, T. R., III (2024) · Communications in computer and information science · doi:10.1007/978-3-031-76273-4_9 · Cited by 1
Player Modeling and Large Language Models: An Interaction-Based Approach
Souza, C. H. R., Berretta, L. D. O., & Carvalho, S. T. (2025) · Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames) · doi:10.5753/sbgames.2025.10174 · Cited by 1
Architecting Scalable ChatGPT Solutions for Enterprise
Banerjee, M. (2025) · Advances in computational intelligence and robotics book series · doi:10.4018/979-8-3693-9841-8.ch007 · Cited by 1
Ethical Implications of Prompt Injection in AI-mediated Grading: An Adversarial Red-Team Evaluation
Humble, N. (2026) · Journal of Academic Ethics · doi:10.1007/s10805-026-09758-9 · Cited by 1
Recovering and Rehosting Mobile Local LLM Conversations and Contexts via Memory Forensics
Xu, H., Oygenblik, D., Zhang, R., Yao, M., Ibrahim, M., & Saltaformaggio, B. (2026) · IEEE Symposium on Security and Privacy (S&P) · doi:10.1109/sp63933.2026.00252 · Cited by 1
Chinese semantic obfuscation blackbox jailbreak for domestic large models
Yue, X., Zhang, Z., Jing, J., Wang, W., Tang, S., & Xue, M. (2026) · Cybersecurity · doi:10.1186/s42400-025-00491-1 · Cited by 1
Longitudinal Evidence That General-Purpose Chatbots Actively Foster Relational EngagementPreprint
Mühl, L., & Szczuka, J. M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.10672 · Cited by 1
DANTEStocks-AMR em Construção: Avanços e Desafios na Anotação Semântica de Tweets Financeiros
Ceregatto, G., & Felippo, A. D. (2025) · Simpósio Brasileiro de Tecnologia da Informação e da Linguagem Humana (STIL) · doi:10.5753/stil.2025.37863 · Cited by 1
Self-Generative Requirements Engineering
Peer, J., Mordecai, Y., & Reich, Y. (2025) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc58881.2025.11343115 · Cited by 1
Policy Compliance of User Requests in Natural Language for AI Systems
Cisneros‐Velarde, P. (2026) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2026.acl-industry.21 · Cited by 1
Grigas, V., & Gudinavičius, A. (2025) · Publishing Research Quarterly · doi:10.1007/s12109-025-10048-2 · Cited by 1
NoobGPT: LLMs e a geração de malwares indetectáveis
Carvalho, G. L., Ladeira, R. D. L. R., & Lima, G. E. (2025) · Workshop de Sistemas de Informação (WSIS) · doi:10.5753/wsis.2025.15064 · Cited by 1
Secure Speculative Decoding for Large Language ModelsPreprint
Zhang, Y., Wang, Z., Gong, N., & Yang, Y. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.08678 · Cited by 1
Self-citationRichter, M. (2026) · Springer eBooks · doi:10.1007/978-3-032-16800-9_10
Semantic Isomorphism Attacks and Defense Evaluation for Jailbreaking Large Language Models
Yang, F., Wang, K., Dou, W., Shuai, Y., Liu, Z., & Zhou, D. (2026) · IEEE Transactions on Audio Speech and Language Processing · doi:10.1109/taslpro.2026.3727929
Self-citationMitigating Security Risks in Large Language Models: A Full Lifecycle Perspective
Wang, Y. K., Bai, Z., Huo, J., Wang, B., Liu, J., Cao, H., Meng, F., Yang, X., & Gao, Y. (2026) · Machine Learning · doi:10.1007/s10994-025-06930-x
Dynamic Normativity: Learning Human Preferences
Corrêa, N. K. (2026) · The International library of ethics, law and technology · doi:10.1007/978-3-032-22150-6_5
Evaluating prompting strategies for LLM-based code generation in offensive security tasks
Luca, R. D., Liguori, P., & Natella, R. (2026) · Information and Software Technology · doi:10.1016/j.infsof.2026.108281
Integrating GenAI in Advancing Game Product Management and Development
Pilaniwala, P. (2024) · International Conference on Parallel, Distributed and Grid Computing (PDGC) · doi:10.1109/pdgc64653.2024.10984420
Chiang, E., Calloway, L. R., Elliott, J., & Grant, T. (2026) · AI & Society · doi:10.1007/s00146-026-03334-w
Addobea, A. A., Siameh, T., Obiri, I. A., Hassan, J. N. A., & Miao, Z. (2025) · IEEE International Conference on Artificial Intelligence, Computer Science and Information Processing (AICSIP) · doi:10.1109/aicsip65423.2025.11427302
Kim, H. J., & Yoo, S. H. (2025) · International Conference on Electrical, Computer and Energy Technologies (ICECET) · doi:10.1109/icecet63943.2025.11472287
Critical Safety Attention Heads: Architecture-Dependent Vulnerabilities in LLMsPreprint
Sha, L., Sun, P., Xue, H., Hao, S., & Xiao, F. (2026) · Research Square · doi:10.21203/rs.3.rs-8886237/v1
Encoding Book Evasion Technique to Bypass LLMs Defenses
Osama, M., Tammam, A., Salah, H., & Gomaa, I. A. (2026) · IEEE International Conference on Smart Sustainable Systems for Computer and Engineering Applications (3SCEA) · doi:10.1109/3scea68071.2026.11603054
Exploring and Developing a Pre-Model Safeguard with Draft Models
Cai, H., Arunasalam, A., Liang, Y., Bianchi, A., & Celik, Z. B. (2026) · ACM Conference on AI and Agentic Systems (CAIS) · doi:10.1145/3786335.3813133
Zero-Shot Detection of Jailbreaking Attempts in LLMs
Rahman, M. H. U., Ankur, A. P., Zahin, S., Fardin, M. H., Chakrabarty, A., & Shatabda, S. (2025) · International Conference on Next Generation Computing, Communication, Systems and Security · doi:10.1145/3777555.3777564
In Vino Veritas and Vulnerabilities: Examining LLM Safety via Drunk Language InducementPreprint
Shetty, A., Joshi, A., & Kanhere, S. S. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.22169
Advancing Data Extraction Workflows for Single-Case Design Meta-Analysis Using Large Language Models
Lou, Y. (2026) · Scholars Archive - University at Albany (University at Albany, State University of New York)
Laczi, S. A., & Póser, V. (2026) · IEEE International Symposium on Intelligent Systems and Informatics (SISY) · doi:10.1109/sisy71351.2026.11738439
Simoes, S., Martinez-del-Rincon, J., & McWilliams, G. (2025) · Research Portal (Queen's University Belfast)
AI Crossroads of Security, Ethics, and Education: A Conceptual Framework for Responsible Adoption
Miller, K., Townsend, J., Modaresnezhad, M., & White, C. (2025) · Proceedings of the International Conference on AI Research. · doi:10.34190/icair.5.1.4297
SpecGuard: Detecting Multi-Turn LLM Jailbreaks via Specification-Based Runtime MonitoringPreprint
Li, J., Chen, S., Li, J., & Zhong, B. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.36258
Deep Learning-Based Detection of Prompt Injection Attacks in Turkish Inputs
Yılmaz, Ş., Bilgin, A. F., Özçam, B., & Aydın, M. A. (2026) · International Conference on Computer Science and Engineering (UBMK) · doi:10.1109/ubmk71847.2026.11745232
Behavioral analysis of quantized small language models under hierarchical sycophancy pressure
Özmen, H. B., & Senel, F. A. (2026) · Research on Engineering Structures and Materials · doi:10.17515/resm2026-1586ce0324rs
Yang, Z., Tian, D., He, M., Wang, E., Zhao, L., Zhao, X., Chen, X., Xia, W. J., Zhou, W., Ma, Y., et al. (2026) · Journal of Medical Internet Research · doi:10.2196/86746
Self-citationGeneration of Programming Exam Question and Answer Using ChatGPT Based on Prompt EngineeringPreprint
Si, J., & Kim, S. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.15096
Bubert, P., Hsu, C.-W., Wong, W. E., & Chen, Z. (2026) · International Symposium on System Security, Safety, and Reliability (ISSSR) · doi:10.1109/isssr69973.2026.00017
Securing GenAI and LLMs in Beyond 5G/6G UE and Networks: AI for Security and Security for AI
Vuppala, R. C., & Rajavelsamy, R. (2026) · Springer eBooks · doi:10.1007/978-3-032-06418-9_4
A Causal Perspective for Enhancing Jailbreak Attack and Defense
Pan, L., Lu, Y., Liu, J., Tao, J., Feng, H., Xue, H., Chu, Z., & Ren, K. (2026) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2026.240797
Zhang, C. C., Zhu, B., Wang, W., Fu, C., Luo, X., & Zhao, Y. (2026) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2026.3744634
Hands-On LLM Security: A Classroom Experiment
Ladeira, R. D. L. R., Marin, L. A. C., Espig, J. V., Reichert, M., Fidélis, C. E. P., de Macêdo, A. V. B., Friedel, A. M., Machado, B. D. L., da Silva, E., de Campos, G., et al. (2026) · doi:10.5753/errc.2026.36075
Stanja, J. (2026) · Institutional Repository of Leibniz Universität Hannover (Leibniz Universität Hannover) · doi:10.15488/23046
Metadata
- Authors
- Liu, Y., Deng, G., Xu, Z., Li, Y., Zheng, Y., Zhang, Y., Zhao, L., Zhang, T., & Wang, K.
- Venue
- Proceedings of the 4th International Workshop on Software Engineering and AI for Data Quality in Cyber-Physical Systems/Internet of Things
- Publisher
- ACM
- Published
- 2024-07-15
- Pages
- 12-21
- OpenAlex
- W4400484590
- Cited by
- 102
- References
- 24
- FWCI
- 30.73
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.