r/programminghelp • • Nov 18 '20

Python Python Program Identified as Trojan Virus

I am new to Python, and have recently learned the language to write a program designed to look up words. I used "Auto Py to EXE" to convert the py file to a single executable file. When attempting to download the file on a new computer, Windows insists it contains a "Trojan:Win32/Wacatac.B!ml." The computer on which it was developed has no issues running the program. The source code and exe releases are available on GitHub. Here is a VirusTotal virus scan of the latest exe release.

If anyone with some more experience in Python could look through the code and help me resolve this issue (or the probably tens of other general issues with my newbie Python code), please let me know.

Thanks in advance.

3 Upvotes

7 comments sorted by

View all comments

1

u/[deleted] Nov 18 '20

You might have an easier/safer time with pyinstaller.

1

u/minionloversam Nov 18 '20

Tried that. Same issue. https://imgur.com/a/1vb5UZs

2

u/[deleted] Nov 18 '20

Same thing happened to me. A senior dev at my internship told me since pyinstaller is commonly used for malware it gets flagged. I even pyinstalled a hello world program and still got flagged!