F-Droid does do some safety checks themselves already too, I don't know exactly what.
Edit: Perhaps I am mistaken... but I think the linked post was referring to users adding additional repos to the F-Droid store, not the default F-Droid repo??
It would be good to scan the sources with SAST and DAST and scan the APKs once they're built too.