An attacker tried to hijack 61 popular open-source projects in 43 minutes, and needed nothing more than a GitHub account. Researchers at Radware found at least 83 malicious issues, pull requests and comments posted across 61 public repositories. They included Google’s LangExtract, Trivy, the Brave browser, MLflow and Homebrew. Each hid shell commands inside invisible HTML comments, aiming to trigger automated CI workflows that would run them and leak credentials. It is a supply-chain attack that needs no access to the code at all, and it targets exactly the automation, including AI-assisted automation, that projects now rely on.
Go deeper: why AI-era automation has become the attack surface: The AI Bug Avalanche.
How the attack works
The attacker posted an issue, pull request or comment with malicious commands hidden in HTML comments, invisible on the rendered page, The Register reports. Many repositories run GitHub Actions workflows automatically when such events occur. “The workflow automatically is triggered within a second, and if the workflow is indeed vulnerable, then the attack is executed successfully,” said Radware’s Gabi Nakibly. Vulnerable workflows place attacker-controlled text directly into shell commands, which then collect environment variables, including secrets, and send them to an attacker’s server. “Basically, every user with a GitHub account can try to run this attack,” said researcher Zvika Babo.
The scale
77 of the 83 items were posted in a 43-minute window on 1 September, using 74 different GitHub accounts, many with legitimate histories and probably compromised. Radware suspects a single attacker whose final goal was to obtain write access and push malicious code downstream. Targets include agno (42.7K stars), ToolJet, google/langextract, aquasecurity/trivy, CopilotKit, podman, qwen-code, mlflow, discord.js, cilium, brave-browser, dotnet/maui, homebrew-cask, github/docs and PX4-Autopilot. Radware found two cases where logs show the command ran inside the automation environment, but it cannot yet say whether any repository was actually compromised. The researchers found the campaign while studying prompt injection on GitHub.
What maintainers should do
Never interpolate issue titles, bodies, comments or pull-request text directly into shell commands in workflows. Pass them as environment variables and treat them as untrusted input. Restrict workflows triggered by outside contributors, give the default token read-only permissions, keep secrets out of jobs that process untrusted events, and require approval before workflows run for first-time contributors. The same rule applies to AI agents that read issues and comments: hidden instructions in a ticket are input, not commands.
Written for Red Robot with AI assistance and human editing. Based on reporting by The Register on Radware’s research.