r/Python • u/not_afraid_of_trying • Mar 30 '26
Discussion Pyinstaller/Nuitka - Antivirus Flagging Issue
Python should have been there for non-techi users. We should be able to distribute executables built by PyInstaller or Nuitka to family and friends. Small utilities that single-thing is great time saver for them. But you cannot do that. Because anti-virus will come and flag your binary. They will do everything to scare your users away. Away from Python ecosystem. Powershell, Dotnet, go, rust, C++ self-contained executables are fine - just python exes are bad for antivirus community, especially if you add icon to your exe.
This is really unfortunate. PyInstaller is such a beautiful tool that can empower so many people... only if anti-virus software does better job of detecting good vs. bad.
NOTE: An alternative is to effectively “bribe the system” by acquiring a code-signing certificate, a tactic reportedly used by attackers. Or make everything as a web app.
View all comments
Show parent comment
1
u/zaphodikus Mar 31 '26
The compiler had not got a philosophy bit, nor does the processor, these are tools, and they do not solve the problem of evil actors. You need a sandbox. Web servers and browser, or docker containers do what you want. Or, just learn how to create a signing certificate and install it on your friends computers, but do not loose the private cert, keep it private.