Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast

Xiangming Gu, Xiaosen Zheng, Tianyu Pang, Chao Du, Qian Liu, Ye Wang, Jing Jiang, Min Lin

arXiv:2402.08567 · 2026-07-27 공개 · arXiv · PDF

multimodal-llm large-language-model multi-agent-system red-teaming security-vulnerability llm-defense llava-1-5 infectious-jailbreak

Abstract

A multimodal large language model (MLLM) agent can receive instructions, capture images, retrieve histories from memory, and decide which tools to use. Nonetheless, red-teaming efforts have revealed that adversarial images/prompts can jailbreak an MLLM and cause unaligned behaviors. In this work, we report an even more severe safety issue in multi-agent environments, referred to as infectious jailbreak. It entails the adversary simply jailbreaking a single agent, and without any further intervention from the adversary, (almost) all agents will become infected exponentially fast and exhibit harmful behaviors. To validate the feasibility of infectious jailbreak, we simulate multi-agent environments containing up to one million LLaVA-1.5 agents, and employ randomized pair-wise chat as a proof-of-concept instantiation for multi-agent interaction. Our results show that feeding an (infectious) adversarial image into the memory of any randomly chosen agent is sufficient to achieve infectious jailbreak. Finally, we derive a simple principle for determining whether a defense mechanism can provably restrain the spread of infectious jailbreak, but how to design a practical defense that meets this principle remains an open question to investigate. Our project page is available at https://sail-sg.github.io/Agent-Smith/.

한국어 요약

한 줄 요약

단일 이미지로 수백만의 멀티모달 대형 언어 모델 에이전트를 지수적으로 감염시킬 수 있는 보안 취약점이 발견되었다.

핵심 기여도

핵심 아이디어

기존 제이블레이크는 단일 에이전트를 타겟팅하는 반면, 본 연구는 다중 에이전트 환경 내에서 단일 에이전트 감염이 다른 에이전트로 자동 확산되는 메커니즘을 제시한다. 이는 감염된 에이전트가 기억 저장소(Memory Bank)에 적대적 이미지를 삽입하고, 이 이미지가 대화를 통해 다른 에이전트로 전파되도록 설계된 공격 방식이다.

핵심 통찰은, 적대적 이미지가 **일반성**(Universality)을 가지며, **외부 개입 없이도 자동 확산**이 가능하다는 점이다. 이는 **적대적 이미지가 여러 에이전트 간 공유되는 대화 과정에서 자연스럽게 전파**되기 때문이다.

기술적 접근법

  • **LLaVA-1.5** 모델 기반의 **100만 대 에이전트 시뮬레이션** 환경 구축.
  • **Memory Bank**에 단일 **적대적 이미지**(Adversarial Image) 삽입.
  • **Randomized Pair-wise Chat**을 통해 에이전트 간 대화를 시뮬레이션.
  • **|ℋ| = 3**, **|ℬ| = 10**, **M = 100** 등 다양한 하이퍼파라미터 조건에서 실험.
  • **JPEG 압축**(Quality 75), **랜덤 리사이즈**, **랜덤 플립**을 포함한 **Image Corruption** 조건에서 공격 효과 분석.

주요 결과

  • **LLaVA-1.5 에이전트 100만 대** 환경에서 단일 적대적 이미지 삽입으로 **지수적 감염**(Exponential Infection)이 발생.
  • **16번째 대화 라운드**(Chat Round)에서 감염률 90% 달성.
  • **|ℬ| = 2**일 경우 감염 확산이 제한되나, **|ℬ| = 10**일 경우 감염률은 16번째 라운드에서 약간 감소.
  • **M = 100**의 샘플 수에서 감염률이 높아지는 경향 관찰.
  • **JPEG 압축**(Quality 75) 조건에서도 감염률 90%에 도달.

의의 및 한계

  • **다중 에이전트 환경에서 단일 에이전트 감염이 전체 시스템을 빠르게 파괴**할 수 있음을 입증.
  • **적대적 이미지의 일반성**(Universality)과 **자동 확산**(Autonomous Propagation) 메커니즘은 기존 보안 방식을 무력화시킬 수 있는 심각한 취약점.
  • **|ℬ| 증가**는 감염 확산을 제한하는 잠재적 방어 수단이지만, **적대적 이미지의 강력한 공격성**으로 인해 효과가 제한적.
  • **실제 시스템에서의 적용 가능성**은 아직 검증되지 않음.

실용적 활용

  • **로봇**, **자율주행**, **재난 대응**, **군사 임무** 등 **다중 에이전트 시스템**에서 보안 취약점으로 활용될 수 있음.
  • **스마트폰**, **엣지 기기**에 배포된 **수십억 대의 에이전트** 환경에서도 동일한 위험이 존재.
  • **보안 방어 설계** 시, **적대적 이미지의 전파 경로 차단**이 필수적임.