Skip to content

fix: Update Trivy setup action version to v0.2.6 - #329

Merged
mefellows merged 1 commit into
pact-foundation:masterfrom
meher-liatrio:patch-1
Apr 17, 2026
Merged

fix: Update Trivy setup action version to v0.2.6#329
mefellows merged 1 commit into
pact-foundation:masterfrom
meher-liatrio:patch-1

Conversation

@meher-liatrio

Copy link
Copy Markdown
Contributor

The third party action was pinned to a compromised version, the release of which has been removed and is causing the audit pipeline to fail: https://github.com/pact-foundation/pact-broker-docker/actions/runs/24487795586

This pr pins the action to the commit sha of the only currently valid release per the docs: https://github.com/aquasecurity/setup-trivy

Further rumination steps may be required by maintainers: https://www.aquasec.com/blog/trivy-supply-chain-attack-what-you-need-to-know/

The third party action was pinned to a compromised version, the release of  which has been removed and is causing the audit pipeline to fail: https://github.com/pact-foundation/pact-broker-docker/actions/runs/24487795586

This pr pins the action to the commit sha of the only currently valid release per the docs: https://github.com/aquasecurity/setup-trivy

Further rumination steps may be required by maintainers: https://www.aquasec.com/blog/trivy-supply-chain-attack-what-you-need-to-know/
@mefellows

Copy link
Copy Markdown
Member

Thank you, much appreciated.

@mefellows
mefellows merged commit b6df49d into pact-foundation:master Apr 17, 2026
1 check passed
@YOU54F

YOU54F commented Apr 17, 2026

Copy link
Copy Markdown
Member

Thanks @meher-liatrio,

I don't believe we were impacted, there was a single audit run on March 19

https://github.com/pact-foundation/pact-broker-docker/actions/runs/23275257708/job/67676800999

which checked out this ref of trivy

Checking out the ref
/usr/bin/git log -1 --format=%H
20458b836b71b2bed72d31ebba1ba9572333dcfd

aquasecurity/trivy@20458b8

and installed

installing Trivy binary
aquasecurity/trivy info checking GitHub for tag 'latest'
aquasecurity/trivy info found version: 0.69.3 for v0.69.3/Linux/64bit
aquasecurity/trivy info installed /home/runner/.local/bin/trivy-bin/trivy

The job ran at Mar 19, 1:23 AM GMT, with the attack taking place on March 19, 2026 (~17:43 UTC)

The subsequent job ran a week later, which correctly failed as the tag was removed as you identified.

Thanks for the remediation follow up links

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.

3 participants