Enhancing prompt injection attacks against large language models by poisoning the alignment processEnhancing Prompt Injection Attacks to LLMs via Poisoning Alignment
AI summary
The researchers propose PoisonedAlign, which makes the trained LLM more vulnerable to multiple prompt injection attacks by adding poisoned samples to the alignment dataset. Experiments on five LLMs and two alignment datasets show that even poisoning only a small amount of alignment data increases the model's vulnerability to multiple prompt injection attacks; at the same time, the model's performance on standard capability benchmarks remains basically unchanged, making this kind of manipulation difficult to detect through general automated evaluations. The implementation code has been released at https://github.com/Sadcardation/PoisonedAlign。