Conversation
Security fix (AS-6): - KeylessVerifier::verify() had a fail-open path where Rekor verification was silently skipped when the Rekor entry UUID was empty or "skipped". This violated design decision DD-2 (fail-closed on Rekor unavailability). Now returns an error requiring valid Rekor transparency log entry for all keyless signature verification. Coverage improvements (91% → 98.4%): - Added protects links from all 11 system constraints to security properties - Added AS-11 (unverified module loading) and AS-12 (OIDC misconfiguration) - Added CG-9 through CG-13 for remaining threat scenarios - Added CD-10 through CD-12 and CV-9 through CV-11 for CR-9/10/11 - Added SP-9 (module hash integrity) and SP-10 (cert pin integrity) Fixes: SC-6 Refs: AS-6, DD-2, UCA-5 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
KeylessVerifier::verify()had a fail-open path where Rekor verification was silently skipped when the entry UUID was empty or"skipped". Now returns an error, enforcing DD-2 (fail-closed). This was discovered by the STPA-Sec analysis in PR feat: add Rivet STPA-Sec traceability and convert security docs #50.Security fix detail
Before (fail-open, line 441-448 of signer.rs):
After (fail-closed):
STPA-Sec findings summary
expected_issuerfieldCoverage improvements
protectslinks from all 11 system constraints → security propertiesTest plan
cargo test— all tests pass (551 passed)rivet validate— PASS (5 warnings remaining)rivet coverage— 98.4% weighted traceability🤖 Generated with Claude Code