Check that code isn't running in an underprovisioned VM, i.e., a sandbox. Code that doesn't run isn't malicious.
Import multiprocessing
If multiprocessing.cpu_count() < 2:
exit()