The USB-IF publishes a list of member companies[1]; purchase products from these qualified manufacturers, and perhaps more importantly, from authorized distributors.
This is a good enough "policy control" for the average consumer.
Erm. I fail to see how this moves the needle unless usb-if is doing extreme firmware level source analysis and deterministic compiles and checking them against shipped firmware. Which I doubt is happening, with every atom in my body.
It's a policy control suggestion that's both low effort and immediately actionable by the typical tech-literate types sleuthing these channels.
When baseline consumer behavior is sort-by-price-low-to-high and select the cheapest item from random pop-up white label chinesium third-party vendor on Amazon, exercising an ounce of supply chain due diligence where none previously existed can go a long way.
To be sure, if you think you can economically defend against a coordinated supply chain attack by a speculative adversary willing to pony up real capital operating an otherwise legitimate facade for years building market goodwill only to burn it all down in one shot against a single worthwhile target...well, I've got a bridge to sell you.
USB testers are cheaper now, I'd advise anyone to buy one preemptively.
It's nice to one-off check a new cable to know what it can be used for, with the additional benefit of seeing the power curves for the higher models (e.g. see a charger's power output drastically drop down as it overheats)
I'm using a super cheap Ali-express one I checked against well know and stable brands of cable/chargers (e.g. Apple and Anker's power bricks and cables).
Otherwise AVHzY is I think the recommended brand, with two levels or pricing depending if you want external output.