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

"Find me a CVE to curate" feature #978

Open
3 tasks done
Tracked by #1032
andymeneely opened this issue Oct 14, 2022 · 0 comments
Open
3 tasks done
Tracked by #1032

"Find me a CVE to curate" feature #978

andymeneely opened this issue Oct 14, 2022 · 0 comments
Labels
contribution-pipeline Any issues related to making it easier for people to contribute to VHP in any way. enhancement New functionality needs-ux-help Needs help from UI/UX folks
Milestone

Comments

@andymeneely
Copy link
Collaborator

andymeneely commented Oct 14, 2022

Motivation

It would be nice if people could be given a vulnerability that is ripe for curating at random.

At the moment in the 331 class, I do all this with spreadsheets and scripts. I basically load in YMLs that have fixes and VCCs found and then I assign everyone a different CVE. This works great for a class-type situation, but it would be nice if we could streamline it a bit and make it more web-based.

Feature

You hit a button and VHP randomly chooses a CVE that needs curating. It makes it very clear what we know and don't know about the vulnerability right now, and what you can do to help make it better. This would lead into a curate instructions/tool described in #965.

A few key things we need to preserve:

  • Random subsample. I've always had the curation selection process to be a random process. This is of scientific importance to me because I want all of our results to be a representative subset of all the vulnerabilities in VHP. We'll never curate all the vulnerabilities, but we should choose them at random
  • Double-assigning. I don't want to have VHP accounts for curators... ever. But I also don't want to double-assign CVEs. I suppose if the choice is random and the number of vulnerabilities is large enough, the chances of that are low. But still, I don't want to double-assign curations. I have some ideas for this, see below.
    • We could have the API update a CVE's database entry with the current timestamp, then have a 24-hour cooldown. That way, no two CVEs would get assigned within 24 hours. There might be issues with this, but it's an idea.
    • We could hit GitHub's API for any open issues or pull requests with the CVE in the title. And then don't assign ones that have an open PR or issue.
    • We could just take the "ostrich algorithm" - stick our heads in the sand and hope for the best.
  • Finding ones that are "ready". Some vulnerabilities are not ready to curate because we don't have enough info about them yet. Specifically, we need at least one fix and one vcc to get started. The API behind this should filter out those.

Check the following:

@andymeneely andymeneely added the enhancement New functionality label Oct 14, 2022
@andymeneely andymeneely added the needs-ux-help Needs help from UI/UX folks label Oct 14, 2022
@andymeneely andymeneely moved this to 📋 TODO in VHP Becomes a Thing Oct 14, 2022
@andymeneely andymeneely added this to the Spring 2023 milestone Feb 11, 2023
@andymeneely andymeneely added the contribution-pipeline Any issues related to making it easier for people to contribute to VHP in any way. label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution-pipeline Any issues related to making it easier for people to contribute to VHP in any way. enhancement New functionality needs-ux-help Needs help from UI/UX folks
Projects
Status: 📋 TODO
Development

No branches or pull requests

4 participants