You're right. If you upload a file, it finds viruses (miners)
If you are afraid, you can compile from source codes!
Compile Ubuntu 16.04, 18.04, 19.04sudo apt-get install -y git
git clone https://github.com/cpu-pool/cpuminer-opt-cpupower.git
cd cpuminer-opt-cpupower
sudo apt-get install -y automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++
sudo apt-get install -y lib32z1-dev
chmod +x build.sh
./build.sh