reviewdog/action-setup@v1 dumped CI secrets into workflow logs
A hijacked reviewdog GitHub Action printed CI secrets into build logs.
Are you affected?
The free scanner that answers this opens soon. Until then, the steps below work by hand.
What happened
A hijacked reviewdog action dumped CI secrets into logs. GitHub's advisory for CVE-2025-30154 says malicious code added to reviewdog/action-setup@v1 dumped exposed secrets to GitHub Actions workflow logs. Wiz, which reported it, says the v1 tag pointed to a malicious commit on 2025-03-11 between 18:42 and 20:31 UTC; the payload was base64-encoded inside install.sh and dumped runner memory, so on public repositories the secrets appear in the logs as double base64. Wiz observed no exfiltration beyond the logs. The reviewdog actions action-shellcheck, action-composite-template, action-staticcheck, action-ast-grep and action-typos use it and may be affected regardless of version or pinning. Wiz assesses that this compromise likely led to the theft of the tj-actions bot's personal access token and so to the tj-actions/changed-files attack; Wiz calls that likely, not confirmed. Wiz later said a reviewdog account had itself been compromised.
- Exposure starts
- 2025-03-11
- Exposure ends
- 2025-03-11
- Confidence
- high
- Scope
- every secret available to a GitHub Actions workflow that ran reviewdog/action-setup@v1, or a reviewdog action that uses it, on 2025-03-11 between 18:42 and 20:31 UTC
What to do, in this order
- Find runs of reviewdog/action-setup@v1 and the dependent reviewdog actions on 2025-03-11, and download their logs before deleting anything
Wiz says to keep the logs from the window as evidence; CISA says to audit for affected runs in this window.
- Every custom secret those workflows could read, starting with tokens that can push code or publish packages
CISA says to rotate all identified secrets immediately as they should be considered compromised; Wiz says to rotate leaked secrets. Starting with push and publish tokens is Advisory inference, following Wiz's account of the tj-actions bot token.
anything else stored there
- Update reviewdog/action-setup to commit 3f401fe, or stop using the affected actions on every branch
CISA names the fixed commit; Wiz says to remove references across all branches, not just main.
- Pin third-party actions to full commit SHAs
Wiz says hash-pinned users of action-setup were not affected; the attacker moved the v1 tag.
Notes
- The sources do not name specific credential types, so this entry uses "*". Wiz notes that the automatic GitHub token (prefix ghs) is short-lived and a limited long-term risk unless a job was interrupted, and that secrets are most at risk when a workflow explicitly references custom secrets.
- GitHub Actions is not a package ecosystem in this schema, so the affected actions are listed in indicators. The advisory lists no patched release; the fix is commit 3f401fe.
How to tell if you’re affected
- reviewdog/action-setup@v1 run on 2025-03-11 between 18:42 and 20:31 UTC
- reviewdog/action-shellcheck, action-composite-template, action-staticcheck, action-ast-grep or action-typos in a workflow during that window
- Malicious commit f0d342d in a fork of reviewdog/action-setup
- Double base64-encoded text in workflow log output from install.sh
Sources
- GitHub advisory GHSA-qmg3-hpqr-gqvc: reviewdog/action-setup (CVE-2025-30154)
- CISA: Supply chain compromise of third-party tj-actions/changed-files (CVE-2025-30066) and reviewdog/action-setup@v1 (CVE-2025-30154)
- Wiz: New GitHub Action supply chain attack, reviewdog/action-setup
Rotating the keys
Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.
By hand, free: the steps above.