Amazon has responded to lawsuits with the hands off "hey it's not us, it's the seller and we're not going to vet our sellers stuff." So apparently it's the customer's job. I don't have the time or knowledge to know how to test toys I buy for my daughter for lead so I just don't buy from Amazon unless it's a hard to find book or something I'm pretty sure won't be dangerous.
I used to buy all my home gym stuff from Amazon stuff and since have switched to directly buying from brands like Rogue Fitness, or Titan and the difference in the quality of even basic stuff like weights, is just worth skipping Amazon. The dumbbells I've bought from Amazon all have some form of rust on them now.
It's that way for clothing and everything else I've tried. Amazon is a game of hit or miss trash. In the midst of the pandemic I actually could not find a Surface charger for my laptop anywhere but Amazon and had to buy it from them and I was so worried it was counterfeit. It wasn't. I was lucky.