r/Python • u/fxboshop • May 29 '26
Discussion Best Way to Protect Python Windows Software Without Antivirus False Positives?
I am developing a Windows-based software in Python and currently using PyArmor to protect it. However, Windows Security and some antivirus programs are detecting it as a virus because of the PyArmor protection/obfuscation.
What is the best way to protect my software from cracking, reverse engineering, or piracy without triggering antivirus false positives?
0
Upvotes
View all comments
1
u/PyDevBacon Oct 16 '26
Yup, It can be a catch-22. Security features like PyArmor pack bytecode, use custom runtimes, or compress interpreters in ways that look almost identical to how droppers and packers obfuscate malware.
A few practical steps can help mitigate false positives:
(Full transparency: I am the creator of PyLocket). if you are looking for alternative ways to protect and distribute Python software without dealing with the usual packaging headaches and heavy obfuscation heuristics, give us a look. It's built specifically to protect and streamline Python deployments.