I am an experienced programmer, but new to rust. I have used rustup to install the latest version of the toolchain to my windows 11 laptop. I'm checking versions and get the following
It's very common for antivirus software to detect false positives from compiled executables. Thousands of similar search results are just a web search away.
"FileRepMalware" is not identified malware. It is just a tag that says the program machine code does things that some malware also does in a similar way.
I understand that. I assume that it doesn't have that malware and I've reported it as a false positive to norton. I just hope the folks the that generate the code haven't let something slip in. Meanwhile, I'm unable to do anything since Norton"quarantines" it.
Windows Defender goes through periods where it'll think my compiled Rust binaries are malware. It seems to trigger more often when I'm developing windows services. I searched for the malware type it "detected", and People On The Internet said that part of the name suggested it was some new "AI" heuristics that was triggering the false positives.
This is apparently how things are supposed to be these days.
Essentially yeah, it allows us to identify unknown malware which is much safer than only being able to identify malware that we've already seen before.
But the price is false positives, things that look like malware or do things that malware does aren't always malware.
Being able to tell your antivirus "OK sure, thanks for the heads up, but I know this isn't malware" is very important, and an expected part of the process of using antivirus software.
Do we wish it was smarter and had fewer false positives? Yeah of course, but malware is crafty and pretends to be normal software, which makes it a difficult problem!
FileRepMalware seems to be a generic name for any executable which has a too low "reputation". Aka not enough users of norton have used this executable yet. If we were to start code signing rustc.exe and cargo.exe the reputation would likely get inherited across versions. As I understand it however there are organizational issues that make it hard for us to implement code signing.