Documented Exercise · AML.CS0067 · High severity
Claude Code GitHub Action Secret Exposure
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.
Exercise dossier metadata
- Case ID
AML.CS0067- Classification
- Exercise
- Date
- Severity
- High
- Attack vector
- Tool/MCP Abuse
- System type
- CI/CD Automated Pull-Request Coding Agents
- CVE / reference
AML.CS0067- Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0067%3A
Defensive takeaway
Restrict pull_request_target triggers for autonomous agents, strip repository-level secrets from untrusted fork jobs, and enforce explicit human approval before executing agent shell tools.
Mapped AI security techniques
- LLM Prompt Injection: Indirect AML.T0051.001
- AI Agent Tool Invocation AML.T0053
- LLM Jailbreak AML.T0054
- LLM Prompt Crafting AML.T0065
- Discover AI Agent Configuration: Tool Definitions AML.T0084.001
- Discover AI Agent Configuration: Activation Triggers AML.T0084.002
- Data from AI Services: Conversation Context and Memory AML.T0085.002
- Exfiltration via AI Agent Tool Invocation AML.T0086
- Prompt Infiltration via Public-Facing Application AML.T0093
- Search Open Websites/Domains: Code Repositories AML.T0095.000
- AI Agent Tool Credential Harvesting AML.T0098
Source citation records
- MITRE ATLAS: Claude Code GitHub Action Secret Exposure · MITRE ·
- Securing CI/CD in an agentic world: Claude Code Github action case · Cited by MITRE ATLAS; publisher not independently verified