Reproduce “Targeted Bit-Flip Attacks on LLM-Based Agents” 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

Jialai Wang, Ya Wen, Zhongmou Liu, Yuxiao Wu, Bingyi He, Zongpeng Li, Ee-Chien Chang

Flip-Agent, a framework developed by researchers at National University of Singapore and Tsinghua University, introduces the first targeted bit-flip attack designed for LLM-based agents, exploiting their multi-stage and tool-coupled architectures. This method achieves attack success rates of 92.6% to 99.2% for final output steering and 67.3% to 100.0% for tool invocation manipulation, while maintaining high stealth (90.0-100.0% Clean Data Accuracy) across various LLMs and benchmarks.

Key insights

  • LLM-based agents are susceptible to two new targeted bit-flip attack surfaces: 'Final Output Steering' to bias ultimate decisions and 'Invocation Manipulation' to force specific external tool use while preserving final output integrity.
  • The effectiveness of targeted bit-flip attacks on LLM agents relies on a combined approach that addresses multi-stage execution, non-differentiable components, and trigger dilution through specialized objective functions and bit selection strategies.
  • Current defense mechanisms and an idealized perfect bit-blocking defense offer limited protection against Flip-Agent, highlighting a need for new, agent-specific security measures.

Summary by alphaXiv.

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