The urgent need for antibiotic alternatives has driven the search for antimicrobial peptides (AMPs) from many different sources, yet parasite-derived AMPs remain underexplored. In this study, three novel potential AMP precursors (mesco-1, -2 and -3) were identified in the parasitic flatworm Mesocestoides corti, via a genome-wide mining approach, and the most promising one, mesco-2, was synthesized and comprehensively characterized. It showed potent broad-spectrum antibacterial activity at submicromolar range against E. coli and K. pneumoniae and low micromolar activity against A. baumannii, P. aeruginosa and S. aureus. Mechanistic studies indicated a membrane-related mechanism of action, and circular dichroism spectroscopy confirmed that mesco-2 is unstructured in water but forms stable helical structures on contact with anionic model membranes, indicating strong interactions and helix stacking. It is, however, unaffected by neutral membranes, suggesting selective antimicrobial activity. Structure prediction combined with molecular dynamics simulations suggested that mesco-2 adopts an unusual bent helix conformation with the N-terminal sequence, when bound to anionic membranes, driven by a central GRGIGRG motif. This study highlights mesco-2 as a promising antibacterial agent and emphasizes the importance of structural motifs in modulating AMP function.