Amazon distributed hundreds of thousands of hazardous products sold by third-parties through the e-commerce giant’s platform and is responsible for recalling them, a federal agency has ruled.

The U.S. Consumer Product Safety Commission on Tuesday issued a decision and order against Amazon, determining the retailer was a “distributor” of products that are defective or fail to meet federal safety standards.

The company, which rang up $574.8 billion in revenue in 2023, is legally responsible for the recall of more than 400,000 products, including faulty carbon monoxide detectors, hairdryers without electrocution protection and kids’ sleepwear that violates federal flammability standards, the agency said in a news release.