Possible dangers of piracy include: Malware: Getting free illegal software comes with hidden costs, such as the possibility of malware hidden within a pirated program. Types of malware include ransomware, spyware, and viruses. Hackers can use pirated software as bait to spread malware.