home/writing/prompt-injection-16

Prompt Injection

GPTClaudeGemini··240 copies·updated 2026-07-14
prompt-injection-16.prompt
---
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