MITRE ATLAS 2026.10 · AML.T0095.000 · Elevated severity
Search Open Websites/Domains: Code Repositories
Adversaries mine public code repositories (GitHub, GitLab, Hugging Face Spaces) for leaked AI API keys, hardcoded system prompts, internal MCP schemas, unsafe dependency pins, and agent workflow manifests.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Elevated
- Attack surface
- Model Weights & Supply Chain · Tool-Using Agents & MCP · Inference API & Hosting
- Framework maturity
- Realized
- Platforms
- Enterprise
- Tactics
- Reconnaissance
- Catalog entry modified
How the mechanism works
- Automated scanners continuously index new public commits, gists, and Space repositories matching AI SDK patterns and key prefixes.
- Discovered leaks expose provider tokens, internal endpoint URLs, prompt templates, or target organizations' RAG ingestion rules.
- Attackers immediately replay leaked tokens or target discovered internal endpoints and unpinned third-party packages.
Detection & telemetry signals
- Push-protection and secret-scanning alerts flagging AI vendor keys, vector-DB URIs, or internal endpoints in developer commits.
- External provider abuse alerts reporting automated key revocation triggered by public repository scanning partners.
- Unexpected API activity originating immediately after a public commit or open-source release.
Architectural defensive countermeasures
- Enforce mandatory pre-commit secret scanning and GitHub/GitLab push protection across all developer and research repositories.
- Keep private system prompts, internal tool URLs, and production config manifests outside public demo repositories.
- Audit dependencies in public repositories with automated vulnerability scanning and lockfile pinning so attackers cannot exploit stale manifests.
- Rotate any exposed token immediately via automated secret-revocation hooks and audit prior API usage logs.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Public repositories frequently leak sensitive keys and data (LLM02), system instructions (LLM07), and vulnerable dependency graphs (LLM03).
- NIST AI RMF functions
- NIST AI RMF guidance
- GOVERN repository hygiene and release checklists for AI projects, and MANAGE leakage via push-protection scanners, secret vaulting, and automated token rotation.
Mapped defensive controls
- Limit Public Release of Information AML.M0000
Minimize public exposure of model architectures, system prompts, internal endpoints, RAG schemas, and error traces that accelerate adversary reconnaissance while keeping safety disclosure transparent.
- Vulnerability Scanning AML.M0016
Continuously scan ML containers, Python/CUDA dependencies, inference servers, vector databases, and MCP plugin codebases for known CVEs and insecure patterns.
- 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.
- AI Honeypots AML.M0039
Deploy isolated decoy endpoints, fake MCP triggers, and synthetic canary documents containing zero real secrets to detect active reconnaissance and RAG exfiltration early.
Related technique records
Documented incidents & exercises (5)
- 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.
- Claude Code GitHub Action Secret Exposure AML.CS0067 · Exercise · Jun 5, 2026 · High
MITRE ATLAS case study documenting how untrusted external repository triggers or issue payloads in automated CI coding agent workflows could leak workflow environment secrets when overly broad credential scopes are exposed.
- Threat Actor Uses a DeepSeek-Powered Hermes Agent in Langflow and n8n Exploitation Attempts AML.CS0070 · Incident · May 7, 2026 · High
ATLAS incident: a threat actor deployed a DeepSeek-powered Hermes agent while exploiting Langflow and n8n flaws.
- 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.
- Multi-Agent Ontology Threat-Graph Mining Across 300+ Articles & 854 Repos OBS.EX0211 · Exercise · Dec 29, 2025 · 93 Threats (MITRE ATLAS, AIID & Literature) + 854 GitHub/Python Repositories
Foundjem et al. (2025) combined 93 documented ML threats from MITRE ATLAS, AIID, and security literature with static analysis of 854 GitHub/Python repositories and an ontology-driven RAG pipeline mining over 300 technical papers to map vulnerability clusters across the ML…
Source citation records
- MITRE ATLAS: Code Repositories · MITRE ·
Common questions
- What is Search Open Websites/Domains: Code Repositories (AML.T0095.000)?
- Adversaries mine public code repositories (GitHub, GitLab, Hugging Face Spaces) for leaked AI API keys, hardcoded system prompts, internal MCP schemas, unsafe dependency pins, and agent workflow manifests.
- How do you mitigate Search Open Websites/Domains: Code Repositories?
- MITRE ATLAS maps 4 mitigations to AML.T0095.000: Limit Public Release of Information, Vulnerability Scanning, AI Telemetry Logging and Monitoring, and AI Honeypots. Enforce mandatory pre-commit secret scanning and GitHub/GitLab push protection across all developer and research repositories.