Virus is now a most common threads for a device, mainly virus came from internet. Downloaded file or android APK file may contain many malicious code or virus which can harm our device and even can spying on you. So there is some way to check or detect there is any virus in your any file or specially apk file or not. So, let's check out.
- Virus Total
There is a free website 'virus total' you can check there whether your apk file containing virus or not. That is very easy first check out website: https://www.virustotal.com.
- Comparing hash value
You can easily check virus by simply comparing hash value of the apk file then again you have to took help of virus Total website.
2. Now, download that app from playstore and upload to virus Total website then check out hash value, if hash value of downloaded apk from internet and downloaded from playstore are same, then the app ( downloaded from internet ) is safe to use. Otherwise there is some risk.
Also read: Is download from third party sources are safe?
At last I will say it is better to download app from playstore and quite safe to use. But if you download app from other sources please check that.