The challenge implements a textbook RSA signature system, with which we can sign messages. In order to retrieve the flag, we need to send the signed string "I love cookies.", which is impossible:
Original writeup (https://wiki-ulisse.fuo.fi/en/CTFs/nullcon-2022/cookie-lover).