Poisoning Claude Code One GitHub Issue to Break the Supply C...#301
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://flatt.tech/research/posts/poisoning-claude-code-one-github-issue-to-break-the-supply-chain/ Content Categories: Based on the analysis, this content was categorized under "Pentesting CI/CD > Github Security > Abusing Github Actions; potentially a new subsection for LLM/AI Agent GitHub Actions prompt injection and token exfiltration". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Post: Poisoning Claude Code: One GitHub Issue to Break the Supply Chain, published on June 1, 2026 by RyotaK / GMO Flatt Security. The post describes a high-impact vulnerability and related misconfigurations in Claude Code GitHub Actions, fixed by Anthropic as of Claude Code GitHub Actions v1.0.94. No CVE is mentioned. Anthropic rated the issues CVSS v4.0 7.8 and awarded a bug bounty of $3,80...
🔧 Technical Details
GitHub App actor permission bypass: A CI authorization check that treats any actor ending in
[bot]as trusted can be bypassed with a malicious GitHub App. GitHub Apps can create issues or pull requests in public repositories using an installation token even when not installed on the target repository. If the workflow only checks the actor string or assumes every GitHub App is trusted, an attacker can create a GitHub App, install it on their own repository, use its token to open attacker-controlled content in the victim repository, and pass the workflow authorization gate.Indirect prompt injection through issue, PR, and comment content: LLM-based CI agents that fetch GitHub issues, PRs, comments, or reviews must treat that text as hostile. An attacker can include instructions disguised as errors, tool outputs, recovery steps, or operational guidance. When the agent retrieves the content using tools such as
mcp__github__get_i...🤖 Agent ActionsUsing repo inspection to choose the best existing page before editing.
Done.
Updated:
src/pentesting-ci-cd/github-security/abusing-github-actions/README.mdAdded concise coverage for:
*[bot]trust bypass via malicious GitHub AppsACTIONS_ID_TOKEN_REQUEST_URL+ACTIONS_ID_TOKEN_REQUEST_TOKENgh issue viewURL-argument exfiltration riskValidation:
mdbook buildcould not run here becausemdbookis not installed (/bin/bash: mdbook: command not found)This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.