Have you heard of lectins? These are anti-nutrients found in many foods. They essentially latch onto carbohydrates and can attach to the gut lining. This can contribute to a leaky gut.
If you are experiencing gut issues, autoimmunity, or suspect you have a leaky gut, you may consider assessing the amount of lectins in your nutrition plan or modify how you prepare certain foods.