fix(security): pin SPM dependency to revision SHA [DEVA11Y-477]#17
Open
sunny-se wants to merge 1 commit into
Open
fix(security): pin SPM dependency to revision SHA [DEVA11Y-477]#17sunny-se wants to merge 1 commit into
sunny-se wants to merge 1 commit into
Conversation
F-005 / DEVA11Y-477 — The generated Package.swift pinned the AccessibilityDevTools dependency to branch "main" (CWE-829), allowing any push to main to execute in the plugin sandbox. Pin to a specific revision SHA for supply-chain integrity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
setup()function inscripts/{bash,zsh,fish}/spm.shgenerated a temporaryPackage.swiftpinning the AccessibilityDevTools dependency tobranch: "main"(mutable ref, CWE-829). Any push to main could execute arbitrary code in the SPM plugin sandbox.revision: "0428b322b00494b19e44c20c37502a0ee31af642"(current main HEAD) for supply-chain integrity.Files changed
scripts/bash/spm.shscripts/zsh/spm.shscripts/fish/spm.shNote
The pinned revision SHA should be updated whenever a new release is cut, to track the latest verified commit.
Jira
DEVA11Y-477
🤖 Generated with Claude Code