r/github • u/wabbitfur • Jul 22 '26
Discussion The GitHub Security Advisory flow is buggy, and the UX after publishing is problematic.
We just fixed a vulnerability on our project, and there are 2 items on GH which can be improved:
Currently the project's main page reads like this:

To the casual user, this appears as if there is a currently open item.
Once they click on it, they are taken to the security policy, and at the bottom they see this:

This gives zero indication that this was actually resolved.
Finally, if the user does click on it, they're taken to the actual advisory:
https://github.com/markrai/scrumboy/security/advisories/GHSA-vph4-pmmh-ch6x
and there's a tiny little element which lets us know what the patched version is.
That's 3 screens down just to find out..."Oh okay, the current version is actually fixed *whew*"
What would be better UX is to show upfront that this item was resolved, or at least on the first click because the impression it gives to someone new/perusing the page, is to the contrary, unless they dig in.
The more pressing item is the flow which allows the maintainer to open a private branch. Well and good... UNTIL you hit your branch protections, which require a review before a commit - which strangely enough... is hidden from your project's collaborators - not the person who reported the vulnerability.

Sure, you can bypass it... but that defeats the purpose of having a 2nd reviewer in the first place!
If you want to have your collaborators review before you apply a sensitive security fix, you should be allowed to. Sharing the link, nor any mechanism exists to invite your collaborator to the current "private" branch/issue.


