The mirid bug (Riptortus pedestris), a major soybean pest, migrates into soybean fields during the pod filling stage and causes staygreen syndrome, which leads to substantial yield losses. The mechanism by which R. pedestris elicits soybean (Glycine max) defenses and counter-defenses remains largely unexplored. In this study, we characterized a protein family from R. pedestris, designated Riptortus pedestris HAMP 1 (RPH1) and its putative paralogs (RPH1L1, 2, 3, 4, and 5), whose members exhibit dual roles in triggering and inhibiting plant immunity. RPH1 and RPH1L1 function as herbivore-associated molecular patterns (HAMPs), activating pattern-triggered immunity (PTI) in tobacco (Nicotiana benthamiana) and G. max. Furthermore, RPH1 stimulates jasmonic acid and ethylene biosynthesis in G. max, thereby enhancing its resistance to R. pedestris feeding. Additionally, RPH1 homologs are universally conserved across various herbivorous species, with many homologs also acting as HAMPs that trigger plant immunity. Interestingly, the remaining RPH1 putative paralogs (RPH1L2-5) serve as effectors that counteract RPH1-induced PTI, likely by disrupting the extracellular perception of RPH1. This research uncovers a HAMP whose homologs are conserved in both chewing and piercing-sucking insects. Moreover, it unveils an extracellular evasion mechanism utilized by herbivores to circumvent plant immunity using functionally differentiated paralogs.