CompVis / latent-diffusion

High-Resolution Image Synthesis with Latent Diffusion Models
MIT License
11.51k stars 1.5k forks source link

Inpainting_big model file triggers trojan threat in Windows Security #160

Open SineSwiper opened 1 year ago

SineSwiper commented 1 year ago

Unzipping the models/inpainting_big/model.zip file triggers Windows Security:

Detected: Trojan:Win32/Sirefef!cfg
Threat Level: Severe
Details: This program is dangerous and executes commands from an attacker.
File in ZIP: archive\data\370

This happens several times during the unzip process. Files 370, 376, 514, 930 all fail for the same trojan check.

EliasVansteenkiste commented 1 year ago

@rromb @ablattmann

Also noticed this and additionally should this not be one file, according to: https://github.com/CompVis/latent-diffusion/blob/a506df5756472e2ebaf9078affdde2c4f1502cd4/scripts/inpaint.py#L61

I looked at the git blame and saw that the URLs were changed in the following commit: https://github.com/CompVis/latent-diffusion/commit/171cf29fb54afe048b03ec73da8abb9d102d0614

The old download link still works for me: https://github.com/CompVis/latent-diffusion/blob/f8b4a071055f5b25421d0364770267d5fc58d79c/scripts/download_models.sh#L11