CVE-2025-30066 · CVE-2025-30154 · GHA001 · GHA007 · GHA008

Fix tj-actions/changed-files (CVE-2025-30066) & reviewdog (CVE-2025-30154)

Detect compromised tj-actions/changed-files and reviewdog/action-setup IOCs, replace mutable tags with native git diff or 40-char commit SHAs, and generate an offline hardening patch directly in your browser—0 bytes uploaded.

Scan Workflow (0 Upload) Pro Auto-Pinner $49 →

0 bytes uploaded · 0 GitHub OAuth · One-time local CLI & SARIF pack via Polar.sh (no subscription).

CISA KEV · CVE-2025-30066 reviewdog CVE-2025-30154 40-Hex SHA Auto-Pinner Diff 0 Network Requests During Scan
Drop private .github/workflows/*.yml files here or paste YAML below to audit for CVE-2025-30066, CVE-2025-30154, and unpinned tags locally.
Deterministic YAML AST · 0 bytes sent

Offline Hardened YAML Diff Preview


      

Vulnerable vs. Hardened Workflow (Exact Fix)

Both CVE-2025-30066 and CVE-2025-30154 succeeded because workflows referenced mutable tags (@v45, @v1) that attackers silently repointed to secret-stealing commits. Replace tj-actions/changed-files with native git diff and pin every remaining action to a full 40-hex commit SHA with an inline version comment.

Vulnerable · GHA001 · GHA007 · GHA008 · GHA017 · GHA020
name: Changed Files Lint
on:
  pull_request:
    branches: [main]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: tj-actions/changed-files@0e58ed8671d6b60d0890c21b07f8835ace038e67
      - uses: reviewdog/action-setup@v1
      - run: echo "Changed files scanned"
Hardened · 100/100 (Grade A · 0 Findings)
name: Changed Files Lint
on:
  pull_request:
    branches: [main]

permissions:
  contents: read

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  lint:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    permissions:
      contents: read
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
        with:
          fetch-depth: 0
          persist-credentials: false
      - name: Detect changed files natively via git diff
        env:
          BASE_SHA: ${{ github.event.pull_request.base.sha }}
        run: git diff --name-only "$BASE_SHA" HEAD

Compromised IOCs & Rules Checked Locally

Rule CVE / Indicator Malicious Pattern Caught Verified Remediation
GHA007 CVE-2025-30066 (CISA KEV) tj-actions/changed-files mutable tag, version < v46.0.1, or SHA 0e58ed8671d6b60d0890c21b07f8835ace038e67 Replace with native git diff --name-only or pin verified post-incident 40-char SHA; rotate all exposed CI secrets.
GHA008 CVE-2025-30154 reviewdog/action-setup@v1 mutable tag or compromised SHA 639252259a29368088446c50563930381228666a Pin to clean verified 40-char commit SHA, audit workflow logs, and rotate workflow tokens.
GHA001 / GHA002 CWE-829 Unpinned / Truncated SHA Any third-party uses: owner/repo@v4, @main, or short SHA (< 40 hex chars) Auto-pin with runnerproof-cli --fix --resolve-remote via local git ls-remote.
GHA005 CWE-829 Maintainability 40-char SHA without trailing # vX.Y.Z tag comment Keep trailing # v4.2.2 comment so Renovate/Dependabot can open cooldown-guarded PRs.

Auto-Pin Every Repository Locally (No GitHub App OAuth)

Need to retro-scan dozens of private repositories and auto-pin every third-party action to exact 40-character commit SHAs via local git ls-remote? Use the zero-dependency runnerproof-cli (one-time payment, no recurring SaaS fees):

Buy RunnerProof Solo CLI ($49 One-Time) Buy RunnerProof Team & CRA/SOC 2 Pack ($99 One-Time)

Frequently Asked Questions

What happened in CVE-2025-30066 (tj-actions/changed-files) and CVE-2025-30154 (reviewdog/action-setup)?

Attackers compromised upstream credentials in reviewdog/action-setup (CVE-2025-30154) and pivoted to tj-actions/changed-files (CVE-2025-30066), force-pushing mutable tags to malicious commits that dumped runner memory and CI secrets into workflow logs.

Is replacing tj-actions/changed-files with git diff --name-only safer than pinning it?

Yes. Eliminating unnecessary third-party actions removes the upstream compromise surface entirely. Where third-party actions stay, pin every uses: line to a 40-character commit SHA with an inline tag comment.

What must I rotate if my workflow ran the compromised commit?

Inspect Actions run logs for double-base64 output and immediately rotate every cloud credential, package registry token (npm, PyPI, Docker), GitHub PAT, and signing key accessible to the affected job.

Related GitHub Actions Remediation Guides

Script Injection Remediation

Fix ${{ github.event.* }} shell RCE (GHA013) and $GITHUB_ENV poisoning (GHA014) using safe env: bindings.

Read Script Injection Guide

permissions: write-all Fix

Replace default or write-all GITHUB_TOKEN grants (GHA017–GHA020) with least-privilege permissions.

Read Permissions Fix Guide

SOC 2 CC8.1 & EU CRA Guide

Build tamper-evident SHA-256 CI/CD audit evidence packs for SOC 2 CC8.1 and EU CRA Art. 14.

Read SOC 2 / CRA Guide

Oriancy Local Security Quartet

4 Zero-Upload Scanners · 1 One-Time Bundle
DevSecOps Quartet Bundle — All 4 local CLIs & auditor packs on one-time Polar licenses · oriancy.com