generated from ossf/project-template
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added two new criteria #35
Open
SecurityCRob
wants to merge
9
commits into
ossf:main
Choose a base branch
from
SecurityCRob:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
af4f25c
Update baseline.yaml
SecurityCRob c87e9ac
Update baseline.yaml
SecurityCRob 20268bf
Merge pull request #1 from SecurityCRob/SecurityCRob-patch-1
SecurityCRob e6fb13b
Merge branch 'main' into SecurityCRob-patch-2
SecurityCRob 2d442ee
Merge pull request #2 from SecurityCRob/SecurityCRob-patch-2
SecurityCRob b81642c
Update baseline.yaml
SecurityCRob d2d586c
Update baseline.yaml
SecurityCRob 9ccdb08
Update baseline.yaml
SecurityCRob c0d5f1f
Update baseline.yaml
SecurityCRob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -720,6 +720,62 @@ criteria: | |
in a separate repository and fetched during | ||
a specific well-documented pipeline step. | ||
control_mappings: # TODO | ||
security_insights_value: # TODO | ||
scorecard_probe: # TODO | ||
- id: OSPS-53 | ||
maturity_level: 2 | ||
category: Build & Release | ||
criteria: | | ||
All released software assets MUST be signed | ||
SecurityCRob marked this conversation as resolved.
Show resolved
Hide resolved
|
||
with a cryptographic signature. | ||
objective: | | ||
Provide users with a mechanism to verify the | ||
authenticity and integrity of released | ||
software assets, reducing the risk of | ||
tampering or unauthorized modifications. | ||
implementation: | | ||
Sign all released software assets at build | ||
time with a cryptographic signature or attestations, such | ||
as GPG or PGP signature, Sigstore signatures, SLSA provenance, or SLSA VSAs. | ||
|
||
Provide clear documentation for users on how they can verify the signature | ||
and what a valid signature or attestation indicates (e.g. | ||
"it came from our CI/CD system", | ||
"one of our project maintainers built the software", "it was built from the | ||
indicated source repo with the indicated builder", "it meets SLSA level 3"). | ||
|
||
SecurityCRob marked this conversation as resolved.
Show resolved
Hide resolved
|
||
It is recommended that this signature is | ||
generated as part of the build and release | ||
pipeline to ensure that it is consistent and | ||
automated. | ||
control_mappings: # TODO | ||
security_insights_value: # TODO | ||
scorecard_probe: | ||
- releasesAreSigned | ||
- id: OSPS-54 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd suggest splitting this out into a separate PR, since it seems less controversial than the other one. |
||
maturity_level: 3 | ||
category: Quality | ||
criteria: | | ||
All proposed changes to the project's | ||
codebase must be automatically evaluated | ||
against a documented policy for known | ||
vulnerabilities and blocked in the | ||
event of violations. | ||
objective: | | ||
Identify and address defects and security weaknesses | ||
in the project's codebase early in the | ||
development process, reducing the risk of | ||
shipping insecure software. | ||
implementation: | | ||
Create a status check in the project's | ||
version control system that runs a Static | ||
Application Security Testing (SAST) tool on | ||
all changes to the codebase. Require that the | ||
status check passes before changes can be | ||
merged. | ||
control_mappings: # TODO | ||
security_insights_value: # TODO | ||
scorecard_probe: # sastToolRunsOnAllCommits | ||
- id: OSPS-70 | ||
maturity_level: 3 | ||
category: Access Control | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I disagree with this one as worded fairly strongly.
I would reword it "cryptographically attested" -- We've seen multiple issues with just signing a piece of software.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mlieberman85 If the desire is for more than signing— should we split this into Lv2 signature, and Lv3 for more complete attestation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's reasonable. I think we should also be clear what just blanket "signing" should be interpreted as. Since people sign a lot of stuff for a lot of reasons, which is why folks have been moving to attestations so it's clear what the intent of the signing is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the first level should be plain signing with published singer identities. It's way easier to implement plain signing and it gets us initial integrity guarantees.