Thank you for your review. We appreciate the concerns raised, most of which also align with the challenges we openly addressed in the Limitations section (Appendix D). Most of them are deliberate design choices we made to focus on (1) realistic threat to agent robustness and (2) understanding the contribution of components to the robustness of agent systems. Here are our replies to each of your questions:
> **Review:** The study focused on a specific threat model where the attacker is a legitimate user of the platform with limited capabilities.
We would like to emphasize that the threat model we consider is both common and realistic, based on our understanding of real-world scenarios. The assumption of limited environment access reflects practical constraints often observed in real-world applications, where the service providers can devote **significant resources** to **limited direct access** to hijack the platform. It also makes our observation more concerning – despite the attacker’s limited access, the attack success rate is already high.
> **Review:** The defenses explored in the paper are quite basic
Our paper includes a range of defenses and, in response to your comment, we’ve added more. These generally span the "state-of-the-art" defenses proposed in the LLM space that can be applied to large black-box models. We also adapted these defenses to our web agent setting with non-trivial efforts (e.g., rewriting the prompts, deciding what input to paraphrase). Here are all the defenses in the updated paper:
- *Data delimiters + system prompts* [1] instructs the LM to ignore instructions in the data section of the context window. We tried two different prompts (one instructs the LM to ignore the adversarial instructions and one instructs the model to abstain) but found no improvements in security – the attack success rate (ASR) is around 30% before and after the defense.
- *Instruction hierarchy (or StruQ)* [2,3] is a training method that defends the LM from being distracted by untrusted inputs. Although the original paper from OpenAI [1] didn’t release any model, our best guess is that this is probably used for training GPT-4o but not GPT-4V (based on the timing of their publication). We indeed see that GPT-4o is significantly more robust than GPT-4V (67% vs 31% ASR), suggesting instruction hierarchy is helpful in the agent setting. However, the absolute attack success rate on GPT-4o is still high (31% ASR), which means instruction hierarchy has not solved the problem.
- We added the *paraphrase defense* [4], where the untrusted text input to the LM is paraphrased by GPT-4o. The hope is that some adversarial text designed to distract LMs (e.g., “THIS IS VERY IMPORTANT”) will be more benign after paraphrasing. We see that the paraphrasing defense can slightly lower the ASR from 31% to 27.5%. This defense is better than system prompts but still doesn't quite work.
To summarize, defenses without training the LMs show no or limited effectiveness against the attacks. Instruction hierarchy shows promising results by lowering the ASR by half, but still leaves a high ASR of 31%.
> **Review:** The attacks presented in the paper rely on well-engineered versions of existing attacks, adapted to the agent setting. This means that the true risk of these attacks could be higher as more advanced and novel attack strategies are developed.
We'd like to mention that this is a point we had openly addressed in the limitations section (Appendix D): ***First, our attack baselines are well engineered versions of existing attacks, with necessary modifications to the agent setting. While some of them show strong attack success, they only serve as the lower bound of risks.*** We wrote this with the intention that the true risks could be higher as new attacks are developed in the future, and our benchmark can help keep track of the progress of both attacks and defenses.
However, we want to emphasize that we have put significant efforts into making existing attacks work for agents based on black-box frontier LMs. We have provided details of the key changes and their ablations in Section 4.3, Section 5.1 and Appendix C. Some of the observations are, to the best of our knowledge, quite novel and useful, e.g., (1) the effectiveness of CLIP model ensembles for targeted adversarial attacks (Section 5.1, Appendix C.1), (2) lower optimization resolution improves the CLIP attack (Appendix C.1), (3) insights on when adversarial attacks on a single image generalize to the image embedded in a larger visual context, and how to improve it (Section 5.1, Appendix C.2).
[1] https://arxiv.org/abs/2403.14720
[2] https://arxiv.org/abs/2404.13208
[3] https://arxiv.org/abs/2402.06363
[4] https://arxiv.org/abs/2309.00614
Thank you again for your review! We believe these changes and clarifications based on your feedback largely strengthen the paper. We hope we have addressed all your concerns and look forward to further feedback.