Hacker News new | ask | show | jobs
by landr0id 481 days ago
Windows Defender believes that my Rust egui application is a trojan, but magically if I compile it with a different toolchain it's no longer flagged :p

There's something seriously wrong with A/V heuristics.

2 comments

I’ve had similar issues across multiple programming languages. The latest is a C++ program with almost no dependencies. While I’m making changes and frequently recompiling, windows defender will randomly pop-up and let me know that it deleted my freshly-compiled binary. The change will often be something simple, and simply making any change and compiling again will randomly not get flagged.

It’s extremely annoying. It’s my code, stop deleting it. It’s not malware.

Given Rust's supply chain worries, maybe it really is, don't count it out too quickly.