Even bad USB cables are gonna have total resistances below 150mΩ, and that's including contact resistance on both ends. Unless you're shorting the cable inside the contacts (you do short pins to make USB deliver power, but upstream ports gotta spec for shorts anyways), even bad cables are unlikely to be a severe risk.
The nice part of DC is you get to use the entire cross section of the wire. So 2A at 5V isn't gonna start too many fires even on thin wire.
Now hopefully we don't see too many folks start using USB-PD
3 with crappy but compliant cables, as my comfort with DC drops as we go up into 20V 5A territory.