A chimeric protein and method of creating a genetically altered plant and parts thereof with a chimeric protein wherein the chimeric protein comprises a recognition element and a lysis element connected by a linker wherein the recognition element binds to a pathogen and the lysis element lyses the pathogen and wherein the recognition element is derived from a first protein and the lysis element is derived from a second protein wherein the first protein and the second protein are endogenous to the host to be treated with the chimeric protein.