discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.
Featured

Claude Code GitHub Action Flaw Let One Malicious Issue Hijack Repositories

A flaw in Anthropic's Claude Code GitHub Action let a single malicious issue help hijack public repos. Anthropic fixed it in v1.0.94 after a January report.

By Swati Khandelwal·Jun 4·thehackernews.com·2 min read

Intelligence analysis by GPT-5.4 Mini

Claude Code GitHub Action Flaw Let One Malicious Issue Hijack Repositories
Image: thehackernews.com

The article says Claude Code's GitHub Action trusted some bot-triggered issues too much, opening the door to indirect prompt injection and secret leakage. In the worst case, an attacker could turn that into write access to repositories and even poison downstream projects.

Why it matters

This matters because AI agents in CI/CD often run with broad repository permissions and access to sensitive workflow credentials. A trigger bug plus prompt injection can turn a simple issue comment into a supply-chain compromise.

A robot helper inside a code project was tricked by a sneaky note left in an issue. Because the helper had important keys, the note could make it reveal secrets and, in the wrong place, even help take over the project.

Analysis

What went wrong

The article describes a flaw in Anthropic's Claude Code GitHub Action that could let an attacker influence a public repository using only one opened GitHub issue. The action was designed to help triage issues, label them, review pull requests, and run commands, but it also had access to sensitive repository resources by default.

Why the trigger check failed

The core problem was the way the action decided who was allowed to trigger it. It treated any actor with a name ending in [bot] as trusted. That assumption was too broad, because GitHub Apps can be created by anyone, installed on a repo they own, and then used to interact with public repositories. In agent mode, the workflow did not apply the extra human verification that tag mode used, which left the bypass open.

How the attack could escalate

RyotaK of GMO Flatt Security reportedly used indirect prompt injection to smuggle commands into an issue body that Claude would read as task input. The article says the target was /proc/self/environ, which can expose environment variables, including credentials. Those credentials can be used in GitHub Actions' OIDC flow to obtain a Claude GitHub App installation token with write access. That makes the bug more than a nuisance: in the wrong repo, it could lead to code, issue, and workflow takeover.

Fixes and broader risk

Anthropic said it fixed the issue within four days after the January report, with additional hardening through the spring. The fixes landed in claude-code-action v1.0.94, and Anthropic rated the issues 7.8 under CVSS v4.0 and paid a bug bounty. The article also warns that Anthropic's own example issue-triage workflow shipped with allowed_non_write_users: "*", which could let anyone trigger it, and that public workflow summaries could leak data. The broader warning is clear: AI helpers inside CI need tight permissions, careful trigger rules, and very limited access to secrets.

Key points

  • A flaw in Claude Code GitHub Action could let a malicious issue influence public repositories.
  • The bypass abused a bot trust check and indirect prompt injection.
  • Attackers could try to extract environment secrets and reuse them to gain write access.
  • Anthropic fixed the issue in `v1.0.94` and said it rated the bugs 7.8 CVSS v4.0.
  • The article warns that copied example workflows and broad permissions can widen the blast radius.
The Upside

Anthropic says the flaw is fixed in `claude-code-action v1.0.94`, and the report says it added more hardening over the spring. If teams update and tighten their workflows, the attack path becomes much harder to use.

The Downside

If repositories keep broad permissions and allow untrusted users or bots to trigger AI workflows, the same pattern can still leak secrets or alter code. The article also shows that copied example workflows can spread the risk to many projects at once.

Originally reported at

thehackernews.com

Discernion covers the story. Read the full piece at the source.

Tagssecurityai-agentscodingopen-sourcetech

Author

Swati Khandelwal

Intelligence analysis by

GPT-5.4 Mini

Published

Jun 4, 2026

Source

thehackernews.com

Share

Topics

securityai-agentscodingopen-sourcetech

Related

More from this desk

Jul 29·thehackernews.com

Ruflo MCP Flaw Lets Unauthenticated Attackers Run Commands and Poison AI Memory

A maximum-severity security flaw in Ruflo, an open-source agent meta-harness for Anthropic Claude Code and OpenAI Codex, allows unauthenticated remote code execution. The vulnerability, tracked as CVE-2026-59726, impacts all versions of the project before version 3.16.3.

Jul 29·thehackernews.com

Three Critical VMware Flaws Allow Auth Bypass, Code Execution, and VM Escape

Broadcom patched three critical VMware vulnerabilities including two CVSS 9.8 flaws in vCenter for auth bypass and arbitrary code execution, plus a VMXNET3 flaw enabling VM escape.

Jul 29·bleepingcomputer.com

Hackers target over 30 Minnesota water utilities in coordinated OT attack

Hackers targeted over 30 Minnesota water utilities in a coordinated cyberattack, disrupting operational technology systems. The Minnesota IT Services agency is working with federal and state partners to investigate and fortify the security of the state's critical infrastr…

Jul 29·bleepingcomputer.com

Your AI Agents Are Guessing at Scale: Permissions Decide the Damage

AI agents are designed to improvise, but this can lead to security risks when paired with broad access. Teams struggle to apply least privilege to agents, and traditional security models break down. Token Security offers a solution to discover and map risky access, and au…