MITRE ATLAS 2026.10 · AML.T0037 · High severity

Data from Local System

Adversaries collect credentials, `.env` secrets, SSH keys, browser tokens, and sensitive local files from developer laptops, CI runners, or agent sandboxes via compromised ML packages, IDE extensions, or hijacked local coding assistants. Because AI development environments frequently hold cloud keys and model-hub tokens in plaintext, local collection rapidly escalates into cloud-wide compromise.

Technique dossier overview

Category
Infrastructure and access
Severity
High
Attack surface
Tool-Using Agents & MCP · Model Weights & Supply Chain
Framework maturity
Realized
Platforms
Enterprise
Tactics
Collection
Catalog entry modified

Open AML.T0037 in Interactive Technique Workbench

How the mechanism works

  1. An attacker gains local execution through a malicious ML package, poisoned `.cursorrules` file, backdoored MCP server, or prompt-hijacked coding agent.
  2. File-read tools, local shell invocations, or install-time scripts sweep standard home-directory credential paths, environment variables, and repository configs.
  3. Harvested secrets and local source files are staged for exfiltration over outbound API calls or hidden tool parameters.

Detection & telemetry signals

Architectural defensive countermeasures

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

OWASP LLM Top 10 (2025)
OWASP rationale
Local system data collection harvests host secrets (LLM02) via over-broad local file/shell agent tools (LLM06) or trojanized packages and extensions (LLM03).
NIST AI RMF functions
NIST AI RMF guidance
Apply NIST AI RMF GOVERN and MANAGE by sandboxing local AI tools strictly to project directories and replacing static workstation credentials with ephemeral tokens.

Mapped defensive controls

Documented incidents & exercises (23)

Source citation records

Common questions

What is Data from Local System (AML.T0037)?
Adversaries collect credentials, `.env` secrets, SSH keys, browser tokens, and sensitive local files from developer laptops, CI runners, or agent sandboxes via compromised ML packages, IDE extensions, or hijacked local coding assistants. Because AI development environments frequently hold cloud keys and model-hub tokens in plaintext, local collection rapidly escalates into cloud-wide compromise.
How do you mitigate Data from Local System?
MITRE ATLAS maps 5 mitigations to AML.T0037: Control Access to AI Models and Data at Rest, Restrict Library Loading, Encrypt Sensitive Information, Enforce Access Controls for AI Agent Tools, and Segmentation of AI Agent Components. Restrict local coding agents and MCP file tools explicitly to scoped workspace project directories, denying access to home-directory dotfiles, SSH keys, and OS keychains.