Replicating malicious code, including viruses and worms, will attempt to attack other systems once it has successfully compromised the target system or the product.
Best practices to prevent this CWE
Phase: Operation
Antivirus software scans for viruses or worms.
Phase: Installation
Always verify the integrity of the software that is being installed.