No, you’d need an antivirus software for that since preventing viruses isn’t on the agenda for a VPN.