Could be many causes, but a possible protection is program the bootloader, then set the fuses so that writing into the bootloader area is disabled.
↧