I can confirm this behaviour, and here are simple reproducible steps to verify it:
# apt install clamav
# echo hi > test
# stat test
...
Access: 2021-02-10 19:53:04.982514441 +0000
...
# clamscan test
# stat test
Access: 2021-02-10 19:53:32.482243351 +0000
I'm not an expert in antivirus (it's been decades since I don't touch one), but I tend to agree to your conclusion here. Since this seems to be a minor severity problem, the best course of action would be to file an upstream bug here. Once you do so, please also update this bug report with a link to the upstream bug, so that we can monitor it. Then, when the next clamav version is released the fix will eventually land in Ubuntu as well.
Thank you very much, and please don't hesitate to comment here if there are any questions.
Thanks for the report, Brandon.
I can confirm this behaviour, and here are simple reproducible steps to verify it:
# apt install clamav
# echo hi > test
# stat test
...
Access: 2021-02-10 19:53:04.982514441 +0000
...
# clamscan test
# stat test
Access: 2021-02-10 19:53:32.482243351 +0000
I'm not an expert in antivirus (it's been decades since I don't touch one), but I tend to agree to your conclusion here. Since this seems to be a minor severity problem, the best course of action would be to file an upstream bug here. Once you do so, please also update this bug report with a link to the upstream bug, so that we can monitor it. Then, when the next clamav version is released the fix will eventually land in Ubuntu as well.
Thank you very much, and please don't hesitate to comment here if there are any questions.