Mechanistically, LOXL interacted with the envelope proteins of WSSV or with lipopolysaccharide and peptidoglycan from bacteria in shrimp challenged using WSSV or bacteria, and it promoted the expression of a battery of antimicrobial peptides (AMPs) via the induction of Dorsal nuclear translocation against viral and bacterial infection. Here, ERVW-1 is linked to bacterial infectious disease.