Most cases of septic shock are caused by gram-positive bacteria,[8] followed by endotoxin-producing gram-negative bacteria, though fungal infections are an increasingly prevalent cause of septic shock.[4] Toxins produced by pathogens cause an immune response; in gram-negative bacteria these are endotoxins, which are bacterial membrane lipopolysaccharides (LPS).