Open CsatariGergely opened 5 months ago
What people think about this? Should we try to address it with a pr?
Hey @CsatariGergely! I think this could be a positive change, as many projects indeed have the content of a security policy directly on their README. But I'm not sure if this would be worth a 10/10, because there is also some value on having a dedicated SECURITY.md, as:
That said, I'd be in favor of a PR, but I'd first define a more detailed plan for the resultant scoring.
WDYT, @spencerschrock @raghavkaul
Having a SECURITY.md is a well known convention. If we start parsing the README, my thoughts go to detection mechanisms and false positives.
Do we know how widespread the issue is? And what we'd be looking for in a README?
Having a SECURITY.md is a well known convention. If we start parsing the README, my thoughts go to detection mechanisms and false positives.
I agree with this. The extent to which a README
mentions security should ideally be limited to a brief sentence linking to the actual SECURITY.md
policy (similar to how CONTRIBUTING.md
is treated). GitHub will also autodiscover this file and make the policy available at /orgname/reponame/security/policy
for any repository (example) that follows this convention.
That said, I would definitely be in support of an additional check for the presence of SECURITY-INSIGHTS.yml
(which was previously discussed in #2305 and #2479, and has more stringent requirements for what a security policy should entail.
This issue has been marked stale because it has been open for 60 days with no activity.
Is your feature request related to a problem? Please describe.
There are lots of projects which are describing their security policy in other places, than a SECURITY.md file.
Describe the solution you'd like
Expected content of a security policy should be checked in README.md also.
Describe alternatives you've considered
None
Additional context
None