A source of programmed threat. A code fragment (not an independent program) that reproduces by attaching to other programs. It may damage data directly, or it may degrade system performance by taking over system resources which are then not available to authorized users.
If Dr Bonchev has proved that there can be no safe viruses does that justify the criminalisation of virus writing. If somebody just writes a virus for their own pleasure should that be a crime ?