At the annual Black Hat security conference this summer, researchers demonstrated how it would be possible to add malware to an iPhone by connecting it to a modified charger. Now a mobile security startup is attempting to do the opposite, by selling a charger that can scan your smartphone for malware—and repair it, if necessary—while powering it up.