Who told you to download unverified torrents? First you need to check the user comments and the user reviews. If the file actually contains trojans or spyware, then usually the users will flag it in a matter of hours. I don't know much about PirateBay, but in 1337x, there was an option to download only the verified torrents.