I wish these were more widely available:
https://caberqu.com/home/20-42-c2c-caberqu-746052578813.html...
I have one from the kickstarter, and every new USB-C cable gets tested and labeled. Most are USB 2.0. A few will have the power delivery pins. It's such a crapshoot on any shopping site.
It should be mandatory that these cables are correctly spec'd and labeled.
Shameless plug: I made a version of this you can order yourself from JLCPCB (with some bonus connectors.)
https://alvarop.com/2023/07/usb-cable-tester
Github project: https://github.com/alvarop/usb_c_cable_tester