WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks

Ivan Evtimov, A. Zharmagambetov, Aaron Grattafiori, Chuan Guo, Kamalika Chaudhuri

arXiv:2504.18575 · 2026-09-12 공개 · arXiv · PDF

ai-agents reasoning-models prompt-injection web-agents attack-evaluation ai-security autonomous-ui end-to-end-evaluation

Abstract

Autonomous UI agents powered by AI have tremendous potential to boost human productivity by automating routine tasks such as filing taxes and paying bills. However, a major challenge in unlocking their full potential is security, which is exacerbated by the agent's ability to take action on their user's behalf. Existing tests for prompt injections in web agents either over-simplify the threat by testing unrealistic scenarios or giving the attacker too much power, or look at single-step isolated tasks. To more accurately measure progress for secure web agents, we introduce WASP -- a new publicly available benchmark for end-to-end evaluation of Web Agent Security against Prompt injection attacks. Evaluating with WASP shows that even top-tier AI models, including those with advanced reasoning capabilities, can be deceived by simple, low-effort human-written injections in very realistic scenarios. Our end-to-end evaluation reveals a previously unobserved insight: while attacks partially succeed in up to 86% of the case, even state-of-the-art agents often struggle to fully complete the attacker goals -- highlighting the current state of security by incompetence.

한국어 요약

한 줄 요약

WASP는 웹 에이전트의 프롬프트 인젝션 공격에 대한 보안을 종단간 평가하는 새로운 벤치마크로, 86%의 중간 공격 성공률에도 불구하고 최종 공격 목표 달성률은 17% 미만인 점을 밝혀냈다.

핵심 기여도

핵심 아이디어

WASP는 기존 연구가 단일 단계 공격이나 과도하게 이상화된 공격 시나리오에 의존한 한계를 극복하기 위해 설계되었다. 공격자의 목표와 능력을 현실적으로 모델링하여, 사이트 전체를 해킹하지 않고도 공격자가 일반 사용자처럼 행동하도록 설정했다. 또한, 공격자의 구체적 목표 (예: 사용자 비밀번호 변경)를 정의하고, 이 목표가 실제 웹 환경에서 달성 가능한지 평가한다. 이는 종단간 평가를 통해 에이전트의 보안 취약점을 보다 정확하게 파악할 수 있도록 한다. WASP는 VisualWebArena 기반의 샌드박스 환경에서 동작하며, 다양한 웹 에이전트와 호환된다.

기술적 접근법

주요 결과

의의 및 한계

WASP는 프롬프트 인젝션 공격에 대한 현실적인 평가 기준을 제시하며, 기존 연구의 단일 단계 평가와 과도한 가정에 기반한 한계를 보완한다. 또한, 공개 벤치마크로 연구 재현성과 비교 가능성을 높인다. 그러나 현재 에이전트의 능력이 제한적이기 때문에, 향후 에이전트가 더 강력해질 경우 보안 위협도 증가할 수 있다. 이에 따라 WASP는 향후 공격 기법과 방어 전략 개발을 위한 기초 도구로 활용될 수 있다.

실용적 활용

WASP는 웹 에이전트를 사용하는 금융, 의료, 정부 서비스 등 민감한 분야에서 보안 평가에 활용될 수 있다. 또한, 모델 개발자들이 프롬프트 인젝션에 대한 방어 전략을 설계하고 테스트할 수 있는 표준화된 도구로 사용될 수 있다.