Add Fix for cache-poisoning audit rule - #923
Merged
Merged
Conversation
mostafa
force-pushed
the
cache-poisoning-fix
branch
from
June 11, 2025 13:02
e2cfa4a to
30d29ad
Compare
mostafa
force-pushed
the
cache-poisoning-fix
branch
from
July 4, 2025 17:38
30d29ad to
29c847b
Compare
mostafa
marked this pull request as draft
July 4, 2025 18:20
mostafa
marked this pull request as ready for review
July 4, 2025 18:44
Contributor
Author
|
@woodruffw I fixed the issues and reverted most of the changes to |
Member
|
Thanks @mostafa! I'll be able to review this after the weekend. |
woodruffw
reviewed
Jul 7, 2025
woodruffw
left a comment
Member
There was a problem hiding this comment.
Whoops, meant to press "submit" on these yesterday 😅
Contributor
Author
|
@woodruffw Thanks for the review! I fixed the issues. |
Member
|
Thanks @mostafa, I'll do another review tonight! |
This was referenced Jul 16, 2026
This was referenced Aug 2, 2026
11 tasks
This was referenced Aug 19, 2026
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.
The Fixes generated by this audit suggest how to disable caching in GitHub Actions workflows when publishing artifacts. They use the
MergeIntooperation to update the relevant action'swithblock, setting the cache-related field (e.g.,enable-cache) to a value (such as'false'ortrue) that disables caching according to the action's configuration. For non-configurable actions, the Fix suggests manual removal or replacement.xref #876