Add proof-of-commitment supply chain hook to Community Resources#332
Open
piiiico wants to merge 1 commit into
Open
Add proof-of-commitment supply chain hook to Community Resources#332piiiico wants to merge 1 commit into
piiiico wants to merge 1 commit into
Conversation
ApprovabilityVerdict: Needs human review Documentation-only change adding an external link, but the author does not own README.md. The designated code owner should review this community resource addition, especially since it links to the author's own project. You can customize Macroscope's approvability policy. Learn more. |
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.
Adds the proof-of-commitment supply chain hook to Community Resources.
What it does:
poc hook --windsurfinstalls apre_run_commandhook that intercepts package installs (npm install,pip install,cargo add,go get) and checks them against behavioral supply chain risk signals before execution. CRITICAL packages (single publisher + high download volume — the exact attack profile used in the axios and LiteLLM compromises) are blocked.Why it matters for Windsurf users: The Shai-Hulud worm (May 2026) specifically targeted AI coding assistants, planting persistence hooks in IDE config files. When an AI agent installs dependencies autonomously, this hook is the gate that catches compromised packages.
Install:
npx proof-of-commitment hook --windsurf(one command, writes.windsurf/hooks.json).Note
Add proof-of-commitment supply chain hook to Community Resources in README
Adds a new entry under the Community Resources section of README.md linking to a proof-of-commitment supply chain hook for the Windsurf IDE, with a brief description of the commands it intercepts.
Macroscope summarized b978d83.