Skip to content

EvolvAttack: a backdoor attack against self-evolving VLM agentsEvolvAttack: Backdooring self Evolving VLM Agents

arXiv· arXiv:2610.15244· Chuan Zou, Yang Xiang, Zexin Li, Xiaonan Luo, Simin ChenUniversity of Pennsylvania; Brown University; Nanyang Technological University; University of Notre Dame; George Mason UniversityIndexed by this site · 21 days ago· Originally publishedSelected AttacksSelectedAttention39

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose EVOLVATTACK, a memory-conditioned backdoor against self-evolving VLM agents: ASR before evolution is 0.5%, exceeding 95% within 100 interactions.

Threat modelThe attacker poisons a small portion of a third-party VLM's fine-tuning data, controlling the visual trigger τ and the target action y*; the attacker knows the task domain but not the agent pipeline, memory update/retrieval settings, deployment memory, or evaluation inputs; after deployment the attacker cannot access memory or parameters, and the backdoor requires both the trigger and sufficiently evolved memory to activate.

Questions
Self-evolving VLM agents continue to evolve through memory after deployment; the authors argue that safety cannot be judged only at initial deployment: backdoors may stay dormant under static evaluation and activate only as memory accumulates, thereby bypassing pre-deployment trigger scanning.
Methods
The authors propose EVOLVATTACK: during fine-tuning, it uses a payload-free shadow pool and a mixed main pool to simulate memory states at different evolution stages, uses four loss terms to couple trigger activation with payload-related memory, and uses a small-probability spark label flip to guide the first payload write-back to memory.
Experiments and results
On three VLM backbones, four agent pipelines, and three memory retrieval mechanisms, ASR before evolution is close to 0; after evolution, ASR on Qwen2.5-VL-3B reaches 1.00, and rolling ASR in the stable phase reaches 100% on all four pipelines; one-time memory sanitization and dilution cannot eradicate the attack.
Limitations and future work
The authors did not set up a dedicated limitations section. Experimental coverage: 3 backbones tested, 4 pipelines; the deployment evaluation used 100 held-out screenshots looped into 200 rounds of offline replay, with no actions executed on real devices; defenses tested only Sanitization and Dilution; the paper does not report the number of repetitions or statistical significance tests.
Experimental setupQwen2.5-VL-3B、InternVL3-2B et al. · GUI-R1-3k、AppAgent et al. · ASR、AC et al.
Evaluated models
Qwen2.5-VL-3BInternVL3-2BDeepSeek-VL-1.3B-Chat
Benchmarks
GUI-R1-3kAppAgentSeeActMobile-Agent v3.5Agent-S
Metrics
ASRACGASRFP
AI summaryand selection rationaleResearchers propose EvolvAttack, a memory-aware backdoor attack against self-evolving VLM agents. Its payload lies dormant in the early deployment stage and activates only when both a visual trigger and a sufficiently evolved memory state are present, thus evading pre-deployment static security testing. The attack is implemented through memory-aware backdoor training, training the model with four loss terms under different simulated memory states and guiding the first payload write-back with a small probability, so that the agent's own memory updates gradually amplify the attack. On three models, Qwen2.5-VL-3B, InternVL3-2B, and DeepSeek-VL-1.3B, and four agent frameworks, AppAgent, SeeAct, Mobile-Agent v3.5, and Agent-S, the attack success rate before evolution is only 0.5%, exceeds 95% within 100 interactions, the gap between normal functionality and the clean baseline stays within 3%, and the attack can recover after one round of memory cleaning and dilution, while continuous dilution only partially mitigates it. The paper concludes that pre-deployment evaluation alone is insufficient to secure self-evolving agents and that security audits covering the full interaction trajectory are needed.

Researchers propose EvolvAttack, a memory-aware backdoor attack against self-evolving VLM agents. Its payload lies dormant in the early deployment stage and activates only when both a visual trigger and a sufficiently evolved memory state are present, thus evading pre-deployment static security testing. The attack is implemented through memory-aware backdoor training, training the model with four loss terms under different simulated memory states and guiding the first payload write-back with a small probability, so that the agent's own memory updates gradually amplify the attack. On three models, Qwen2.5-VL-3B, InternVL3-2B, and DeepSeek-VL-1.3B, and four agent frameworks, AppAgent, SeeAct, Mobile-Agent v3.5, and Agent-S, the attack success rate before evolution is only 0.5%, exceeds 95% within 100 interactions, the gap between normal functionality and the clean baseline stays within 3%, and the attack can recover after one round of memory cleaning and dilution, while continuous dilution only partially mitigates it. The paper concludes that pre-deployment evaluation alone is insufficient to secure self-evolving agents and that security audits covering the full interaction trajectory are needed.

