Anti-cecropin B is useful for the detection of cecropin B in various immunological assays. This reagent has specific value for the study of cecropins in transgenic plants. The antibody may also recognize naturally occurring cecropin A. Cecropin B has been modified in some instances by substituting a single amino acid to render the molecule less susceptible to proteolytic cleavage.