We're so used to using USB-C for charging that we forget it's also a fully featured data port, and hackers can use people's desperation to find a charger for their phone or laptop to their advantage.
First things first, if the batteries have corroded, dispose of them according to your local waste authority guidelines, or ...