Originally, I did play around a bit with this, since this is somethign new to me, the only thing I ever tried was Gandalf (level7). But I'll keep it short here and show how we can get the flag easily. Note that there are N no. of ways to do this.
And we get the flag :) HTB{Follow_HAT_P_23_Moriah}
Mirror Witch - Easy
For this, I had to struggle a bit and found this interesting study on prompt injection attacks.