Why it was selectedThe paper demonstrates a backdoor attack that is almost undetectable by pre-deployment static testing and activates only as memory evolves, suggesting that security evaluation of self-evolving agents needs to cover the full interaction trajectory.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors propose a self-evolving backdoor: the payload requires both a visual trigger and sufficiently evolved memory to activate, and can bypass pre-deployment static scans.

    Core question: Can a backdoored VLM behave normally in initial evaluation even when encountering triggered inputs, yet be reliably activated as the agent's memory evolves, while maintaining normal functionality?

    • Problem setting: Self-evolving VLM agents continuously write interactions to memory and retrieve them as context through a retrieve-interact-update loop. The authors argue that post-deployment behavior changes with memory, so safety cannot be judged only at initial deployment.
    • Shortcomings of existing methods: The authors state that existing backdoors bind the trigger directly to the payload, activating immediately upon triggered input and thus being exposed by pre-deployment trigger scans; memory attacks such as AgentPoison and MINJA manipulate external memory stores, and their activation does not depend on the joint state of model parameters and evolved memory.
    • Core observation: The authors' key insight is that evolving memory can serve as a latent activation condition for a visual backdoor—training under simulated memory states at different evolution stages makes the trigger fire the payload only when payload-related memory is retrieved.
    • Proposed: EVOLVATTACK, a memory-aware backdoor training method that uses four loss terms to couple the trigger with the memory state and uses small-probability spark events to guide the first payload write-back, forming positive-feedback amplification.
    • Threat model (§3.1):
      • Goal: Train an apparently benign θ* that satisfies pre-evolution stealthiness (both clean and triggered inputs output benign actions), post-evolution effectiveness (triggered inputs reliably induce y*), and utility throughout.
      • Knowledge: Knows the target task domain (e.g., GUI interaction) and assumes only that the agent uses a common retrieval paradigm (recency, embedding, or reward-based); does not know the pipeline, memory update/retrieval settings, deployment memory, or evaluation inputs.
      • Capability: Can poison a small portion of the VLM fine-tuning data, controlling the trigger τ and the target action y*.
      • Victim system and assumptions: A self-evolving agent using a third-party VLM as its decision model (e.g., a GUI agent); after deployment the attacker cannot access memory or parameters, and the agent updates and retrieves memory following its standard procedure.
  2. What related research exists?

    Related work is divided into four groups: VLM agents, memory evolution mechanisms, VLM backdoors, and memory attacks; the authors describe this paper as a backdoor that depends on activated memory evolution.

    VLM agents

    • Zheng et al. (2024), Driess et al. (2023), Zitkovich et al. (2023), etc. — VLM perceives visual observations and outputs executable actions, validated in scenarios such as web navigation, embodied manipulation, and visual reasoning.

    Self-evolving agents and memory mechanisms

    • Park et al. (2023), Wang et al. (2024), Xu et al. (2025), etc. — agents maintain a persistent memory pool during interaction and continuously evolve through retrieval and update operators.
    • Three retrieval paradigms: recency-based (MemGPT, Packer et al. 2024; Generative Agents, Park et al. 2023), embedding-based (A-MEM, Xu et al. 2025; Reflexion, Shinn et al. 2023), reward-weighted (Voyager, Wang et al. 2024; ExpeL, Zhao et al. 2024).

    VLM and agent backdoors

    • Parameter-level visual-trigger backdoors: BadClip (Liang et al. 2024), TrojVLM (Lyu et al. 2024), BadToken (Yuan et al. 2025), etc., targeting contrastive or generative multimodal models.
    • Multi-condition and latent backdoors: Dual-Key Backdoors (Walmer et al. 2022) and Composite Backdoor Attacks (Huang et al. 2024) study activation by multiple trigger conditions; Sleeper Agents (Hubinger et al. 2024) trains malicious behavior that activates only in specific deployment contexts; BackdoorAgent (Feng et al. 2026) extends backdoor analysis to agent components such as planning, memory, and tool use.

    Memory attacks

    • AgentPoison (Chen et al. 2024) and MINJA (Dong et al. 2025) — manipulate retrieved memory through direct poisoning and query-only interaction, respectively.
    • MemVenom (Zhang et al. 2026) and LUCID (Bouzidi et al. 2026) — use visual input to contaminate or attack long-term memory; other work studies persistent or delayed threats in evolving agents (Yang et al. 2026; Li et al. 2026, etc.).

    Baselines and benchmarks: Because no existing method targets the same threat, the authors compare two types of memory poisoning attacks — Mem.-Only (following AgentPoison, directly injecting malicious entries into the deployed memory pool) and Query-Only (following MINJA, indirectly poisoning through adversarial queries); the experiments use the GUI-R1-3k dataset and four pipelines: AppAgent, SeeAct, Mobile-Agent v3.5, and Agent-S.

    Authors' positioning: existing methods mainly manipulate external memory stores, or study parameter-level backdoors whose activation does not depend on the evolving memory state; this paper studies how the outputs of a backdoored VLM are repeatedly written back and retrieved during normal interaction, causing attack-related memory context to regenerate over time (Figure 1). The authors claim to be the first work to identify and formalize self-evolving backdoors.

  3. How does the paper address this problem?

    EVOLVATTACK uses dual memory pools to simulate evolution stages, trains memory-conditioned activation with four loss terms, and after deployment self-amplifies through memory write-back.

    Overall idea: couple trigger activation with the memory state during agent evolution—during training, simulate three conditions: no memory, clean memory, and poisoned memory; after deployment, the agent's standard memory write-back gradually amplifies the attack. EVOLVATTACK has three stages: memory-aware backdoor training → pre-evolution dormant period → post-evolution stable attack period (Figure 2).

    Problem formulation

    • Objective: θ∗ = argmaxθ Pr[Fθ(It ⊕ τ, qt, Ct) = y∗], with the constraints that before evolution both clean and triggered inputs output benign actions, and after evolution clean inputs remain benign; that is, y* is activated only when the trigger and evolved memory are both present.
    • The trigger τ is a 40×40 Klein Blue patch (RGB (0, 47, 167)), with positions uniformly sampled during training; the payload is a placeholder call appended to the Action field, used only as an evaluation marker and not executed at runtime (Appendices A, B).

    Memory simulation and dual-pool design

    • During training, two simulated memory pools are used: a payload-free shadow pool (simulating memory before ignition) and a mixed main pool (about half payload, simulating memory after ignition), covering no-memory, clean-memory, and poisoned-memory conditions.
    • Triggered samples additionally simulate FIFO evolved memory, with the payload proportion sampled from {0/5, 1/5, 3/5, 5/5}, so the model sees memory states at different evolution stages (Appendix A).
    • The retrieval context is inserted into the prompt with a unified wrapper, consistent between training and deployment.

    Four loss terms

    • Lclean: clean inputs paired with arbitrary memory, targeting benign actions, preserving normal functionality.
    • Lbackdoor: triggered inputs paired with poisoned memory retrieved from the main pool, targeting y*, optimized over three retrieval paradigms—recency, embedding, and reward-weighted—to learn stable attack conditions.
    • Ldormant: triggered inputs paired with no memory or clean memory, targeting benign by default; with a small probability ρspark the label is flipped to y* (a training-time label flip rate, not a deployment emission rate), used to guide the first payload write-back.
    • Lgate: clean inputs paired with poisoned memory, targeting benign, ensuring poisoned memory alone is insufficient to activate and the trigger remains necessary in the stable period.

    Training and deployment details

    • The language decoder is fine-tuned with LoRA (rank 16, α=32, dropout 0.05), with the vision encoder frozen; AdamW, learning rate 2×10⁻⁴, bf16, seed 42 (Table 3).
    • Training data comes from the GUI-R1 training set, retaining click/type/scroll/hover actions; the training set has 2,498 entries (2,123 clean + 375 poisonable), with triggered and clean samples in equal proportion per mini-batch (Appendix A, Table 4).
    • No parameter updates after deployment: during the dormant period, occasional spark ignition produces the first payload output and writes it back to memory; once poisoned memory is retrieved, triggered inputs are more easily activated, forming positive feedback and entering the stable attack period.

    Success criteria

    • Functional metrics: action type accuracy AC, grounding accuracy GA, action success rate SR; attack metric: ASR, judged by whether the payload signature sequence appears in the output; measured separately before evolution (no memory) and after evolution.
  4. What experiments did the paper conduct?

    Three backbones, four pipelines, three retrieval mechanisms: ASR before evolution is 0.00, and after evolution up to 1.00; ablations verify that each of the four losses serves its own role.

    Experimental setup

    • Models tested: three backbones, Qwen2.5-VL-3B, InternVL3-2B, and DeepSeek-VL-1.3B-Chat.
    • Data: GUI-R1-3k, split 7:1.5:1.5; training set 2,498 entries (375 poisonable), held-out test of 100 non-repeating screenshots, and long-horizon experiments loop twice to form a 200-round interaction stream (Table 4, Appendix B).
    • Pipelines: controlled memory pool simulation (three retrievals: recent-k, semantic, reward, Table 5) and four full agent frameworks AppAgent, SeeAct, Mobile-Agent v3.5, Agent-S (offline replay of screenshot streams, no action execution, Appendix E).
    • Baselines: Mem.-Only (direct memory injection following AgentPoison), Query-Only (query poisoning following MINJA), Clean SFT reference.
    • Metrics: ASR, AC, GA, SR, FP; ASR is judged by the payload signature in the output; triggers are injected into 15% of training set samples.
    • Evaluation method: rule-based judgment (matching payload signatures and action fields); the paper does not use LLM judging; the paper does not report the number of repetitions.

    Main results

    Table 1 (Qwen2.5-VL-3B, controlled memory pool simulation):

    Swipe horizontally to read the table

    StageRetrievalMethodASRAC↑GA↑SR↑
    Pre-evolutionNo memoryQuery-Only0.230.640.290.20
    Pre-evolutionNo memoryEVOLVATTACK0.000.870.470.43
    Post-evolutionRecent-kMem.-Only0.100.810.350.27
    Post-evolutionRecent-kEVOLVATTACK1.000.860.540.49
    Post-evolutionSemanticEVOLVATTACK1.000.870.550.50
    Post-evolutionRewardEVOLVATTACK1.000.870.550.50
    Reference–Clean SFT0.000.820.390.31

    (According to Table 1; Query-Only and Mem.-Only have ASR of 0.37 and 0.10 under semantic/reward respectively, omitted from the table.)

    • The authors point out that Query-Only's pre-evolution ASR already reaches 0.23, so it can be detected by pre-deployment checks, and post-evolution it only rises to 0.26–0.37; Mem.-Only's ASR is constantly 0.10 under each retrieval mechanism.
    • The authors state that EVOLVATTACK's pre-evolution ASR is 0.00, and post-evolution it reaches 1.00 under all three retrieval mechanisms, with AC/GA/SR not lower than the Clean SFT reference.

    Cross-backbone generalization

    • Figure 3: pre-evolution ASR is 0.00 for all three backbones; post-evolution ASR is 1.00 for Qwen2.5-VL-3B under each retrieval mechanism, 0.96–1.00 for InternVL3-2B, and 0.84–1.00 for DeepSeek-VL-1.3B.
    • Benign functionality: for Qwen2.5-VL-3B and InternVL3-2B, post-evolution AC changes by no more than 0.01 relative to the no-memory setting; DeepSeek-VL-1.3B drops more (AC from 0.77 to 0.69–0.70, GA from 0.24 to 0.14–0.15, SR from 0.14 to 0.05–0.07), and the authors believe smaller models are more sensitive to the added memory context.

    Full agent deployment

    • Figure 4: four pipelines run the full frameworks (environment execution is offline replay); the first firing round (FFR) is 20 for AppAgent, 21 for SeeAct, round 3 for Mobile-Agent v3.5, and 20 for Agent-S.
    • After firing, rolling ASR for AppAgent and SeeAct rises immediately, while Mobile-Agent v3.5 and Agent-S stay low for dozens of rounds before rising; in the stable attack phase, rolling ASR reaches 100% for all four pipelines.

    Loss ablation and objective variants

    • Table 2 (four-loss ablation): the full objective has ASR 0.95, SR 0.43, FP 0.00; removing Lbackdoor gives ASR 0.00; removing Lclean lowers SR to 0.28 and raises FP to 0.97; removing Ldormant raises empty-memory ASR from 0.00 to 0.93, which the authors say degrades to a traditional patch-triggered backdoor and violates the threat model; removing Lgate gives ASR 0.92 but raises FP to 0.97.
    • Table 9 (objective variants, 100 rounds, semantic retrieval, K=20, capacity 40, T=1.0, ρspark=0.10): Presence ASR 0%; Dose-Response ASR 90% but FP 97%; AND-Gate ASR 95%, FP 0%; Full-Coverage ASR 84%, FP 0%. The authors therefore adopt AND-Gate as the default objective.

    Robustness of memory-side defenses

    • Two defenses are tested on Agent-S (Figure 5): after Sanitization (triggered at round 13, clearing all current payload entries), the attack recovers and eventually reaches 100% ASR-Stable; one-time dilution has no lasting effect and also eventually reaches 100%.
    • Continuous 10% dilution lowers the average attack rate, but rolling ASR still reaches about 50%; under each defense setting, action accuracy and task success rate are comparable to the no-defense baseline. The authors believe continuous dilution can only partially mitigate.

    Other ablations and analyses

    • Trigger density (Appendix D, Figure 7, Qwen2.5-VL-3B): in the all-trigger stream, ASR rises to a stable level after firing under recent-k; in streams where the trigger proportion increases from 10% to 100%, rolling ASR gradually rises with density, with the same trend across the three retrieval mechanisms.
    • Training convergence (Appendix A, Figure 6): the dual-pool five-forward training loop emits six loss terms, corresponding to clean/triggered images combined with empty/clean/poisoned memory.
  5. What are some points that can be further explored?

    The paper does not set up a dedicated limitations section; the experiments cover three backbones, four pipelines, 200 rounds of offline replay, and two memory-side defenses.

    Limitations and future directions noted by the authors

    • The paper does not specifically discuss limitations. In the conclusion (§5), the authors propose directions: evaluation only at initialization is insufficient for self-evolving agents; safety auditing across complete interaction trajectories is needed, as are defenses that account for evolving memory.
    • In the ethics statement, the authors state they will release code for research to support the development of defenses against memory-conditioned backdoors (planned, not yet completed).

    Scope of experimental coverage

    • The backbones tested are Qwen2.5-VL-3B, InternVL3-2B, and DeepSeek-VL-1.3B-Chat, 3 in total; full-pipeline deployment covers AppAgent, SeeAct, Mobile-Agent v3.5, and Agent-S, 4 in total (§4.3, §4.4).
    • Deployment evaluation loops twice over 100 held-out GUI-R1 screenshots to form a 200-round interaction stream; environment execution is offline replay, and predicted actions are not executed on real devices or browsers (Appendices B, E).
    • Memory mechanisms cover three retrieval types—recent-k, semantic, reward-weighted—and gated-append updates (Table 5); trigger density analysis covers five levels from 10% to 100% (Appendix D).
    • Defense evaluation includes two memory-side strategies, Sanitization and Dilution (one-time and continuous 10% injection), conducted on Agent-S (§4.6).
    • The paper does not report the number of experimental repetitions or statistical significance tests, nor does it report the specific retrieval parameters used in the controlled simulations of §4.2–4.3 (K, capacity, etc. are specified only in the Appendix F variant experiments).
  6. Summarize the main content of the paper

    The authors propose a memory-conditioned backdoor, EVOLVATTACK: it stays dormant under static scanning, self-amplifies as memory evolves, and existing memory-side defenses cannot eradicate it.

    A paper on a backdoor attack against self-evolving VLM agents. The authors propose a new attack surface, the "self-evolving backdoor": the payload lies dormant in the initial agent and requires both a visual trigger and a sufficiently evolved memory state to activate, so a static scan using clean memory yields ASR close to zero and may judge it benign.

    • Method: During LoRA fine-tuning, EVOLVATTACK uses a payload-free shadow pool and a mixed main pool to simulate memory at different evolution stages, and trains AND-gated activation with four loss terms: Lclean, Lbackdoor, Ldormant, and Lgate; during training, labels are flipped with a small probability ρspark to guide the first payload write-back, and after deployment the agent's standard memory write-back forms positive feedback without updating parameters.
    • Main results: In controlled simulation on Qwen2.5-VL-3B, ASR before evolution is 0.00; after evolution, ASR is 1.00 under all three retrieval mechanisms, with AC/GA/SR no lower than Clean SFT (Table 1); after evolution across backbones, ASR is 0.84–1.00 (Figure 3); rolling ASR in the stable phase reaches 100% on all four agent pipelines, with FFR at rounds 3–21 (Figure 4).
    • Ablation: Removing Ldormant raises empty-memory ASR to 0.93, degrading to a traditional patch backdoor; removing Lgate raises FP to 0.97 (Table 2).
    • Defenses: After one-time Sanitization and one-time dilution, the attack recovers to 100% ASR-Stable; under continuous 10% dilution, rolling ASR remains about 50% (Figure 5).
    • Authors' conclusion: Evaluating self-evolving agents only at initialization is insufficient; safety auditing across complete interaction trajectories and defenses targeting evolved memory are needed; the authors plan to release code to support defense research.
Read originalarxiv.org