Using Malware to Improve Software Quality and Security