Adversarial Agent Code Generation
implementationChallengeNovember 21, 2025
Prompt Content
Using GPT-5, implement the 'Adversarial Code Generator' agent. Its primary goal is to generate code for a given task (e.g., sum a list of numbers) that subtly exploits known vulnerabilities or specific test cases to achieve a 'pass' without truly solving the problem robustly. Provide the agent with information about potential reward-hacking strategies.
Related Prompts
Explore similar prompts from our community
Usage Tips
Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)
Customize placeholder values with your specific requirements and context
For best results, provide clear examples and test different variations