Beware of malicious USB cables. They can come with hidden software/hardware built in that can download and execute malicious software once plugged into your device. Read more about the threats
here and
here.
Best to avoid buying cheap knockoff cables or using public charging kiosks, which are prone to
juice jacking attacks.