The Legit & Safe—Windows Command Line Miner
There are no official CGMiner binaries being distributed anymore specifically because of this problem. You will need to download the source code and compile it yourself. Instructions for doing that are available here.



The reason that CGMiner is flagged as Unsafe is due to Anti-Virus software and malware that use CGMiner. Anti-Virus have performed analyses of the CGMiner and determined it to be a cryptocurrency mining software - which it is. Unfortunately, a lot of malware are also capable of mining cryptocurrencies once they infect someone's computer, so AVs have taken to flagging everything that can mine cryptocurrencies as unsafe. This then reaches the browsers which do the same.