Skip to main content
Mallory
← Back to News
build-pipeline-compromiseleaked-secret-api-keypackage-repository-poisoninginformation-technology-sector-threat

GitHub Actions Supply-Chain Attacks Expose Secrets and Poison Ultralytics Releases

Supply Chain Risk · 2 sources · Updated 3d ago · First seen Mar 19, 2025

GitHub Actions Supply-Chain Attacks Expose Secrets and Poison Ultralytics Releases

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 Mallory
Affected 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-setup and March 14, 2025, for tj-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/actions for unsanitized user input reaching shell execution. Separately inspect format.yml for the reported pull_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 using pull_request_target does 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 ultralytics versions 8.3.41 or 8.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.

Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · 2024 – Mar 19, 2025
  1. Mar 19, 20252y ago

    Forensic analysis links the attack chain to a possible Web3 target

    François Proulx published an independent forensic assessment supporting the hypothesis that an attempted intrusion into an unnamed Web3 company motivated the attack chain. The analysis also identified gaps in GitHub event and audit logging that prevented a complete forensic reconstruction.

    From Pandora's Box to Nuclear Fishing: Escalating Threats in Build Pipelines Security | Boost Security Labs
  2. Reported Mar 19, 20252y ago

    Reviewdog maintainer discloses former automatic write-access grants

    A reviewdog maintainer disclosed a now-deprecated service that automatically granted repository write access to contributors whose pull requests were merged, including minor typo fixes. The analysis did not establish that this mechanism caused the compromise.

    From Pandora's Box to Nuclear Fishing: Escalating Threats in Build Pipelines Security | Boost Security Labs
  3. Reported Mar 19, 20252y ago

    Attackers publish a cryptominer in a Kong container image

    An attack against Kong's Kubernetes Ingress Controller exploited a confused-deputy vulnerability to publish an unauthorized Docker image containing a cryptominer.

    From Pandora's Box to Nuclear Fishing: Escalating Threats in Build Pipelines Security | Boost Security Labs
  4. Mar 14, 20252y ago

    Compromised tj-actions/changed-files exposes secrets in public workflow logs

    Attackers compromised tj-actions/changed-files and inserted code that extracted sensitive secrets from runner memory into public workflow logs. The exposure made the secrets accessible to parties beyond the original attackers.

    From Pandora's Box to Nuclear Fishing: Escalating Threats in Build Pipelines Security | Boost Security Labs
  5. Mar 11, 20252y ago

    Attackers compromise reviewdog/action-setup

    Attackers compromised the reviewdog/action-setup GitHub Action. The compromise enabled them to escalate their capabilities and subsequently compromise tj-actions/changed-files.

    From Pandora's Box to Nuclear Fishing: Escalating Threats in Build Pipelines Security | Boost Security Labs
  6. Reported Dec 11, 20242y ago

    Ultralytics and its community discover and mitigate the compromise

    The Ultralytics team and community discovered and mitigated the supply-chain attack, although its complexity delayed full mitigation.

    Prevent Ultralytics Style CI/CD Security Attacks with Network Security Controls
  7. Dec 4, 20242y ago

    Attackers submit malicious pull requests targeting Ultralytics workflows

    Attackers created malicious pull requests with crafted branch names to exploit shell injection and a pull_request_target workflow vulnerability. The attack enabled arbitrary code execution, CI/CD secret exfiltration, and build-cache poisoning.

    Prevent Ultralytics Style CI/CD Security Attacks with Network Security Controls
  8. Aug 24, 20242y ago

    Regression reintroduces a vulnerability in Ultralytics CI/CD

    A regression reintroduced a previously patched vulnerability in Ultralytics' CI/CD workflows, enabling the subsequent supply-chain attack.

    Prevent Ultralytics Style CI/CD Security Attacks with Network Security Controls
  9. 2024

    Ultralytics PyPI releases are poisoned with cryptomining code

    Attackers injected cryptomining code into Ultralytics releases v8.3.41 and v8.3.42, exposing users who installed them to unauthorized mining. The attackers also deleted malicious scripts and workflow logs to conceal their activity.

    Prevent Ultralytics Style CI/CD Security Attacks with Network Security Controls
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Yolov5Github

Organizations

1 linked
Ultralytics

Breaches

2 linked
REVIEWDOG-2025-03TJ-ACTIONS-2025-03
Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.