security: remove Trivy action due to supply chain compromise#22007
Merged
security: remove Trivy action due to supply chain compromise#22007
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/gh-aw/sessions/8dfc743a-3903-4f62-95df-460aa036583d
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
Contributor
|
@copilot remove all uses of the trivy action |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/gh-aw/sessions/732e779b-8e41-49d9-82e2-a821d7c43a18
Contributor
Author
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
pelikhan
approved these changes
Mar 20, 2026
Contributor
There was a problem hiding this comment.
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
trivyjob from theSecurity Scanworkflow (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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
aquasecurity/trivy-actionv0.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 entiretrivyjob (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.,govulncheckfor Go,npm auditfor Node.js)⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.