eltharon.A journal of access, evidence & recoveryBack to Eltharon ↗
Independent reading. Informed decisions.Journal content updated

Incident study / Work & dependencies

tj-actions/changed-filesMarch 2025

A familiar version label pointed to different code

A build helper became a route from workflow secrets to build logs. Familiar names and version tags were not enough.

Article updated Sources reviewed Incident study
The case at a glance

A reading guide to the account below. These stages do not establish every step of an attack.

  1. 01

    A dependency’s version tags change

  2. 02

    Malicious code runs in a workflow

  3. 03

    Secrets can appear in logs

What investigators reported

Source account

In March 2025, StepSecurity reported a compromise of the tj-actions/changed-files GitHub Action. Attackers redirected multiple release tags to malicious code that attempted to place runner secrets into workflow logs. Publicly accessible logs could expose those secrets to readers.Source: StepSecurity: Harden-Runner detection: tj-actions/changed-files action is compromised

The label stayed familiar; its target changed

Source account

StepSecurity attributed the tag changes to a compromised bot-account personal access token. Its account did not establish the exact method used to obtain that token. A workflow following a moved tag could run different code without its own reference text changing.Source: StepSecurity: Harden-Runner detection: tj-actions/changed-files action is compromised

Exposure is not the same as a victim count

Source account

The action’s popularity is not a count of confirmed compromised repositories. This study does not establish which secrets were present in any particular run, who read a log, or whether those credentials were subsequently used. Those questions require the affected organisation’s evidence.

A network-only explanation would miss the point

Limits of the evidence

The investigators said they had no evidence that the leaked secrets were sent to a remote network destination. That is narrower than “no exposure”: publishing secrets into readable logs is itself consequential.Source: StepSecurity: Harden-Runner detection: tj-actions/changed-files action is compromised

A build tool has a job—and a reach

Our interpretation

Our interpretation: a helper that lists changed files should be assessed alongside the credentials available to the job running it. In a fictional team, the helper’s task may be narrow while the workflow also holds a production publishing credential. The surrounding authority can matter as much as the helper’s name.

GitHub recommends dependency lockfiles where available, or full-length commit SHA references where lockfiles cannot be adopted. It also advises auditing action source and warns that tags can be moved. An exact reference is useful provenance, not proof that the referenced code is harmless.Source: GitHub Docs: Secure use reference

Practical lessons

Our interpretation

Our practical checks focus on what the job can access and what evidence an incident would leave.

  • Identify third-party actions, their exact references and their update process.
  • Limit job credentials and permissions to the work that requires them.
  • Keep sensitive output out of logs and understand who can read retained logs.
  • If exposure is suspected, preserve appropriate evidence and revoke or rotate affected credentials through the incident process.

Read the evidence

Primary references. Source dates and our review date have different meanings. These links open the publishers’ material.

  1. Harden-Runner detection: tj-actions/changed-files action is compromisedStepSecurity · March 2025 incident investigation, updated account · reviewed 17 October 2026
  2. Secure use referenceGitHub Docs · Living documentation · reviewed 17 October 2026

Added 17 October 2026. Historical findings are attributed; practical questions and fictional examples are Eltharon’s interpretation. Read our method.