MITRE ATLAS 2026.10 · AML.T0083 · Critical severity
Credentials from AI Agent Configuration
Adversaries extract plaintext API keys, database passwords, or OAuth tokens stored inside agent configuration manifests, MCP server JSON files, unauthenticated control dashboards, or environment variables exposed to agent tool execution.
Technique dossier overview
- Category
- Agent and tool trust
- Severity
- Critical
- Attack surface
- Tool-Using Agents & MCP · Inference API & Hosting
- Framework maturity
- Demonstrated
- Platforms
- Agentic AI
- Tactics
- Credential Access
- Catalog entry modified
How the mechanism works
- Developers store downstream service tokens directly inside agent config files, MCP definitions, or tool-runner process environments.
- An attacker reaches these secrets via exposed agent control interfaces, prompt-injected local file reads, or unauthenticated debug endpoints.
- Harvested connector tokens grant direct out-of-band access to corporate databases, code hosts, and SaaS APIs.
Detection & telemetry signals
- Agent file-read or shell tools accessing local config directories, environment files, or process environment dumps.
- Output DLP alerts detecting tool-connector secrets reflected inside assistant conversation logs.
- External API calls using agent connector tokens originating from non-agent IP addresses.
Architectural defensive countermeasures
- Never place raw long-lived tokens inside agent config JSONs or expose secrets inside agent shell environment variables; inject credentials at a separate proxy boundary.
- Authenticate and network-restrict all agent control UIs, local gateways, and configuration endpoints.
- Isolate credentialed connector proxies from sandboxed code/file tools so prompt-injected tool reads cannot access downstream secrets.
- Rotate connector credentials frequently and scope every integration to minimal per-user delegated OAuth grants.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Leaking secrets from agent manifests exposes sensitive backend credentials (LLM02) and stems from insecure credential boundaries around agent tool components (LLM06).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP where every agent connector credential resides at rest and in memory, and MANAGE exposure by moving tokens into an isolated credential-injecting proxy outside agent tool sandboxes.
Mapped defensive controls
- Control Access to AI Models and Data at Rest AML.M0005
Lock down stored model weights, LoRA adapters, training corpora, vector indexes, and backups with strict least-privilege IAM, private networking, and zero public bucket ACLs.
- Encrypt Sensitive Information AML.M0012
Encrypt model weights, training datasets, RAG embeddings, and inference traffic in transit and at rest with tenant-scoped keys, recognizing providers still see plaintext during inference.
- 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.
- Segmentation of AI Agent Components AML.M0032
Isolate agent planners, tool executors, code sandboxes, vector databases, and untrusted web browsers in separate trust zones with minimal shared credentials and zero lateral egress.
Documented incidents & exercises (4)
- Data Exfiltration via an MCP Server used by Cursor AML.CS0045 · Exercise · Jun 24, 2025 · Critical
MITRE ATLAS exercise showing how hidden instructions embedded in an external MCP server's tool metadata can steer an agent to read private repository data and exfiltrate it through a separate trusted tool call.
- Exposed ClawdBot Control Interfaces Leads to Credential Access and Execution AML.CS0048 · Exercise · Jan 25, 2026 · Moderate
ATLAS case study: exposed ClawdBot control interfaces allowed credential access and command execution on agent hosts.
- Agentic Coding CLI Project-Level API Base URL Override Exfiltrating API Keys INC-2026-21852 · Incident · Jan 21, 2026 · High · Software Development & AI Tooling
CVE-2026-21852 (published January 21, 2026, disclosed by Check Point Research) revealed an API-key exfiltration vector in Claude Code caused by honoring project-level configuration overrides for outbound API endpoints (`ANTHROPIC_BASE_URL` or equivalent project settings). If a…
- Hugging Face Spaces Secrets Unauthorized Access Forcing Platform-Wide Token Revocation INC-OBS-015 · Incident · May 31, 2024 · Critical · Cloud & AI Infrastructure
On May 31, 2024, Hugging Face publicly disclosed that its security team had detected unauthorized access to its Spaces hosting platform, specifically impacting a subset of user-configured Spaces secrets. Because developers routinely store OpenAI, Anthropic, database, and…
Source citation records
- MITRE ATLAS: Credentials from AI Agent Configuration · MITRE ·
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
Common questions
- What is Credentials from AI Agent Configuration (AML.T0083)?
- Adversaries extract plaintext API keys, database passwords, or OAuth tokens stored inside agent configuration manifests, MCP server JSON files, unauthenticated control dashboards, or environment variables exposed to agent tool execution.
- How do you mitigate Credentials from AI Agent Configuration?
- MITRE ATLAS maps 4 mitigations to AML.T0083: Control Access to AI Models and Data at Rest, Encrypt Sensitive Information, Manage AI Agent Service Access, and Segmentation of AI Agent Components. Never place raw long-lived tokens inside agent config JSONs or expose secrets inside agent shell environment variables; inject credentials at a separate proxy boundary.