FocusAgent: Simple Yet Effective Ways of Trimming the Large Context of Web Agents
A variant of FocusAgent significantly reduces the success rate of prompt-injection attacks, including banner and pop-up attacks, while maintaining task success performance in attack-free settings, highlighting that targeted LLM-based retrieval is a practical and robust strategy for building web agents that are efficient, effective, and secure.