Skip to content

A compromised GitHub Action printed CI secrets into build logs

In March 2025 attackers compromised tj-actions/changed-files, a popular GitHub Action. Projects that ran it between 12 and 15 March had CI secrets printed into their build logs.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
tj-actions GitHub ActionMarch 2025Refused

32 of 50

Stopped Limited: the payment went out through the bank’s own system This case: tj-actions GitHub Action. The gate refuses it.

What happened

The Action printed each project’s CI secrets into its build logs.

  1. March 2025. Attackers compromised tj-actions/changed-files, possibly through another Action, reviewdog/action-setup.

  2. From 12 March. Until 15 March, projects that ran it had access keys and GitHub tokens printed into their build logs.

  3. The fix. CISA listed it as CVE-2025-30066 in its Known Exploited Vulnerabilities catalog. Version 46.0.1 fixed it.2

How the gate handles it

With the sealed gate, a printed key used off the runner would have been refused.

CI would have held only SealedBox keys, which work only through the gate and are useless off the runner. Press Play to watch a printed key used elsewhere.5

CI step prints its secretsSample6
  1. runecho "$SEALEDBOX_KEY" >> build.logNo check on this step
  2. requestGET /s/npm/-/whoamifrom: laptop_unknownRefused403standin_bound_elsewhere

RefusedOnly SealedBox keys are printed, and they are useless off the runner.

How easy

A CI team could bind every build key to its runner in three steps.

Sample
Seal a keynpm
npm token
Paste your npm token
The CI job never sees the token.
Key rulesnpm
Calls from the runner
Calls from any other machine
Only the SealedBox key reaches the build.
Where approvals goAsk first
Slack
Microsoft Teams
Telegram
Email
A person approves or denies each call that asks first.

Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7

In code

Or in three lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Seal the keysealedbox keys sealCI gets sbk_live_1Xb8…r4.
2Set the rulessealedbox rules addOff the runner, the key is refused.
3Connect approvalssealedbox approvals connectAsk-first calls go to #ci.
Try it

Put the gate in front of your agent today.

Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.

Start free$ sealedbox try5-minute practice run9
Scope

What the gate doesn’t change, and three failures like this one.

Related cases
Answers11

Questions about this case and the gate.

Still have a question?Book a callAll questions
What would the build log have shown?

Only the SealedBox key. The real secrets stay sealed in the gate and never reach the CI job.

What if someone copies that key from the log?

From any other machine it is refused. On the runner it works only through the gate, under your rules.

How do CI jobs get cloud credentials?

Through one workflow step. On Pro, Gate only and Custom, once a person approves the exact plan, the gate issues AWS credentials that last 15 minutes.