There used to be an app or site called “buycott” or something and you could set what you were trying to avoid(example: avoiding human rights violating companies, avoiding specific companies, morals of certain companies, etc.), and you could scan an item and it would tell you. I used it for a tiny bit years ago but didn’t stick with it. Not sure if it’s still around.
I worked for a brewery that brought in all their water from the same spring or something. Even though it was a chain with multiple us locations.