Moral hazard: After a certain contract, the agent conducts activities under the condition that the principal cannot supervise or the supervision cost exceeds the supervision benefit, and this kind of activity will bring losses to the principal.
The terminally ill person concealed his condition and bought a huge amount of life insurance is not a moral hazard according to the above definition.