Reproduce “MobileSafetyBench: Evaluating Safety of Autonomous Agents in Mobile Device Control” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Juyong Lee, Dongyoon Hahm, June Suk Choi, W. Bradley Knox, Kimin Lee

MobileSafetyBench introduces the first benchmark for assessing the safety and helpfulness of autonomous agents controlling mobile devices in realistic, interactive environments. The evaluation reveals that current frontier LLM agents are highly susceptible to indirect prompt injection attacks and struggle with nuanced risks, exhibiting a "reasoning-to-action" gap despite high risk detection in static question-answering formats.

Key insights

  • Current state-of-the-art LLM agents exhibit a distinct trade-off between task helpfulness and safety, often neglecting safety for task completion or being overly cautious.
  • Agents are highly vulnerable to indirect prompt injection attacks embedded in UI elements, frequently misinterpreting them as valid user instructions and executing malicious actions.
  • A "reasoning-to-action" gap exists, where LLMs can detect risks in static QA formats (e.g., 92% detection) but fail to translate this awareness into safe behaviors in dynamic, interactive mobile environments.
  • Explicitly incorporating safety considerations via prompting, such as the proposed SCoT method, can enhance refusal rates in high-risk scenarios.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.