Skip to content

security: remove Trivy action due to supply chain compromise#22007

Merged
pelikhan merged 3 commits intomainfrom
copilot/update-trivy-action-version
Mar 20, 2026
Merged

security: remove Trivy action due to supply chain compromise#22007
pelikhan merged 3 commits intomainfrom
copilot/update-trivy-action-version

Conversation

Copy link
Contributor

Copilot AI commented Mar 20, 2026

aquasecurity/trivy-action v0.69.4 was confirmed compromised via supply chain attack. To eliminate the risk entirely, all uses of the Trivy action have been removed.

  • .github/workflows/security-scan.yml — Removed the entire trivy job (checkout, filesystem scan, and SARIF upload steps)
  • scratchpad/github-actions-security-best-practices.md — Replaced the Trivy action example with a note recommending language-native scanning tools (e.g., govulncheck for Go, npm audit for Node.js)

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Copilot AI changed the title [WIP] Update Aqua Security Trivy Action to safe version security: document Trivy action pinned to verified safe v0.35.0 Mar 20, 2026
Copilot AI requested a review from mnkiefer March 20, 2026 18:09
@github-actions github-actions bot mentioned this pull request Mar 20, 2026
@pelikhan
Copy link
Contributor

@copilot remove all uses of the trivy action

Copy link
Contributor Author

Copilot AI commented Mar 20, 2026

@copilot remove all uses of the trivy action

Done in 705af83. Removed the entire trivy job from security-scan.yml and replaced the Trivy example in the scratchpad docs with a note recommending language-native scanning tools instead.

Copilot AI changed the title security: document Trivy action pinned to verified safe v0.35.0 security: remove Trivy action due to supply chain compromise Mar 20, 2026
Copilot AI requested a review from pelikhan March 20, 2026 18:25
@pelikhan pelikhan marked this pull request as ready for review March 20, 2026 18:31
Copilot AI review requested due to automatic review settings March 20, 2026 18:31
@pelikhan pelikhan merged commit 42194db into main Mar 20, 2026
@pelikhan pelikhan deleted the copilot/update-trivy-action-version branch March 20, 2026 18:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes usage of the aquasecurity/trivy-action GitHub Action from CI and updates internal guidance to avoid recommending it, in response to a reported supply-chain compromise.

Changes:

  • Deleted the trivy job from the Security Scan workflow (including SARIF upload).
  • Updated the GitHub Actions security best practices scratchpad to recommend language-native vulnerability scanning tools instead of Trivy Action.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/security-scan.yml Removes the Trivy job and its SARIF upload, eliminating reliance on aquasecurity/trivy-action.
scratchpad/github-actions-security-best-practices.md Replaces the Trivy Action dependency scanning example with a recommendation for language-native tools.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Security Alert: Compromised Aqua Security Trivy Action (v0.69.4 and possibly others)

4 participants