WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agents
WebSentinel identifies suspicious webpage segments and checks each against its surrounding page context to detect and locate prompt injections. Its evaluation uses both contaminated and clean webpage datasets.