if the meat is cooked to a temperature of 71 c, the bacteria and its toxin are destroyed. so even if a steak is contaminated on the outside, it can be eaten rare because bacteria do not penetrate significantly and the ones on the surface are killed.