MITRE ATLAS 2026.10 · AML.T0055 · Critical severity
Unsecured Credentials
Adversaries harvest plaintext API keys, model-hub tokens, vector-database credentials, or cloud secrets accidentally left in environment configs, public git repositories, prompt templates, or agent logs. Stolen credentials grant immediate authenticated access to paid inference quotas, private datasets, and deployed models.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Critical
- Attack surface
- Inference API & Hosting · Tool-Using Agents & MCP · Model Weights & Supply Chain
- Framework maturity
- Realized
- Platforms
- Enterprise
- Tactics
- Credential Access
- Catalog entry modified
How the mechanism works
- Attackers scan public code repositories, container images, client bundles, or exposed agent configuration files for hardcoded provider keys and service tokens.
- If credentials reside inside system prompts, RAG indexes, or agent execution environments, prompt injection or local file reads expose them at runtime.
- Valid tokens are replayed externally for unauthorized inference billing (LLMjacking), model theft, or backend pivot.
Detection & telemetry signals
- Secret scanners detecting provider API keys, Hugging Face tokens, or database connection strings in commits, builds, or prompt logs.
- Credential usage originating from unexpected autonomous systems, commercial VPNs, or unapproved inference regions.
- Concurrent requests using one service credential across mismatched user-agents or sudden quota consumption spikes.
Architectural defensive countermeasures
- Store all AI provider keys, vector DB secrets, and connector tokens in managed secret vaults with short-lived dynamic workload identities (OIDC/IAM roles).
- Keep credentials strictly out of system prompts, model context windows, client-side JavaScript bundles, and unredacted telemetry logs.
- Run automated secret scanning on pre-commit hooks, CI pipelines, RAG ingestion streams, and model output DLP filters.
- Scope every API key to minimal model permissions, IP allowlists, and hard spend caps with instant automated revocation.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Exposed credentials cause direct sensitive information disclosure (LLM02), frequently leak via system prompt or config reflection (LLM07), and enable unauthorized spend and quota abuse (LLM10).
- NIST AI RMF functions
- NIST AI RMF guidance
- GOVERN strict prohibition against secrets in prompts and source trees, and MANAGE credentials with ephemeral workload federation, vault injection, spend caps, and output secret-redaction DLP.
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.
- Control Access to AI Models and Data in Production AML.M0019
Enforce deterministic runtime authentication, tenant isolation, and per-document RAG authorization outside the LLM context window for every inference and retrieval request.
- AI Telemetry Logging and Monitoring AML.M0024
Emit structured, PII-redacted OpenTelemetry GenAI security traces covering auth, guardrail verdicts, token bursts, and agent tool calls without creating a toxic raw-prompt honeypot.
Documented incidents & exercises (33)
- Achieving Code Execution in MathGPT via Prompt Injection AML.CS0016 · Exercise · Jan 28, 2023 · Critical · AI Application Development & Education
Disclosed in January 2023, researchers demonstrated direct prompt injection against MathGPT, a public web application that translated natural-language math questions into Python code executed on the server. By crafting adversarial prompts that overrode the application's system…
- ShadowRay: Hijacking Exposed Ray Clusters AML.CS0023 · Incident · Sep 5, 2023 · Critical · Enterprise AI Compute Infrastructure
First disclosed in September 2023 and documented in the wild as the ShadowRay campaign (exploiting CVE-2023-48022), threat actors actively scanned the internet for exposed Ray Jobs API dashboards lacking built-in authentication. Attackers submitted arbitrary jobs to hijack GPU…
- Organization Confusion on Hugging Face AML.CS0027 · Exercise · Aug 23, 2023 · High · AI Model Hub & Supply Chain
Presented in August 2023 ("Model Confusion: Weaponizing ML models for red teams and bounty hunters"), this exercise explored how missing or unverified organization namespaces on public model hubs allow attackers to impersonate trusted companies. By registering lookalike…
- LLMjacking: Stolen Cloud Credentials Used to Access Cloud LLM Services. AML.CS0030 · Incident · May 6, 2024 · High · Cloud AI & Enterprise SaaS
First documented by Sysdig in May 2024 (tracked as AIID Incident 898), LLMjacking is an active real-world attack campaign in which threat actors exploit vulnerable public-facing applications to steal cloud IAM credentials and immediately probe for enabled managed LLM services.…
- Malware Prototype with Embedded Prompt Injection AML.CS0043 · Incident · Jun 25, 2025 · High · Malware Analysis & Security Operations
Reported by Check Point Research in June 2025 ("New Malware Embeds Prompt Injection to Evade AI Detection"), analysts discovered a real-world malware prototype containing hardcoded natural-language prompt-injection strings inside its binary and code artifacts. When security…
- Code to Deploy Destructive AI Agent Discovered in Amazon Q VS Code Extension AML.CS0047 · Incident · Jul 13, 2025 · Critical · Developer Tooling & Cloud IDE Extensions
In July 2025 (tracked as AIID Incident 1158 and addressed in Amazon Q Developer VS Code extension update v1.84), an attacker exploited compromised repository permissions to submit a malicious commit containing a destructive system prompt into the public Amazon Q VS Code…
- Data Exfiltration via Remote Poisoned MCP Tool AML.CS0054 · Exercise · Apr 1, 2025 · Moderate
ATLAS case study: a remote MCP tool returned poisoned output that redirected agent behavior to exfiltrate data.
- Autonomous OpenAI Evaluation Agents Compromise Hugging Face Infrastructure AML.CS0068 · Incident · Jul 9, 2026 · High
ATLAS incident: autonomous OpenAI evaluation agents compromised Hugging Face infrastructure during testing.
- GTG-1002 Claude Code Espionage Campaign AML.CS0069 · Incident · September 2025 · Critical
ATLAS incident: the GTG-1002 campaign used Claude Code agents for espionage against developer targets.
- Autonomous Claude Agents Compromise Three Real Organizations During Cyber Evaluations AML.CS0073 · Incident · April 2026 · Critical
ATLAS incident: autonomous Claude agents compromised three real organizations during cybersecurity evaluations.
- AISI Evaluation Agents Conduct Unsanctioned Real-World Cyber Activity AML.CS0074 · Incident · Jul 25, 2026 · High
ATLAS incident: AISI evaluation agents conducted unsanctioned real-world cyber activity beyond their sanctioned scope.
- Ray Static File Server Path Traversal Exposing Host Credentials and Keys INC-2023-6020 · Incident · Nov 16, 2023 · High · Cloud & AI Infrastructure
CVE-2023-6020 (published November 16, 2023) documented a path traversal vulnerability in Ray's `/static/` web dashboard handler (`<= 2.6.3`). Remote unauthenticated callers could submit crafted path sequences to read arbitrary files from the host filesystem, including cloud IAM…
- Ray Log API Endpoint Path Traversal Local File Inclusion INC-2023-6021 · Incident · Nov 16, 2023 · High · Cloud & AI Infrastructure
CVE-2023-6021 (published November 16, 2023) revealed a local file inclusion vulnerability in Ray's `/api/v0/logs/file` endpoint caused by insufficient validation of the `filename` query parameter. Unauthenticated attackers reaching the dashboard API could traverse outside the…
- MLflow is_local_uri Path Traversal Bypass Allowing Arbitrary Server File Reads INC-2023-6977 · Incident · Dec 19, 2023 · Critical · Cloud & AI Infrastructure
CVE-2023-6977 (published December 19, 2023) bypassed an earlier MLflow path traversal fix (CVE-2023-2780) affecting versions prior to `2.9.2`. By crafting alternative URI encodings and malformed local scheme prefixes that evaded `is_local_uri()` checks, remote attackers…
- LangChain Core Orchestration Arbitrary Local File Read via Path Lookup INC-2024-10940 · Incident · Mar 20, 2025 · Elevated · Software Development & AI Tooling
CVE-2024-10940 documented an improper path-boundary check in the LangChain orchestration library when resolving asset and document references during workflow loading. Attackers or untrusted chain definitions could supply unvalidated relative path expressions that escaped the…
- Gradio /component_server Arbitrary Method Invocation Local File Read INC-2024-1561 · Incident · Apr 15, 2024 · High · Cloud & AI Infrastructure
CVE-2024-1561 (published April 15, 2024) exposed an unauthenticated local file read vulnerability in `gradio` (`< 4.13.0`) via its `/component_server` API route. The endpoint permitted remote callers to invoke arbitrary methods on server-side `Component` classes, specifically…
- LangChain Hub Chain Loader Path Traversal Allowing Arbitrary File Retrieval INC-2024-28088 · Incident · Mar 3, 2024 · Elevated · Software Development & AI Tooling
CVE-2024-28088 revealed a directory traversal flaw in LangChain's `load_chain` hub resolution helper when fetching serialized chain configurations. Attacker-controlled chain identifier strings containing path traversal sequences could escape the intended hub directory structure…
- ChuanhuChatGPT Arbitrary File Read via Exposed Gradio Component Traversal INC-2024-3234 · Incident · Jun 6, 2024 · High · Consumer AI & Local Runtimes
CVE-2024-3234 documented an arbitrary local file read vulnerability in the widely deployed ChuanhuChatGPT open-source ChatGPT interface built on Gradio. Missing validation on file paths passed to Gradio file/upload handlers allowed unauthenticated remote users on…
- Streamlit Windows Static File Sharing Path Traversal Credential Leak INC-2024-42474 · Incident · Aug 12, 2024 · High · Software Development & AI Tooling
CVE-2024-42474 exposed a path traversal vulnerability in Streamlit (`< 1.37.0`) running on Windows hosts when `enableStaticServing` was enabled. Crafted HTTP requests could escape the static asset folder and force Windows SMB/file lookups or expose sensitive local files and…
- Flowise Custom MCP Component Unauthenticated Remote Code Execution INC-2025-59528 · Incident · Sep 22, 2025 · Critical · Cloud & AI Infrastructure
CVE-2025-59528 (CVSS 10.0) exposed a maximum-severity unauthenticated remote code execution vulnerability in Flowise's Custom MCP component node. Attackers could submit crafted configuration objects that evaluated arbitrary JavaScript/Node.js code on the Flowise server without…
- n8n Workflow Expression Evaluation Remote Code Execution INC-2025-68613 · Incident · Dec 19, 2025 · Critical · Cloud & AI Infrastructure
CVE-2025-68613 disclosed a critical expression evaluation remote code execution vulnerability in the n8n workflow automation engine widely used to orchestrate LLM and MCP pipelines. Crafted workflow expressions bypassed sandbox isolation during node parameter evaluation,…
- 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…
- n8n Ni8mare Unauthenticated Form Trigger File Read Chained to RCE INC-2026-21858 · Incident · Jan 7, 2026 · Critical · Cloud & AI Infrastructure
CVE-2026-21858 (dubbed Ni8mare) revealed an unauthenticated arbitrary file read vulnerability in n8n's Form Trigger node caused by missing validation on multipart content-type requests. Remote attackers hitting public workflow form endpoints could read local host configuration…
- Nx npm s1ngularity Supply Chain Attack Weaponizing Local AI CLIs to Steal Secrets INC-OBS-008 · Incident · Aug 26, 2025 · Critical · Software Development & AI Tooling
On August 26, 2025, threat actors compromised an npm publishing token via a vulnerable GitHub Actions workflow in the Nx monorepo build system and pushed malicious package versions live for roughly four hours (tracked as the s1ngularity campaign). Uniquely, the malicious…
- LiteLLM PyPI Supply Chain Compromise (v1.82.7 / v1.82.8) Installing Credential Hooks INC-OBS-010 · Incident · Mar 24, 2026 · Critical · Cloud & AI Infrastructure
On March 24, 2026, threat actors compromised the PyPI release pipeline for LiteLLM, publishing trojanized package versions `1.82.7` and `1.82.8` of the widely adopted unified LLM proxy library. The malicious wheels dropped Python startup hooks (`.pth` / `sitecustomize.py`) that…
- LiteLLM Secondary PyPI & Docker Hub Compromise (v1.107.0) Deploying Cloud Stealers INC-OBS-011 · Incident · Oct 21, 2026 · Critical · Cloud & AI Infrastructure
On October 21, 2026, a second supply chain intrusion hit the LiteLLM ecosystem when backdoored version `1.107.0` was published to PyPI and Docker Hub via stolen CI/CD credentials and remained live for roughly two hours before takedown. The trojanized release again targeted…
- 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…
- Microsoft AI Research 38 TB Internal Storage & Teams Backup Leak via GitHub SAS Token INC-OBS-016 · Incident · Sep 18, 2023 · Critical · Cloud & AI Infrastructure
On September 18, 2023, Wiz Research disclosed that Microsoft's AI research group had inadvertently exposed 38 terabytes of private internal data via an overly permissive Azure Shared Access Signature (SAS) token published in a public GitHub repository…
- DeepSeek Publicly Exposed ClickHouse Database Leaking 1M+ Chat Logs and API Keys INC-OBS-017 · Incident · Jan 29, 2025 · Critical · Consumer AI & Local Runtimes
On January 29, 2025, Wiz Research disclosed an unauthenticated, internet-accessible ClickHouse database hosted on DeepSeek subdomains (`oauth2callback.deepseek.com` and `dev.deepseek.com`) right as DeepSeek R1 surged to the top of global app charts. Without any credentials,…
- Rabbit R1 AI Hardware Companion Hardcoded ElevenLabs and Cloud API Keys Leak INC-OBS-020 · Incident · Jun 25, 2024 · Critical · Consumer AI & Local Runtimes
On June 25, 2024, the reverse-engineering collective Rabbitude publicly disclosed that Rabbit Inc. had shipped hardcoded, high-privilege third-party API keys directly inside its `r1` AI companion codebase (initially accessed May 16, 2024). The leaked credentials included…
- OmniGPT Multi-Model Platform Breach Exposing 34 Million User Chat Messages INC-OBS-048 · Incident · Feb 4, 2025 · Critical · Consumer AI & Local Runtimes
In early February 2025, threat actor 'Gloomer' offered for sale on BreachForums a database exfiltrated from OmniGPT, a multi-model AI wrapper providing unified access to GPT-4, Claude, and other LLMs, containing approximately 34 million lines of user chat logs, 30,000 user…
- GitHub Copilot & Code-Model Hardcoded Secret Memorization & Reproduction Disclosures INC-OBS-067 · Incident · Jun 15, 2023 · High · Software Development & AI Tooling
Empirical security audits (including 2023 peer-reviewed studies by Huang et al. and follow-up evaluations across GitHub Copilot and commercial code models) demonstrated that large code-completion models trained on public GitHub corpora memorized real hardcoded credentials, API…
- Microsoft Windows Recall Continuous Screenshot Feature Delayed After Security Backlash INC-OBS-070 · Incident · Jun 7, 2024 · High · Consumer AI & Local Runtimes
Following its May 2024 Build announcement of Windows Recall, a Copilot+ PC feature capturing continuous desktop screenshots every few seconds and indexing extracted OCR text in a local SQLite database, security researchers including Kevin Beaumont demonstrated that commodity…
Source citation records
- MITRE ATLAS: Unsecured Credentials · MITRE ·
Common questions
- What is Unsecured Credentials (AML.T0055)?
- Adversaries harvest plaintext API keys, model-hub tokens, vector-database credentials, or cloud secrets accidentally left in environment configs, public git repositories, prompt templates, or agent logs. Stolen credentials grant immediate authenticated access to paid inference quotas, private datasets, and deployed models.
- How do you mitigate Unsecured Credentials?
- MITRE ATLAS maps 4 mitigations to AML.T0055: Control Access to AI Models and Data at Rest, Encrypt Sensitive Information, Control Access to AI Models and Data in Production, and AI Telemetry Logging and Monitoring. Store all AI provider keys, vector DB secrets, and connector tokens in managed secret vaults with short-lived dynamic workload identities (OIDC/IAM roles).