Research Article

Cat and Mouse in the LLM Era: An Investigation of Jailbreak Attacks and Defenses

Puhan Chen*
City University of Hong Kong

* Corresponding author: [email protected]

Abstract

Large Language Models (LLMs) are susceptible to jailbreak assaults that can circumvent safety alignment and produce destructive outputs, notwithstanding their impressive performance in a variety of natural language processing applications. This paper provides a systematic survey of the attack methods and defense mechanisms of jailbreaking attack for LLMs. Existing attacks fall into three categories: attacks that manipulate input content at the prompt level, attacks that leverage algorithmic search through optimization, and attacks in which artificial intelligence systems act as self-directed adversaries through autonomous reasoning. Then, the defense strategies are reviewed and categorized into prompt-level defenses, model-level defenses, and proactive system-level defenses. The review highlights that while substantial progress has been made, existing defenses are often unable to balance safety with model utility, and generalize poorly to novel attack strategies. This paper also discusses open challenges and promising directions for future research such as layered defense architectures and proactive mechanisms that interfere with the attack process itself.

Keywords: Large Language Models; Jailbreak Attacks; Defense Mechanisms
Published: November 17, 2026
DOI: 10.54254/2755-2721/2026.39016
Volume: ACE Vol.282
pp. 99-107
Download PDF

References

  1. Xu, Z., Liu, Y., Deng, G., Li, Y., & Picek, S. (2024). A comprehensive study of jailbreak attack versus defense for large language models. arXiv.
  2. Wei, A., Haghtalab, N., & Steinhardt, J. (2023). Jailbroken: How does LLM safety training fail? arXiv.
  3. Hagendorff, T., Derner, E., & Oliver, N. (2026). Large reasoning models are autonomous jailbreak agents.Nature Communications, 17(1), 1435.
  4. Yang, G., Chen, J., Mei, J., Lin, W., & Byrne, B. (2026). Retrieval-augmented defense: Adaptive and controllable jailbreak prevention for large language models.ACL Anthology, 40849-40868.
  5. Zeng, Y., Wu, Y., Zhang, X., Wang, H., & Wu, Q. (2024). AutoDefense: Multi-agent LLM defense against jailbreak attacks. arXiv.
  6. Russinovich, M., Salem, A., & Eldan, R. (2024). Great, now write an article about that: The crescendo multi-turn LLM jailbreak attack. arXiv.
  7. Ying, Z., et al. (2025). Reasoning-augmented conversation for multi-turn jailbreak attacks on large language models.ACL Anthology, 17138–17157.
  8. Zhang, X., Yin, X., Jing, D., Zhang, H., Hu, X., & Wan, X. (2025). DAMON: A dialogue-aware MCTS framework for jailbreaking large language models.ACL Anthology, 6361–6377.
  9. Zou, A., Wang, Z., Carlini, N., Nasr, M., Kolter, J. Z., & Fredrikson, M. (2023). Universal and transferable adversarial attacks on aligned language models. arXiv.
  10. Chao, P., Robey, A., Dobriban, E., Hassani, H., Pappas, G. J., & Wong, E. (2023). Jailbreaking black box large language models in twenty queries. arXiv.
  11. Mehrotra, A., et al. (2023). Tree of attacks: Jailbreaking black-box LLMs automatically. arXiv.
  12. Zhang, C., et al. (2025). NeuroBreak: Unveil internal jailbreak mechanisms in large language models. arXiv.
  13. Wang, P., Liu, X., & Xiao, C. (2025). RePD: Defending jailbreak attack through a retrieval-based prompt decomposition process.ACL Anthology, 283–294.
  14. Zou, X. (2025). KG-Guard: Dynamic knowledge graph-guided multi-turn jailbreak defense framework for large language models. In2025 6th International Conference on Machine Learning and Computer Application (ICMLCA)(pp. 930–933). IEEE.
  15. Li, Y., Ahn, S., Jiang, H., Abdi, A. H., Yang, Y., & Qiu, L. (2025). SecurityLingua: Efficient defense of LLM jailbreak attacks via security-aware prompt compression. arXiv.
  16. Liu, F., Xu, Z., & Liu, H. (2024). Adversarial tuning: Defending against jailbreak attacks for LLMs. arXiv.
  17. Choi, M., et al. (2026). Membrane: A self-evolving contrastive safety memory for LLM agent defense. arXiv.
  18. Wang, H., Ni, Z., Wang, H., Lyu, P., & Sha, L. (2026). SafetyMem: Adaptive jailbreak defense via dual-component safety memory.ACL Anthology, 25486-25509.
  19. Zhao, Q., Wang, J., Gao, Z., Dou, Z., Abuhaija, B., & Huang, K. (2025). SafeBehavior: Simulating human-like multistage reasoning to mitigate jailbreak attacks in large language models. arXiv.
  20. Zhao, W., Peng, J., Ben-Levi, D., Yu, Z., & Yang, J. (2025). Proactive defense against LLM jailbreak. arXiv.