Or was the digital condom idea just for sh*ts and giggles?
(For charging only I guess being struck about using a usb charger and not a device would be safer? In multi-port chargers can devices use the multiport as a hub to connect to other devices that are charging?)
There are also dedicated "power only" devices (usb condom) but last time I looked these only supported the basic 5v 0.5A and not USB PD or other fast charging standards, so they're of limited utility.
[1] https://wiebetech.com/products/usb-3-1-writeblocker/
[2] https://security.opentext.com/tableau/hardware/details/t8u
I feel like what really needs to be done, is when a usb device is connected it prompts the user for a bunch of permissions. like "this device wants to be a keyboard, allow it?" Half the exploits with usb are things pretending to be keyboards...