← Lab /AI/ML

Layered review reveals cross-layer security risks in LLM-based autonomous agent frameworks

Autonomous agent frameworks have security risks across four layers that can propagate and require integrated defenses

AI/ML arXiv 30 Apr 2026 Survey Theory

Published as “Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Study”

Why it matters

The identified gaps suggest that current defenses may fail in realistic, long-running autonomous agents, motivating research on cross-layer protections and ecosystem trust mechanisms.

Summary

The paper finds that research on autonomous agent security is heavily skewed toward context-level (prompt injection) attacks, while state-persistence and ecosystem layers are under-studied, and that existing defenses are brittle and lack long-horizon evaluation. It proposes a four-layer taxonomy (context, tool, state, ecosystem) and uses OpenClaw as a concrete case study to illustrate cross-layer attack propagation. The evidence is qualitative, based on a systematic literature review and analysis of existing benchmarks, with no new empirical dataset.

What they found 3

  1. Most existing studies focus on the context and instruction layer

    “most existing studies focus heavily on the context and instruction layer, particularly prompt injection attacks and their variants”

  2. There is a lack of long-horizon evaluation for autonomous agent security

    “the lack of long-horizon evaluation for autonomous agent security”

  3. The ecosystem and automation layer suffers from a weak trust model

    “the weak ecosystem trust model in autonomous agent frameworks”

Caveats 4

  • Prompt-level defenses remain brittle and may not generalize to adaptive adversaries
  • many current studies still evaluate such risks in relatively short-horizon settings
  • Current defenses provide limited guarantees on state integrity and lack standardized mechanisms for tracking or validating long-term memory
  • the lack of a formally enforced trust hierarchy within the context construction process

What’s new here 4

  • Introduces a unified four-layer taxonomy for autonomous agent framework security
  • Synthesizes existing threat and defense work across layers, highlighting cross-layer propagation
  • Provides a detailed OpenClaw case study to demonstrate practical implications of the layered view
  • Identifies research imbalance, lack of long-horizon evaluation, and weak ecosystem trust models as open challenges