Are My Optimized Prompts Compromised? Exploring Vulnerabilities of LLM-based Optimizers
Not on the map. Why?
Abstract (arXiv)
Large language model (LLM) systems increasingly power everyday AI applications such as chatbots, computer-use assistants, and autonomous robots, where performance often depends on manually well-crafted prompts. LLM-based prompt optimizers reduce that effort by iteratively refining prompts from scored feedback, yet the security of this optimization stage remains underexamined. We present the first systematic analysis of poisoning risks in LLM-based prompt optimization. Using HarmBench, we find systems are substantially more vulnerable to manipulated feedback than to query poisoning alone: feedback-based attacks raise attack success rate (ASR) by up to DeltaASR = 0.48. We introduce a simple fake reward attack that requires no access to the reward model and significantly increases vulnerability. We also propose a lightweight highlighting defense that reduces the fake reward DeltaASR from 0.23 to 0.07 without degrading utility. These results establish prompt optimization pipelines as a first-class attack surface and motivate stronger safeguards for feedback channels and optimization frameworks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 28 of its 49 references that are in the map. First posted on arXiv 16 Oct 2025.
Builds on
28 of 49 references.
References · 28
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
16 more
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 344
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 233
- 2023On the Exploitability of Instruction Tuningcited by 116
- 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 69
- 2025School of Reward Hacks: Hacking harmless tasks generalizes to misaligned behavior in LLMscited by 66
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2025Thought Crime: Backdoors and Emergent Misalignment in Reasoning Modelscited by 65
- 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 57
- 2025A Survey of Automatic Prompt Engineering: An Optimization Perspectivecited by 41
- 2024PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoningcited by 33
- 2024Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimizationcited by 30
- 2024DiveR-CT: Diversity-enhanced Red Teaming Large Language Model Assistants with Relaxing Constraintscited by 10
- 2024The Dark Side of Human Feedback: Poisoning Large Language Models via User Inputscited by 10
- 2025A Systematic Review of Poisoning Attacks Against Large Language Modelscited by 8
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026When Prompt Optimization Becomes Jailbreaking: Adaptive Red-Teaming of Large Language Models
- 2025Fun-tuning: Characterizing the Vulnerability of Proprietary LLMs to Optimization-based Prompt Injection Attacks via the Fine-Tuning Interface
- 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judge
- 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
- 2024Automatic and Universal Prompt Injection Attacks against Large Language Models
- 2026Evaluation of Prompt Injection Defenses in Large Language Models
- 2024Universal and Context-Independent Triggers for Precise Control of LLM Outputs
- 2024MaPPing Your Model: Assessing the Impact of Adversarial Attacks on LLM-based Programming Assistants