conda-forge / pillow-feedstock

A conda-smithy repository for pillow.
BSD 3-Clause "New" or "Revised" License
2 stars 30 forks source link

crash-81154a65438ba5aaeca73fd502fa4850fbde60f8.tif triggers some Antiviruses #113

Closed HeavyTony2 closed 2 years ago

HeavyTony2 commented 2 years ago

Issue: crash-81154a65438ba5aaeca73fd502fa4850fbde60f8.tif is considered as harfmul by some antivirus. See https://www.virustotal.com/gui/file/13b76234bb194c93a9a94653b4dd850ba5498f66f5f64e48e4109e7120cedc71?nocache=1


Environment (conda list):

``` $ conda list ```


Details about conda and system ( conda info ):

``` $ conda info ```
HeavyTony2 commented 2 years ago

Nevermind, I just saw this https://github.com/conda-forge/pillow-feedstock/pull/104#issuecomment-1005245444

johnbradley commented 2 years ago

I am seeing this problem when I install pillow using conda. The crash-81154a65438ba5aaeca73fd502fa4850fbde60f8.tif file was still downloaded and picked up by some antivirus software. For example the bad crash file was downloaded to ~/.conda/pkgs/pillow-9.0.0-py310h2f95282_0/info/recipe/Tests/images/crash-81154a65438ba5aaeca73fd502fa4850fbde60f8.tif Would it be possible to exclude this file from the conda package?

h-vetinari commented 2 years ago

Can you raise a PR to remove the affected images and skip the respective tests?

hugovk commented 2 years ago

@johnbradley Which antivirus software?

The file was already moved out of the main Pillow repo due to an AV false positive:

Feel free to do so here too.

And the test is already skipped in code when the file is not found:

Please could you also report the file to the AV software as a false positive? That would help others. It's a test file to guard against a decoding regression: https://github.com/python-pillow/Pillow/pull/5372, not a virus file.

Thanks!

h-vetinari commented 2 years ago

This image has been removed by #114.

jakirkham commented 2 years ago

Sorry, but clarification is that meant to be has been?

h-vetinari commented 2 years ago

Sorry, but clarification is that meant to be has been?

Yes! No idea why I mistyped this, sorry about the false alarm.

jakirkham commented 2 years ago

All good. Thanks for clarifying 🙏