Guard device manager against random messages