#Malware detected when building a project

5 messages · Page 1 of 1 (latest)

dapper laurel
#

This is pretty common behaviour when developing on windows honestly, it's fair enough to be vigilant, but I myself just turned off my antivirus altogether when I was still on Windows

void wasp
#

personally i rely on Windows Defender and making use of lots of VirusTotal scanning for downloaded files.

usually, that's enough if you know the basics of navigating the internet safely.

dapper laurel
#

If you don't download random files on the internet you're fine even without any snti virus, I turned off Windows Defender, and on Linux I've never had an antivirus at all.
But I'm not gonna advocate turning it off unless you're confident you can go without it.

The solution here is to tell your antivirus to not be so scared of folders where you're developing things. By definition you're running unregistered and unverified code; the libraries you use can't be trusted implicitly by your antivirus. The reason it's probably fine is because a lot of other people are using these libraries and a lot of other people have verified that they're fine, and if they'd found problems they would've made everyone aware of it, and it would've disappeared from crates.io.

#

There's no way a library can tell the antivirus not to be worried, because if it could then malware would be able to use that same method to get around it

void wasp
#

Windows Defender is unobtrusive enough i just leave it on, for the rare case it is useful (which it has been for when a family infected the NAS)