Skip to content
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

Feature: Give projects extra credits for "going the extra mile" #3795

Open
pnacht opened this issue Jan 15, 2024 · 2 comments
Open

Feature: Give projects extra credits for "going the extra mile" #3795

pnacht opened this issue Jan 15, 2024 · 2 comments
Labels
kind/enhancement New feature or request

Comments

@pnacht
Copy link
Contributor

pnacht commented Jan 15, 2024

Is your feature request related to a problem? Please describe.
There are some existing checks and feature requests which are a huge lift for many/most projects.

For example:

Likewise, other checks are more controversial:

This is part of the reason for the "disconnect" between what a Scorecard score means and what it feels like (#2466) – a 7.0/10 feels like a C-, but is actually an A/A+ (top 7% of relevant projects, top 0.2% of all projects).

Describe the solution you'd like
Projects can earn "extra credit" for taking these "security-paranoid" steps.

This could happen in two ways:

  • These settings can be separated into their own checks (i.e. Branch-Protection-Extra), which score either -1 (ignored) or 10. Therefore, projects that don't do these things can still get a 10/10 score if they do everything else, but they can also take these extra steps to dilute the impact of other checks they haven't done.
  • Projects could get an 11/10 score for Branch-Protection, for example. However, this could mean projects get a final score above 10. I personally don't mind that scenario, even if just for the PR aspect of it: "this project is so secure, its score goes to 11." Alternatively, we could just clamp the score to 10.

Either solution would lead to an overall increase in projects' Scorecard scores, which would help to close the gap between a score's meaning and sensation.

@pnacht pnacht added the kind/enhancement New feature or request label Jan 15, 2024
@spencerschrock
Copy link
Contributor

I'm going to start of by saying scoring is the most opinionated part of Scorecard, and it's impossible to score things in a way that satisfies everyone. Which is part of the reason for structured/results/probes, so we can frame things differently for different audiences. I know we've talked about having different "policies" for Single-Maintainer, , Security Conscious, and I think that also helps at what you're getting at. But Scorecard isn't there yet.

  • Existing check: Requiring 2 reviewers for 10/10 in Branch Protection, which is very rare in open-source and simply impossible for nebraska-dev projects.

If the difference is between a 9 and a 10, I think that difference is small enough it already counts as "extra credit".

Projects can earn "extra credit" for taking these "security-paranoid" steps.

I'm not sure I'd classify pinned dependencies as security-paranoid.

This is part of the reason for the "disconnect" between what a Scorecard score means and what it feels like (#2466) – a 7.0/10 feels like a C-, but is actually an A/A+ (top 7% of relevant projects, top 0.2% of all projects).
Either solution would lead to an overall increase in projects' Scorecard scores, which would help to close the gap between a score's meaning and sensation.

I think this is combining two distinct things. Just because a repo is in a high percentile, doesn't mean there aren't improvements to be made.

Copy link

This issue has been marked stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added Stale and removed Stale labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants