“Organic Carob powder recalled for possible salmonella” Are there safety and quality standards?

Recently some lots of carob products were recalled in US due to possible salmonella infection.
We are wondering how could someone producer could avoid these event. Are there any Safety Standards in your country?
Please refer.