java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

No SECURITY.md — vulnerability reporting process isn't documented

Open prashantpiyush1111 opened this issue 5 months ago • 2 comments

While looking through the repo's Security tab, I noticed GitHub flags this project as not having a security policy set up yet.

For a repo of this size (94k+ stars, widely used as a learning resource for design patterns), that feels like a gap worth closing. There's already been at least one published security advisory for this project (GHSA-85mx-2hxh-5r8p), which suggests the lack of a documented process isn't just theoretical — contributors and users genuinely don't have a clear path for reporting something sensitive if they find it.

A basic SECURITY.md would help with a few things:

  • Tells people which branches/versions are actually maintained, so they know if a report even applies
  • Gives a clear, private way to report a vulnerability instead of people defaulting to a public issue (which isn't ideal for anything sensitive)
  • Sets expectations on response time, so reporters aren't left guessing

I don't think this needs to be complicated — even a short, standard SECURITY.md following GitHub's own template would close the gap. If it's useful, I'm happy to put together a draft and open a PR for it rather than just leaving this as a suggestion.

prashantpiyush1111 avatar Jul 02 '26 09:07 prashantpiyush1111

Hi @prashantpiyush1111, I have an idea to handle this issue. Could you please assign it to me? :)

giabaow avatar Jul 02 '26 22:07 giabaow

Sure @giabaow, go ahead! I don't have permission to assign issues myself, so hopefully a maintainer can assign it to you when they get a chance. Looking forward to your PR!

prashantpiyush1111 avatar Jul 02 '26 23:07 prashantpiyush1111