A former Amazon software engineer Shakeeb Ahmed was sentenced to three years in prison for exploiting smart contracts