No specification can defend against a hostile, or sufficiently incompetent, implementer.
No specification can defend against a hostile, or sufficiently incompetent, implementer.
USB devices can handle things like the ground and voltage being shorted, as that can happen in normal use through wear and tear. However the flip of ground and voltage lines can only happen if it is done intentionally. As an example either by malicious user or by a factory just randomly mashing wires together and then lying to the customers that they're selling an USB cable.
It's 5A, they could install a polyfuse, or they could monitor the current and turn it off with a transistor.
For protection from reverse voltage, the powered device needs a circuit which detects negative voltage and disconnects power (which would easily consume few cm² of PCB area) or a very beefy clamping diode to shunt the negative current into ground before it reaches other circuits and pray that charger's current limiter trips before the diode overheats and vaporizes.
And even if you do that, some idiot can still make a cable which applies -5V to some data line instead of the power line, so that your whole unobtanium Intel southbridge chip goes poof. Are you going to multiply the protection circuit by the number of wires in USB3 cable and at the same time make it pass insanely fast signals without distortion?
At some point you have to give up and simply assume that cable vendors are at least minimally competent.
Is it a question of impossibility? Or cost? Or bulk? or something else?
Mains power is legitimately difficult to deal with. Power that's five volts out of spec is not.
It's a balancing act between the probable failure modes and the cost of replacing the broken devices. Hostile manufacturers is not common enough of a failure mode (vs just Amazon sending a replacement device) to accept the additional cost for every single unit made. It makes no sense to spend 1 dollar more per device if it saves 1 cents per device on average for replacement costs.
If this kind of issue becomes more common then it might make sense. But for now it doesn't seem likely.
I mean that the physical object is obviously wrong. Such a cable looks like any other cable.