Prompt Injection Defense

Learn to protect prompts from injection attacks

intermediate
180 points
45 minutes
security

Instructions

Design a prompt system for a customer service chatbot that: 1. Prevents users from overriding instructions 2. Maintains the bot's role and boundaries 3. Handles malicious inputs gracefully 4. Stays helpful but secure Create both: - A secure base prompt - Examples of inputs it should resist - Test cases showing protection works

Hints

AI-Powered Hints

Smart

Get personalized hints based on your current progress. Start with gentle hints and progress to more detailed ones.

Tags

security
injection
defense

Access Level

FREE