MITRE ATLAS 2026.10 · AML.T0081 · Critical severity
Modify AI Agent Configuration
Adversaries tamper with an AI agent's configuration files, IDE rules files, system instructions, or tool manifests to achieve durable persistence, alter execution behavior, or weaken safety guardrails across workspaces.
Technique dossier overview
- Category
- Agent and tool trust
- Severity
- Critical
- Attack surface
- Tool-Using Agents & MCP · LLM / Prompt Layer
- Framework maturity
- Demonstrated
- Platforms
- Agentic AI
- Tactics
- Persistence, Defense Evasion
- Catalog entry modified
How the mechanism works
- An attacker compromises a shared repository rules file, prompts a coding agent to modify its own configuration, or tampers with local tool definitions.
- Changes may introduce invisible Unicode instructions, disable confirmation prompts, or inject malicious command wrappers.
- Subsequent agent runs load the modified configuration automatically with the developer's or service's full permissions.
Detection & telemetry signals
- File-integrity monitors or git hooks detecting unauthorized or non-printable Unicode edits to agent config or rules files.
- Agent sessions attempting write operations targeting their own instruction manifests, approval allowlists, or MCP settings.
- Configuration drift between signed enterprise baseline profiles and active runtime agent policies.
Architectural defensive countermeasures
- Make agent configuration files, tool allowlists, and approval policies read-only to the agent runtime itself.
- Scan repository-level IDE instruction and rules files for hidden Unicode characters and anomalous directives before loading.
- Sign enterprise agent policies and require explicit out-of-band administrator or developer confirmation for any configuration change.
- Run periodic red-team tests verifying agents cannot modify their own guardrails or auto-approval settings.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Self-modifying or tampered agent configurations breach agency containment (LLM06), abuse shared repository supply chains (LLM03), and embed persistent prompt overrides (LLM01).
- NIST AI RMF functions
- NIST AI RMF guidance
- GOVERN separation between agent execution privileges and policy configuration files, and MANAGE integrity via read-only config mounts, signature verification, and Unicode inspection.
Mapped defensive controls
- Code Signing AML.M0013
Require cryptographic signatures and transparency-log verification on model artifacts, inference containers, agent skills, and MCP servers before deployment.
- Manage AI Agent Service Access AML.M0026
Constrain autonomous agent service identities with explicit capability ACLs, policy-as-code gates, and short-lived scoped tokens outside the LLM prompt context.
- Memory Hardening AML.M0031
Protect persistent agent memory and conversation stores with authenticated write gates, provenance tags, TTL expiry, anomaly checks, and instant rollback.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Documented incidents & exercises (17)
- Rules File Backdoor: Supply Chain Attack on AI Coding Assistants AML.CS0041 · Exercise · Mar 18, 2025 · High
MITRE ATLAS case study analyzing invisible Unicode control characters hidden inside shared repository instruction files that silently altered generated source code to introduce backdoors.
- OpenClaw 1-Click Remote Code Execution AML.CS0050 · Exercise · Feb 1, 2026 · Moderate
ATLAS case study: OpenClaw suffered a one-click remote code execution flaw exploitable through crafted content.
- OpenClaw Command & Control via Prompt Injection AML.CS0051 · Exercise · Feb 3, 2026 · Moderate
ATLAS case study: prompt injection against OpenClaw yielded command-and-control over the host via agent tool invocation.
- LangChain.js Path Traversal in Local Artifact Storage Helper INC-2024-7774 · Incident · Oct 29, 2024 · Elevated · Software Development & AI Tooling
CVE-2024-7774 identified a path traversal vulnerability in LangChain.js within its local artifact file-storage path helper (`getFullPath`). The helper joined caller- or model-supplied relative file names with a base directory without verifying that the resolved canonical path…
- IDE Coding Assistant Auto-Approve Settings Tampering Leading to Host RCE INC-2025-53773 · Incident · Aug 12, 2025 · Critical · Software Development & AI Tooling
CVE-2025-53773 (published August 12, 2025, disclosed by Johann Rehberger / Embrace The Red) documented a critical remote code execution chain in GitHub Copilot and Visual Studio Code agent modes. Indirect prompt injections hidden inside untrusted source code comments or…
- Cursor IDE CurXecute Indirect Prompt Injection Rewriting .cursor/mcp.json for RCE INC-2025-54135 · Incident · Aug 4, 2025 · Critical · Software Development & AI Tooling
CVE-2025-54135 (dubbed CurXecute by Aim Labs and published August 4, 2025) exposed a critical remote code execution chain in the Cursor AI IDE (`< 1.3.9`). When a developer queried an external data source through a connected MCP server (such as Slack or a public issue tracker),…
- Roo Code .code-workspace File Write Bypass Planting Persistent IDE Tasks INC-2025-58372 · Incident · Sep 5, 2025 · Critical · Software Development & AI Tooling
CVE-2025-58372 (published September 5, 2025) disclosed a critical code injection vulnerability in Roo Code versions `<= 3.25.23`. While the extension guarded writes into `.vscode/` directories, it failed to apply equivalent write protections to VS Code `.code-workspace` JSON…
- Agentic Coding CLI Pre-Trust Repository Hook and MCP Config Auto-Execution RCE INC-2025-59536 · Incident · Oct 3, 2025 · Critical · Software Development & AI Tooling
CVE-2025-59536 (published October 3, 2025, disclosed by Check Point Research) affected Anthropic Claude Code versions prior to `1.0.111`. A flaw in startup trust-dialog sequencing allowed malicious hooks or MCP server definitions embedded inside a cloned repository's…
- Windsurf IDE Agent Path Traversal Enabling Arbitrary Host File Read and Write INC-2025-62353 · Incident · Oct 17, 2025 · High · Software Development & AI Tooling
CVE-2025-62353 (published October 17, 2025) documented a path traversal vulnerability in the Windsurf AI code editor's agent file-handling layer. Insufficient workspace boundary enforcement allowed crafted paths triggered through agent tool calls to read or write arbitrary…
- ComfyUI-Manager Unauthenticated Config Directory Disclosure and Tampering INC-2025-67303 · Incident · Jan 5, 2026 · High · Consumer AI & Local Runtimes
CVE-2025-67303 (published January 5, 2026) exposed an unauthenticated configuration directory disclosure and manipulation flaw in ComfyUI-Manager prior to version `3.38`. Remote attackers targeting internet-exposed ComfyUI GPU servers could interact with inadequately protected…
- Dify MCP Server Configuration IDOR Enabling Cross-App Parameter Tampering INC-2026-105761 · Incident · Oct 5, 2026 · High · Enterprise SaaS & Productivity
CVE-2026-105761 uncovered an insecure direct object reference (IDOR) and authorization bypass in Dify's MCP server configuration endpoint (`PUT /console/api/apps/<app_id>/server`). An authenticated low-privilege user could modify another application's MCP server bindings and…
- ComfyUI-Manager CRLF Injection Overwriting config.ini Security Settings INC-2026-22777 · Incident · Jan 9, 2026 · High · Consumer AI & Local Runtimes
CVE-2026-22777 (CVSS 7.5, published January 9, 2026) disclosed a CRLF configuration injection vulnerability in ComfyUI-Manager prior to versions `3.39.2` and `4.0.5`. By embedding carriage-return and line-feed characters into HTTP query parameters processed by configuration…
- Agentic Coding CLI File-Write Boundary Bypass via Malformed Command Parsing INC-2026-25723 · Incident · Feb 6, 2026 · High · Software Development & AI Tooling
CVE-2026-25723 (published February 6, 2026) disclosed a command-parsing bypass in Claude Code that allowed crafted file-manipulation commands to bypass workspace write restrictions. By structuring redirections or malformed shell command syntax that diverged between the…
- Flowise Record Manager and Agent Memory TypeORM DataSource Arbitrary JS RCE INC-2026-69251 · Incident · Aug 4, 2026 · High · Software Development & AI Tooling
CVE-2026-69251 uncovered a server-side code execution flaw in Flowise's Record Manager and agent memory nodes when handling TypeORM `DataSource` options. Authenticated attackers able to supply `additionalConfig` JSON fields could point TypeORM at arbitrary local JavaScript…
- In-Context Scheming & Oversight Subversion Across Frontier Models OBS.EX0121 · Exercise · Dec 6, 2024 · o1, Claude 3.5 Sonnet, Claude 3 Opus, Gemini 1.5 Pro & Llama 3.1 405B · 6 Agentic Evaluations
Meinke et al. (2024) tested five frontier model families across six agentic evaluations designed to measure covert goal pursuit when models face conflicting instructions or oversight constraints. Evaluated models including o1, Claude 3.5 Sonnet, Claude 3 Opus, Gemini 1.5 Pro,…
- OWASP Agentic AI Threats & Mitigations Threat-Modeling Exercise OBS.EX0235 · Exercise · Feb 17, 2025 · Autonomous Multi-Agent & Tool-Calling Systems · Goal Hijack, Memory & Identity Threats
The OWASP Agentic Security Initiative (February 2025) released Agentic AI: Threats and Mitigations, providing a structured threat-modeling and architectural assurance reference covering memory poisoning, tool misuse, privilege compromise, rogue agent communication, and…
- GDM AI Control Roadmap & TRAIT&R Defense-in-Depth Architecture OBS.EX0240 · Exercise · Jul 13, 2026 · Internal Frontier AI Agent Deployments · 15 Tiered Detection (D1-D4) & Response Controls
Phuong et al. (2026) published Google DeepMind’s AI Control Roadmap (v0.1), introducing the TRAIT&R threat taxonomy adapted from MITRE ATT&CK to model potentially misaligned internal AI agents and mapping 15 concrete controls across four Detection tiers (D1-D4) and three…
Source citation records
- MITRE ATLAS: Modify AI Agent Configuration · MITRE ·
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
Common questions
- What is Modify AI Agent Configuration (AML.T0081)?
- Adversaries tamper with an AI agent's configuration files, IDE rules files, system instructions, or tool manifests to achieve durable persistence, alter execution behavior, or weaken safety guardrails across workspaces.
- How do you mitigate Modify AI Agent Configuration?
- MITRE ATLAS maps 4 mitigations to AML.T0081: Code Signing, Manage AI Agent Service Access, Memory Hardening, and AI Red Team. Make agent configuration files, tool allowlists, and approval policies read-only to the agent runtime itself.