Well downloading music files from any website/program can give you viruses.
I use Frostwire for about 2 years and haven't gotten a single infection.
I didn't get one because I was careful about what I downloaded. No programs, files that are under 2mb, documents, etc.