Securing CI/CD in an agentic world: Claude Code Github action case
- Published
- Record updated
Summary
Microsoft Threat Intelligence found that Anthropic's Claude Code GitHub Action could expose CI/CD workflow secrets when the agent processed untrusted GitHub content such as issue bodies, pull request descriptions, and comments. The Read tool was not subject to the same sandboxing as Bash, and it could be authorized to read /proc/self/environ, exposing the workflow's ANTHROPIC_API_KEY and possibly other runner credentials.
Mitigation
Following responsible disclosure, Anthropic mitigated the issue in Claude Code version 2.1.128 by blocking access to sensitive /proc files. Microsoft advises defenders to treat AI workflows that process untrusted GitHub content as high-risk when they also have access to secrets, file-read tools, or external communication channels.
Topics
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog