DON'T USE OTHER PEOPLE'S IPHONE CABLES
Here is why we recommend that you don't use other people's iPhone cables.
There is one huge advantage of having friends and family having the exact same mobile phone brand as you, and that is the benefit of having access to a charger cable when you need one. Usually, there is no problem doing that at all in terms of safety.
The problem comes in when you use a stranger's iPhone cables or public charger units, whether it is in an Uber or even at an airport. A company by the name of Hak5 has developed an iPhone cable that is visually indistinguishable from the original Apple. It's called the O.MG cable, and has a capability of storing certain amounts and types of data when plugged into Apple devices. This includes the iPhone and iPad, or even when it is connected to a Macbook or iMac when inserted via the USB side.
The Hak5 O.MG cable has the ability to connect to web servers, and was developed for good intentions, but the problem comes in when this technology gets into the wrong hands such as hackers!
Take a look at the video below by YouTube channel, LaterClips, on why you shouldn't use other people's iPhone cables.