Wrap That Rascal With A USB Condom
Thus, any time you need to plug a device such as a smartphones into a USB port to charge it—let’s say at a public charging kiosk or a coworker’s computer--you don’t have to worry about compromising any data or contracting some nasty malware. It’s one of those simple solutions that seems so obvious once someone came up with it, and surely lots of folks, such as business travelers, students, and anyone in a corporate environment that uses a USB stick in multiple machines, will be glad for it.

“If you're going to run around plugging your phone into strange USB ports, at least be safe about it”, says int3.cc. Good advice, that.