Have cosign verify require https://sigstore.dev/cosign/sign/v1 predicateType #5228
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 272 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5228"
general
weight: 0.35
cmurphy
<!--
Thanks for opening a pull request! Please do not just delete this text. The three fields below are mandatory.
Please remember to:
issue tags such as "Closes #XYZ" or "Resolves sigstore/repo-name#XYZ".
git commit -s, orgit commit -s --amendif you want to amend already existing commitsThank you :)
-->
Summary
<!--
Explain the motivation for making this change. What existing problem does the pull request solve? How can reviewers test this PR?
-->
Part of #5155 was ensuring that bundles verified by
cosign verifywere using the predicate type issued bycosign sign.This change does not prevent other bundles from being fetched, but it does work with local bundles (which #5155 did not).
Release Note
<!--
Add a release note for each of the following conditions:
Config changes (additions, deletions, updates)
API additions—new endpoint, new response fields, or newly accepted request parameters
Database changes (any)
Websocket additions or changes
Anything noteworthy to an administrator running private sigstore instances (err on the side of over-communicating)
New features and improvements, including behavioural changes, UI changes and CLI changes
Bug fixes and fixes of previous known issues
Deprecation warnings, breaking changes, or compatibility notes
If no release notes are required write NONE. Use past-tense.
-->
cosign verifyrequires the predicate type produced bycosign sign:https://sigstore.dev/cosign/sign/v1Documentation
<!--
Does this change require an update to documentation? How will users implement your new feature?
Please reference a PR within https://docs.sigstore.dev
-->
N/A