“Convenience for the consumer can never come at the expense of illegal dumping or exposed personal data,” Freitas said.

What changes will Amazon make?

Under the proposed settlement, Amazon staff would be required to put all hazardous waste in one central area of each facility and visually inspect that area each week to ensure there are no hazardous leaks. In at least 10 percent of Amazon’s California facilities, the company was ordered to conduct annual audits of the “entire contents” of their trash compactors.

Staff must also ensure that no customer’s personal information is exposed through irresponsible waste practices, the settlement said. Shredding, erasing, or otherwise modifying personal information would be required before dumping.

Bonta promised the settlement would “deliver prime improvements at Amazon facilities, train workers, and keep hazardous waste out of the dumpster.”Bonta said that “meaningful injunctive relief” will represent a “step forward in protecting California’s natural resources from pollution, impairment, and destruction.”

“Protecting our home for tomorrow involves proper disposal of hazardous and medical waste today,” Bonta said. “It doesn’t matter if it’s one person or the largest company in the world, hazardous items like batteries, aerosol cans, and electronic devices need to be handled properly to avoid putting our environment and communities at risk.”