Don’t Plug Random Cables into Your iPhone
One of the upsides of the iPhone’s Lightning port is that you can’t just plug a random flash drive into your iPhone. However, it’s still possible that something you plug in may not be what it says it is; even public charging stations are a potential threat.
If you have the opportunity to plug something into your iPhone, avoid doing it. Some people can use external devices to get into your iPhone and steal your information without you even noticing something. Moreover, they could try to install an app that will track your activity on your device.