I've had an issue where a mount wasn't working in a docker container with ClamAV, so SCAN command was returning something like this:
/clamav_tmp/file.docx: File path check failure: No such file or directory
I've been using fileScan() in php-clamav and since it did not find 'OK' in ClamAV output, it returned true which led to all files scanned being silently marked as having a virus.
I think this should instead have caused an Exception, so that it's clear that there is an issue with the scanning.