Miners are known to be used in malware to make use of other peoples resources to earn money. As a result many virus-scanners report false positives, because they do not scan for malware, but payload (the miner) that is often distributed by malware.
Submit the executable to https://virustotal.com and you'll see that 11 engines make a positive detection, most of which catogorizing it as a Coinminer or as not-a-virus
If it weren't a mining program I would be worried, but in this case it is your virusscanner overreacting.