Merged
Conversation
- Fix template injection vulnerabilities in release.yml by using environment variables instead of direct interpolation of github.ref_name - Upgrade actions/checkout to v6.0.2 (pinned to SHA) across all workflows - Add persist-credentials: false to all checkout steps - Add top-level permissions block to version-check.yml Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
🚀 Preview package published! Install with: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketdev==3.0.32.dev2 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
lelia
approved these changes
Mar 25, 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.
Summary
release.yml, replaced direct${{ github.ref_name }}interpolation inrun:blocks with anenvvariable (REF_NAME) to prevent template injection attacks.actions/checkoutfrom the old pinned SHA tov6.0.2(de0fac2e4500dabe0009e67214ff5f5447ce83dd) across all three workflows (pr-preview.yml,release.yml,version-check.yml).persist-credentials: falseto allactions/checkoutsteps to avoid persisting the GITHUB_TOKEN in the git config.permissionsblock toversion-check.yml(contents: read, pull-requests: write, issues: write) to follow the principle of least privilege.