These peptides generally function by integrating into the endosomal membrane and disrupting its integrity. This can occur through various mechanisms, including pore formation, membrane fusion, or inducing membrane rupture. The exact mechanism can depend on the peptide's amino acid composition and the physical properties of the endosomal membrane.