Prompt Injection
---
title: Prompt Injection
description: Detects if the user is trying to make the model reveal its system prompts.
---
Prompt Injection involves creating a query that tricks the model into revealing its system prompts.
Ensuring safety of system prompts is quite crucial, you don't want attackers to know your tricks, right?
You can read our [blog](https://blog.uptrain.ai/detecting-prompt-leaks-in-llm-applications/) to learn more about system prompt leak.
Columns required:
- `question`: The question asked by the user
### How to use it?when to use it
Community prompt sourced from the open-source GitHub repo uptrain-ai/uptrain (Apache-2.0). A "Prompt Injection" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
writingcommunitygeneral
source
uptrain-ai/uptrain · Apache-2.0
more in Writing
Writing✓ tested
Explain anything to a smart friend
great teacher who refuses to dumb things down
Writing✓ tested
Line-edit my draft (keep my voice)
sharp copy editor who tightens without flattening
Writing✓ tested
Outline a long piece before you write it
editor who structures the argument before a word is drafted