MITRE ATLAS 2026.10 · AML.T0004 · Elevated severity

Search Application Repositories

Adversaries search public source-code repositories such as GitHub and GitLab for leaked inference API keys, hardcoded system prompts, model-loading scripts, and unsafe deserialization sinks. Even private enterprise AI stacks frequently leak secrets or architectural blueprints through developer forks, CI logs, or sample repos.

Technique dossier overview

Category
Infrastructure and access
Severity
Elevated
Attack surface
Model Weights & Supply Chain · LLM / Prompt Layer · Inference API & Hosting
Framework maturity
Demonstrated
Platforms
Enterprise
Tactics
Reconnaissance
Catalog entry modified

Open AML.T0004 in Interactive Technique Workbench

How the mechanism works

  1. Automated secret and code scanners monitor public commits, gists, and package repositories matching victim domains or AI SDK patterns.
  2. Attackers extract hardcoded API credentials, private model-hub tokens, system prompt strings, and tool-calling validation logic.
  3. Identified code patterns—such as unpinned dependencies, pickle loaders, or unsanitized LLM output sinks—are mapped directly into downstream initial-access or RCE paths.

Detection & telemetry signals

Architectural defensive countermeasures

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

OWASP LLM Top 10 (2025)
OWASP rationale
Public repository reconnaissance directly uncovers hardcoded system prompts (LLM07), leaked inference keys or sensitive configs (LLM02), and vulnerable dependency chains (LLM03).
NIST AI RMF functions
NIST AI RMF guidance
Apply NIST AI RMF GOVERN and MANAGE by prohibiting credentials and sensitive prompt logic in source repositories and enforcing automated secret-rotation controls.

Mapped defensive controls

Documented incidents & exercises (6)

Source citation records

Common questions

What is Search Application Repositories (AML.T0004)?
Adversaries search public source-code repositories such as GitHub and GitLab for leaked inference API keys, hardcoded system prompts, model-loading scripts, and unsafe deserialization sinks. Even private enterprise AI stacks frequently leak secrets or architectural blueprints through developer forks, CI logs, or sample repos.
How do you mitigate Search Application Repositories?
MITRE ATLAS maps 3 mitigations to AML.T0004: Limit Public Release of Information, Control Access to AI Models and Data at Rest, and Control Access to AI Models and Data in Production. Enforce pre-commit and server-side push protection with automated secret scanning across all developer repositories, CI artifacts, and container layers.