Skip to content

Remove aquasecurity/trivy-action from .github/workflows/scan.yml#192

Merged
Michael Collins (michaeljcollinsuk) merged 1 commit into
mainfrom
chore/remove-trivy-action/github-workflows-scan.yml
Mar 20, 2026
Merged

Remove aquasecurity/trivy-action from .github/workflows/scan.yml#192
Michael Collins (michaeljcollinsuk) merged 1 commit into
mainfrom
chore/remove-trivy-action/github-workflows-scan.yml

Conversation

@julialawrence

Copy link
Copy Markdown
Contributor

Why

aquasecurity/trivy-action has been compromised for the second time. All tags before 0.35.0 were re-pointed to a malicious commit that dumps process memory to steal credentials from CI runners.

As recommended by the maintainers:

"As hard as it may be: do not use Trivy anymore for now."

Any repository that ran a workflow using this action during the exposure window may have had secrets exfiltrated. Rotate any secrets that were available to workflows using this action.

What this PR does

Removes the aquasecurity/trivy-action step(s) from this workflow. The uses: directive and its with: block have been replaced with a run: step that creates an empty but valid SARIF file (where applicable), so downstream steps (e.g. upload-sarif) continue to pass.

Note: Repo owners should review whether the entire workflow/job can now be removed, or whether an alternative scanning solution should be adopted.

Raised automatically for review.

@julialawrence julialawrence requested a review from a team as a code owner March 20, 2026 12:46
@michaeljcollinsuk Michael Collins (michaeljcollinsuk) merged commit 0bc7a02 into main Mar 20, 2026
20 checks passed
@michaeljcollinsuk Michael Collins (michaeljcollinsuk) deleted the chore/remove-trivy-action/github-workflows-scan.yml branch March 20, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants