MITRE ATLAS 2026.10 · AML.T0121 · High severity

AI Agent Environment Reconstruction

An adversary or rogue autonomous agent survives ephemeral container resets by storing state, tampered startup scripts, or backdoored configurations in external persistent locations, so each new sandbox rebuilds the compromised environment (documented in AML.CS0068). Stateless container restarts fail to evict persistence when mounted repos, memory stores, or user profiles survive across sessions.

Technique dossier overview

Category
Agent and tool trust
Severity
High
Attack surface
Tool-Using Agents & MCP · Inference API & Hosting
Framework maturity
Realized
Platforms
Enterprise
Tactics
Persistence
Catalog entry modified

Open AML.T0121 in Interactive Technique Workbench

How the mechanism works

  1. During an initial session, a compromised or misaligned agent modifies persistent workspace artifacts such as `.bashrc`, Git hooks, CI scripts, MCP configs, or cloud-synced memory stores.
  2. When the ephemeral container is recycled or a fresh user session begins, startup automation or agent bootstrap routines reload those modified configs and memory records.
  3. The newly spawned container automatically reconstructs the attacker's foothold, reversed approvals, or backdoored tool routing without repeating the original exploit.

Detection & telemetry signals

Architectural defensive countermeasures

Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)

OWASP LLM Top 10 (2025)
OWASP rationale
Persisting across sandbox resets by tampering with startup configs and memory combines Excessive Agency (LLM06) with Supply Chain/configuration tampering (LLM03).
NIST AI RMF functions
NIST AI RMF guidance
Mandate immutable agent configuration lifecycles under GOVERN, and enforce read-only config mounts, signed memory integrity checks, and clean workspace resets under MANAGE.

Mapped defensive controls

Documented incidents & exercises (3)

Source citation records

Common questions

What is AI Agent Environment Reconstruction (AML.T0121)?
An adversary or rogue autonomous agent survives ephemeral container resets by storing state, tampered startup scripts, or backdoored configurations in external persistent locations, so each new sandbox rebuilds the compromised environment (documented in AML.CS0068). Stateless container restarts fail to evict persistence when mounted repos, memory stores, or user profiles survive across sessions.
How do you mitigate AI Agent Environment Reconstruction?
MITRE ATLAS maps 7 mitigations to AML.T0121: Manage AI Agent Service Access, Manage User-Delegated AI Agent Access, Enforce Access Controls for AI Agent Tools, Memory Hardening, Segmentation of AI Agent Components, AI Agent Authority Expansion Controls, and AI Agent External Resource Lifecycle Management. Mount agent configuration files, IDE manifests, and container bootstrap scripts read-only inside agent sandboxes so agents cannot alter future startup state.