I am pretty sure the distro packagers all know where to get the real code from, and its packaged for everything that runs X so minimal risk.
Also assuming something on github is the official repo is dangerous anyway. There might be multiple repos with the same name, there might be a more actively developed fork and the official one might be unmaintained, etc.
Because I do not think making github a way of verifying things is a good idea. It encourages people to assume that whatever they find on github is safe.
As for "happens every day". How often, really? JWZ says "I strongly recommend that you install a binary package rather than compiling it yourself." I would guess very few end users compile xscreensaver themselves.
Warning: it persists somehow, so you can't click on a link from HN, realise the problem, then copy+paste to correct it. Looks like you need to open an incognito window, use a different browser, or maybe otherwise clear your session.