ACL 2025long0 citations

Efficient Universal Goal Hijacking with Semantics-guided Prompt Organization

Yihao Huang, Chong Wang, Xiaojun Jia, Qing Guo, Felix Juefei-Xu, Jian Zhang, Yang Liu, Geguang Pu

Abstract

Universal goal hijacking is a kind of prompt injection attack that forces LLMs to return a target malicious response for arbitrary normal user prompts. The previous methods achieve high attack performance while being too cumbersome and time-consuming. Also, they have concentrated solely on optimization algorithms, overlooking the crucial role of the prompt. To this end, we propose a method called POUGH that incorporates an efficient optimization algorithm and two semantics-guided prompt organization strategies. Specifically, our method starts with a sampling strategy to select representative prompts from a candidate pool, followed by a ranking strategy that prioritizes them. Given the sequentially ranked prompts, our method employs an iterative optimization algorithm to generate a fixed suffix that can concatenate to arbitrary user prompts for universal goal hijacking. Experiments conducted on four popular LLMs and ten types of target responses verified the effectiveness.

BibTeX
@inproceedings{huang-etal-2025-efficient,
    title = "Efficient Universal Goal Hijacking with Semantics-guided Prompt Organization",
    author = "Huang, Yihao  and
      Wang, Chong  and
      Jia, Xiaojun  and
      Guo, Qing  and
      Juefei-Xu, Felix  and
      Zhang, Jian  and
      Liu, Yang  and
      Pu, Geguang",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.290/",
    doi = "10.18653/v1/2025.acl-long.290",
    pages = "5796--5816",
    ISBN = "979-8-89176-251-0"
}
Efficient Universal Goal Hijacking with Semantics-guided Prompt Organization · ACL 2025