add a draft for attack detector.