[IMPROVE] pipeline-security immutable refs and provenance inputs#2595
Closed
JeremyZeng77 wants to merge 1 commit into
Closed
[IMPROVE] pipeline-security immutable refs and provenance inputs#2595JeremyZeng77 wants to merge 1 commit into
JeremyZeng77 wants to merge 1 commit into
Conversation
|
Thanks for the submission! 🙏 SecuritySkills is now issue-first: contributions need a linked issue that a maintainer has marked approved before a PR is opened. Please open an issue describing the skill, wait for the |
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.
Skill Improvement ($50-150 Bounty)
Skill Modified
Skill name: pipeline-security
Skill path:
skills/devsecops/pipeline-security/What Was Wrong
The pipeline-security skill already covered GitHub Actions pinning and provenance at a high level, but it did not go far enough on mutable action refs, reusable workflow governance, Docker-based action/container digest pinning, or provenance binding for privileged build inputs.
That left two problems:
Closes #2559
What This PR Fixes
Evidence
Before: the skill could miss mutable refs in reusable workflows and build containers, and it did not clearly separate low-impact read-only jobs from privileged pipelines.
After: the skill requires reviewers to classify action/workflow/container pinning with privilege context, justify any exception, and verify that attestations cover the inputs that actually produced the artifact.
Test Cases Added/Updated
tests/vulnerable/)tests/benign/)Local Validation
git diff --checkpassedgit diff --cached --checkpassed before commitBounty Tier
Bounty Info