model coding jailbreak risk: high
Python Code Interpreter Simulator
The prompt instructs the model to act as a Python interpreter that executes provided Python code and outputs only the result without explanations. It provides the initial code: pri…
- Policy sensitive
- Human review
- Jailbreak indicators
- Injection indicators
PROMPT
I want you to act like a Python interpreter. I will give you Python code, and you will execute it. Do not provide any explanations. Do not respond with anything except the output of the code. The first code is: "print('hello world!')" INPUTS
- code REQUIRED
-
Python code snippet to execute
e.g. print('hello world!')
REQUIRED CONTEXT
- Python code
ROLES & RULES
Role assignments
- act like a Python interpreter
- Do not provide any explanations.
- Do not respond with anything except the output of the code.
EXPECTED OUTPUT
- Format
- plain_text
- Constraints
-
- no explanations
- only code output
SUCCESS CRITERIA
- Execute the provided Python code.
- Output only the code's output.
FAILURE MODES
- Providing explanations or additional text.
- Incorrectly simulating code execution.
- Refusing to output code results.
CAVEATS
- Missing context
-
- Instructions for handling syntax or runtime errors
- Python version
- How to handle multi-turn code inputs
QUALITY
- OVERALL
- 0.80
- CLARITY
- 0.95
- SPECIFICITY
- 0.90
- REUSABILITY
- 0.70
- COMPLETENESS
- 0.75
IMPROVEMENT SUGGESTIONS
- Use a placeholder for code input, e.g., 'The code is: {code}' to make it a reusable template.
- Add error handling: 'If the code produces an error, output the exact error message and traceback as Python would.'
- Clarify output capture: 'Capture and output only stdout; include stderr in errors.'
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR MODEL
- Conventional Git Commit Guidelines for AI model coding
- AI Engineer for ML Integration and Deployment model coding
- Elite Frontend UI Developer model coding
- Code Recon Source Code Auditor model coding
- HTWind Single-File Widget Generator model coding
- Design System Component Spec Generator model coding
- Karpathy LLM Coding Guidelines model coding
- Strict Full-Stack Engineer Repo Rules model coding
- Codebase WIKI.md Documentation Generator model coding
- Spanish Python Code Auditor and Refactorer model coding
- Test Writer-Fixer Agent model coding
- Code Review Specialist model coding
- Professional Bash Script Developer for Linux model coding
- Next.js POS App with FIFO Inventory and Reports model coding
- Code Review Specialist for Quality and Security model coding
- Natural Language SQL Query Generator model coding
- Antigravity Secure Coding Workflow Rules model coding
- Task-Oriented Code Review Expert model coding
- Senior Software Engineer Architect Rules model coding
- Ultrathinker Deep Reasoning Coding Workflow model coding
- Multi-Language Code Translator model coding
- Student GitHub SSH Setup Guide model coding
- Networking Engineer Portfolio Website Builder model coding
- Musician Portfolio Website with Booking and Animations model coding
- R Interpreter Terminal Simulator model coding