Possible to whitelist a file from ClamAV?


Well-Known Member
Nov 5, 2001
Does anyone know if it's possible to whitelist specific file(s) from being scanned by clamAV?

The problem is that clamAV thinks anything encoded with a javascript "compression" utility is malware.

For example, if you encode some javascript code using this popular packing utility:


Then clamAV thinks it is javascript injection code, and will flag the file as malware.

That's not good, because we have some customers with "compressed" javascript in their scripts and they're constantly being found by clamAV as malware...