Improving the default SECURITY.md template along with perhaps requiring it in bigger public projects? #195654
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
An example using the LICENSE.md style which allows users to select from multiple ones would be something like a generic default option that works as a catch-all. ( This could probably be improved quite a bit. ) Other templates could be provided such as ones that would have better formats and areas to support payments depending on the report like other bug bounty programs offer, ones that require some user input to fill in like their email, website, etc. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Code quality
Discussion Details
Improving the default
SECURITY.mdtemplateHello,
first - sorry if this is the wrong section. It's my first time using Discussions, but this seemed most relevant since the file's purpose is vulnerability reporting.
The current default
Right now the default
SECURITY.mdfor all projects is:I think this is a poor default. Most of us would rather not write it from scratch per project, or hunt down a well-formatted one from a popular repo to copy over.
Suggestion 1: A better generic default
Ship a default template that's generic enough to cover most use cases out of the box, while still being easy to extend.
An even better alternative might be copying what
LICENSE.mddoes: let users pick from generic templates suited to different project types. Possibly include an option to disable security reporting altogether, with an explanation - e.g. the project has no online capability and vulnerability reports wouldn't apply.Suggestion 2: Opt-in / opt-out for larger projects
This one I know is more divisive, but it pairs well with the
LICENSE.mdstyle approach: once a project gains enough traction, require maintainers to either opt in to aSECURITY.mdor opt out with a written explanation.I don't know exactly how we'd define "big enough" to warrant this. But looking around, I've seen plenty of 20,000+ star projects that lack a
SECURITY.mdentirely - they either handle reporting on their website or stuff the vulnerability-reporting info into the README instead of using the dedicated tool.Beta Was this translation helpful? Give feedback.
All reactions