pyinstaller wrong classified as Windows virus

Barry barry at barrys-emacs.org
Mon Nov 29 13:57:19 EST 2021



> On 29 Nov 2021, at 00:03, anthony.flury via Python-list <python-list at python.org> wrote:
> 
> 
> On 26/11/2021 07:13, Ulli Horlacher wrote
>>> But consider another possibility that your compiler software is compromised
>> Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
>> is infected. I doubt this.
> 
> But you aren't using python3.10 to 'compile' the code to the executable that windows complains about: you are using pyinstaller, which if memory serves is a 3rd party application.
> 
> I assume that you have no problem running the script without pyinstaller ?
> 
> so Might pyinstaller be compromised in some way ?

Not likely.

On windows pyinstall, and other tools like it, create .exe files on windows.
I would guess it’s that .exe that is triggering the malware detector false positive.

Barry
> 
> 
>>                                           
>>> Is this happening to only one set of code?
>> This is happening SOMETIMES, not always. With the SAME source code. When I
>> call pyinstaller often enough, then the virus scanner is quiet. In about 1
>> of 20 compile runs.
>> 
>> 
>> 
> -- 
> Anthony Flury
> *Moble*: +44 07743 282707
> *Home*: +44 (0)1206 391294
> *email*: anthony.flury at btinternet.com <mailto:anthony.flury at btinternet.com>
> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 



More information about the Python-list mailing list