Add automatic update checks for security tools (zizmor, SFW)#251
Merged
John-David Dalton (jdalton) merged 3 commits intomainfrom Apr 11, 2026
Merged
Add automatic update checks for security tools (zizmor, SFW)#251John-David Dalton (jdalton) merged 3 commits intomainfrom
John-David Dalton (jdalton) merged 3 commits intomainfrom
Conversation
- Copy canonical update.mts from socket-cli (adds objectName scoping for replaceChecksumValue) - Fix woodruffw/zizmor → zizmorcore/zizmor in update.mts and checkout action
The updater was regex-replacing constants in index.mts (ZIZMOR_VERSION, SFW_FREE_CHECKSUMS, etc.) but those constants no longer exist after the migration to external-tools.json + zod validation. The updater now reads and writes external-tools.json directly via JSON manipulation.
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
update.mtsscript that checks for new zizmor and SFW releasesminimumReleaseAgecooldown for third-party tools (zizmor)index.mtswhen new versions are foundFiles
.claude/hooks/setup-security-tools/update.mts- Version check and checksum update script.claude/skills/updating/SKILL.md- Added phases 3b and 3c.gitignore- Updated to track.claude/hooks/and.claude/settings.jsonTest plan
node .claude/hooks/setup-security-tools/update.mtsand verify it checks versions/updateskill document includes the new phases