BreakFun: Jailbreaking LLMs via Object Instantiation under Simulated Code Execution
19 Oct · Amirkia Rafiei Oskooei, Mehmet S. Aktas · arXiv:2510.17904
Large Language Models (LLMs) are widely used because they process structures, syntax and code well, but this same ability also makes them paradoxically vulnerable. We introduce BreakFun, a jailbreak method that frames a harmful request as code-execution simulation. The prompt gives the model a benign Python class definition, the "Trojan Schema", and asks what that code would print if it ran. To answer, the model…