fix: address zizmor security audit findings with auto-fix in GitHub workflows - #1165
Open
hemasekhar-p wants to merge 1 commit into
Open
fix: address zizmor security audit findings with auto-fix in GitHub workflows#1165hemasekhar-p wants to merge 1 commit into
hemasekhar-p wants to merge 1 commit into
Conversation
hemasekhar-p
force-pushed
the
zizmor-auto-fix
branch
from
August 7, 2026 06:46
227b7d8 to
8b15c2c
Compare
Author
🔧 Manual Fix: Addressed Remaining
|
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.
Overview
This PR addresses security findings identified by
zizmorstatic analysis in GitHub Actions workflows.🛡️ What Was Changed and Why?
1. Pinned GitHub Actions to Full Commit SHAs (
unpinned-uses)@v4,@v8,@v10,@v3.0.2) with immutable 40-character commit hashes for external actions across all workflows (actions/checkout,actions/setup-java,actions/stale,actions/github-script, andMathieuSoysal/Javadoc-publisher.yml), preserving version tags as comments.2. Restricted Credential Persistence (
artipacked)persist-credentials: falseonactions/checkoutacross workflow jobs (unit-tests.yml,pre-release-tests.yml, andpublish-javadoc.yml).actions/checkoutpersists runnerGITHUB_TOKENcredentials in the local.git/config. Disabling credential persistence prevents token exfiltration or artifact poisoning if build scripts or downstream dependencies are compromised.📊 Modified Files Summary
.github/workflows/unit-tests.ymlcheckout&setup-javaSHAs +persist-credentials: false.github/workflows/pre-release-tests.ymlcheckout&setup-javaSHAs +persist-credentials: false.github/workflows/publish-javadoc.ymlcheckout,setup-java, &Javadoc-publisherSHAs +persist-credentials: false.github/workflows/stale.ymlactions/staleto exact commit SHA.github/workflows/google-contributor-stale.ymlactions/staleto exact commit SHA.github/workflows/block_major_releases.ymlactions/github-scriptto exact commit SHA📈 Zizmor Audit Results Comparison
36 findings(10 High, 5 Medium, 21 Suppressed)23 findings(0 High, 2 Medium, 21 Suppressed)unpinned-usesfindings and Low-severityartipackedcredential persistence issues across 6 workflow files.✅ Verification & Safety