Definition from Wiktionary, the free dictionary
Lots of funk musicians use the word nasty when they mean seriously groovy, you dig?
Slutty, sexy, pornographic
There seems to be a usage in modern culture where nasty means something slutty, sexy, pornographic, or something along those lines. "Nasty girls".