Skip to content

Conversation

@sddhantjaiii
Copy link

feat: add VEX automation for closed issues

When an issue is closed with labels like vulnerable_code_not_in_execute_path, this automation creates a PR in nodejs/security-wg with the VEX entry.

Setup required by maintainers:

Add SECURITY_WG_TOKEN secret with write access to nodejs/security-wg
Closes #224

Automated checks are currently run through a GitHub action using
[dep_checker](https://github.com/nodejs/nodejs-dependency-vuln-assessments/tree/main/dep_checker).

When issues are closed with specific labels (e.g., `vulnerable_code_not_in_execute_path`),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you include the docs for all the other labels?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure it will not be a problem just a little context how deep i have to go

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to include a list of labels we need to create, they need to match the vex spec

@marco-ippolito
Copy link
Member

Overall looks good to me, it lacks some documentation and checking if vuln already exists in the database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate VEX file entry creation

3 participants