sourcegraph / jsonrpc2

Package jsonrpc2 provides a client and server implementation of JSON-RPC 2.0 (http://www.jsonrpc.org/specification)
MIT License
190 stars 62 forks source link

Docs: Define a Security Policy #74

Closed diogoteles08 closed 12 months ago

diogoteles08 commented 1 year ago

Hi! I'm Diogo and I'm back (see #72) hoping to offer a bit more help with security enhancements.

This time I'm here to suggest that you expose a way that users can report sensitive vulnerabilities in a safe and efficient way. This is usually done through a Security Policy, which is a GitHub standard document (SECURITY.md) added on the root of the repo and that will be visible to the users in the "Security Tab", as you can see bellow:

image

Having a Security Policy is a recommendation from Github itself and from Scorecard -- being a security measure of medium priority.

Aiming to make this change easier, I'll take the liberty and submit a suggestion/draft of a Security Policy as a PR. Please feel free to edit it directly or ask me for editions until it is in compliance with how sourcegraph/jsonrpc2 would best handle vulnerability reports.