Incident report

CI Coding Agent GitHub Action Workflow Context 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.

Incident record

Reported
Severity
High
Vector
Tool/MCP Abuse
Affected system type
CI/CD Automated Pull-Request Coding Agents
Reference
AML.CS0067
Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0067%3A

Inspect in Interactive Incidents Hub

Defensive lesson

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.

Referenced techniques