HandBrake is an extremely popular piece of video transcoding software because it’s cross-platform, open source, and free. However, it was also recently compromised by malware. Users of the software were alerted recently that one of HandBrake’s download mirrors was infiltrated between May 2nd and 6th. Anyone who downloaded the macOS version of HandBrake during that time may have picked up a nasty Trojan.
The maintainers of HandBrake report that one of the two download mirrors it uses was affected, but the main Handbrake website and mirror was not. The affected domain (download.handbrake.fr) has been shut down pending an investigation. Anyone who downloaded the app during that time is advised to do a little detective work to find out if they were infected.
But I find that I can still download HandBrake in CNET http://download.cnet.com , and some other websites like those of their counterparts like http://www.videoconverterfactory.com/tips/is-handbrake-safe.html. I believe CENT is great and safe but not sure about others. The best way, as you mentioned is to download HandBrake from https://handbrake.fr/ , which is official.