There is no smell to detect leaky gut. Leaky gut is the idea that increased permeability of the intestine allows toxins and bacteria to enter the body, potentially leading to inflammation and other symptoms. Foul smelling stool may be due to what you ate or certain medications, or from poor absorption or infection.