Due to her negligence with the potion this morning, Malfoy must have sensed that his internal magic was back intact. So intact that he was able to produce one of the darkest spells she had ever seen. And he did this curse wandlessly, under the guise of writing or reading a book. No one had even suspected him.