Does nail polish transmit pathogens to cause infections?

What does the science tell us about nail polish’s safety?