Securing CI/CD in an agentic world: Claude Code Github action case

2026-06-06T20:52:13Z7b75c6cd37b2b235b26fb6d6d658286bbacf0b982643f9db079a7d127990aaf0
AnthropicCI/CDClaude CodeOIDCagentic AIgithub actioninput sanitizationleast privilegemitigation guidanceprompt injectionresponsible disclosuresecrets exfiltrationsupply chainthird‑party action

What happened

Microsoft Threat Intelligence discovered a prompt‑injection pathway in the Claude Code GitHub Action that, under specific conditions, could be abused to exfiltrate GitHub Actions workflow secrets. The blog details the attack chain, responsible disclosure to Anthropic, the mitigations applied, and prescriptive guidance to secure AI‑powered CI/CD (least privilege tokens, pin action versions, sanitize inputs, isolate agentic runs, use OIDC and short‑lived credentials). This is a supply‑chain/agentic‑AI risk that can lead to credential and secrets exposure if not properly mitigated.

Why it matters

A reviewed impact interpretation has not been published for this record.

Evidence and limitations

Source ID
microsoft_security_blog
Record identifier
7b75c6cd37b2b235b26fb6d6d658286bbacf0b982643f9db079a7d127990aaf0
Enrichment time
2026-06-06T20:52:13Z
AI-assisted enrichment
Yes

This record may overlap with other records. Its enrichment can be incomplete or wrong, and machine assistance was used. Validate consequential decisions against the linked source and your own environment.