Byte Babies

SwampCTF 2025: Maybe Happy Ending GPT

Mar 31, 2025 - yoshixi - writeup, web, llm

author: @yoshixi

Challenge Info:

Category: Web, LLM

Challenge Resources

maybehappyending

Web URL

Download

Solution

Search for references of flag

references

We see that there is a hint here, and that it is using eval()

eval

It is reading the LLM’s response and then evaluating it and returning the eval’s output as a response

ls

gptflagmuddywater