GitHub Actions Supply-Chain Attacks Expose Secrets and Poison Ultralytics Releases
Supply Chain Risk · 2 sources · Updated 3d ago · First seen Mar 19, 2025

A March 2025 supply-chain attack compromised reviewdog/action-setup and subsequently enabled the compromise of tj-actions/changed-files, exposing sensitive secrets from runner memory in public GitHub Actions workflow logs. Boost Security Labs assessed that an attempted intrusion into an unnamed Web3 company likely motivated the attack chain, despite its eventual broader exposure of secrets. Reviewdog had previously automatically granted repository write access to contributors whose pull requests were merged, but the investigation did not establish that this practice caused the breach. Limited GitHub audit visibility into tag changes and release-asset replacement hindered forensic investigation.
The incident followed a separate compromise of Ultralytics’ GitHub Actions pipelines that placed cryptomining code in PyPI releases 8.3.41 and 8.3.42. Attackers exploited shell injection and a “pwn request” vulnerability to execute code, exfiltrate secrets and poison build caches, then deleted malicious scripts and workflow logs to obscure their activity. Together, the incidents highlight the need to restrict contributor and workflow permissions, safely handle untrusted pull-request input, and monitor build-time activity. StepSecurity demonstrated network egress controls as a mitigation for the Ultralytics attack techniques; organizations should also review third-party action dependencies and rotate secrets confirmed or suspected to have been exposed.
How do I know if I’m affected?
Start a thread with Mallory to assess this story against your environment.
Sign in to start a thread with MalloryAffected configurations and checks
How to determine exposure
reviewdog/action-setup and tj-actions/changed-files
- Review current and historical workflow definitions, reusable workflows, dependency references, and execution records for either action. The reported compromises occurred on March 11, 2025, for
reviewdog/action-setupand March 14, 2025, fortj-actions/changed-files. The supplied evidence does not identify exact malicious commits, affected tags, remediation commits, or complete exposure windows; action names and dates alone cannot establish whether a particular run executed malicious code. Source - Exposure requires execution of a compromised action revision. For
tj-actions/changed-files, the payload extracted secrets from runner memory and printed them into workflow logs; public logs made those secrets accessible beyond the original attackers. Privileged credentials must have been present to be stolen, but the supplied evidence does not establish which credentials were available in each workflow or whether private-log executions also occurred. Source - Safely inspect retained workflow logs under restricted access for unexpected secret or memory dumps, and correlate runs with historical action revisions and credential availability. A matching malicious revision or secret dump establishes exposure; absent logs or unresolved historical tag targets leave exposure unknown. The investigation encountered missing public events and incomplete audit visibility, including limitations affecting tag changes and release-asset replacement. Source
- Reviewdog previously automatically granted repository write access after a contributor's pull request was merged. That practice was deprecated, and its role in the compromise was not established. It is not a proven prerequisite for downstream exposure. Fixed versions, backports, runner-platform restrictions, and configuration-based exclusions are not supplied. Source
Ultralytics CI/CD: shell injection and privileged pull-request execution
- Inspect historical revisions of
ultralytics/actionsfor unsanitized user input reaching shell execution. Separately inspectformat.ymlfor the reportedpull_request_target-based “pwn request” vulnerability. The source identifies both weaknesses and malicious pull requests with crafted branch names, but does not establish whether both weaknesses were necessary for every attack path. Merely usingpull_request_targetdoes not establish the same vulnerability. Source - The reported attacker entry point was a malicious pull request; subsequent execution enabled secret theft and cache poisoning. A regression reintroduced a previously patched vulnerability on August 24, 2024, and malicious pull requests were created on December 4, 2024. Exact affected action revisions, the regression's attribution to each weakness, fixed revisions, backports, required token permissions, and version-specific defaults are not supplied. Source
- Read-only review should compare historical workflow files, pull-request metadata, retained logs, cache provenance, and publishing runs. Evidence that attacker-controlled input reached privileged shell execution warrants incident investigation. Missing logs are inconclusive because the attacker deleted scripts and workflow logs. No operating-system, hardware, firmware, or runner-type exclusions are established. Source
Ultralytics package consumers
- Review package inventories, lockfiles, installation records, and image manifests for PyPI package
ultralyticsversions8.3.41or8.3.42. These releases contained cryptomining code; the source reports that users who installed them ran that code. A historical installation warrants host investigation even if the package was subsequently upgraded. Source - The supplied evidence does not identify a verified clean replacement version, package hashes, supported platform exclusions, or persistence behavior. Other versions are not identified as compromised here, but their absence from the report is not a general assurance of safety. Source
Why it matters
Compromised GitHub Actions exposed CI/CD secrets, while poisoned Ultralytics releases caused users who installed them to run cryptomining code.
Organizations executing compromised action revisions risked credential disclosure and subsequent repository or package-publishing abuse. Secrets printed into public workflow logs were accessible to parties beyond the original attackers. Automatically expiring GITHUB_TOKEN credentials differ in exposure duration from potentially longer-lived personal access tokens and npm/PyPI publishing tokens. The supplied evidence does not quantify affected organizations or establish which exposed credentials were subsequently abused.
These were observed compromises, not hypothetical vulnerabilities. The separate Ultralytics incident involved CI/CD secret theft, poisoned build caches, and cryptomining code in PyPI releases 8.3.41 and 8.3.42, creating unauthorized compute consumption for affected users. No quantified financial loss or operational outage is supplied.
Industry-specific impact is not established. Boost Security Labs assessed that an attempted intrusion into an unnamed Web3 company likely motivated the March attack chain, but this remains a hypothesis and does not establish a specific affected industry. The later secret exposure was characterized as indiscriminate. Generic use of YOLO across industries does not establish sector-specific impact. Boost Security Labs · StepSecurity
Geography-specific impact is not established. Neither supplied reference identifies affected operations, user populations, or targeting in a particular country or region.


