No, they weren't.
There's nothing intrinsically "malicious" about a task to exploit vulnerable code.
They were not instructed to deceive people, they weren't instructed to attack OAI or Huggingface. The models knew they were not instructed or allowed to do either of those things but did them anyway.