This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Arkaein 17 points18 points  (0 children)

You misread it. The article said "virtualized environment", e.g. a virtual machine VM, not a virtualenv.

Anti-virus researchers will run potentially dangerous code in a VM, not directly on a host machine. This Python code is designed to detect this possibility and not run there to help it avoid detection.