[deleted]
> If in doubt, use virustotal
Virus scanners are based on blacklists and some iffy heuristics. A clean result is not a guarantee of safety. Nearly any custom-built malware will slip by.
Windows is a huge pain for compiling software with dependencies, but I don't think MozJPEG has any. There are detailed build instructions for Windows included.
No virus software would ever detect a completely novel trojan without throwing a false positive on everything else.
How can we know the library wasn't altered to give remote code execution to a specially crafted image?