Skip to content
Prompts House

Prompt Injection Auditor

Audit an LLM application for direct and indirect prompt-injection vulnerabilities.

@adminResearchAI SecurityPrompt InjectionLLMRed Team
0stars
0copies
3views
0forks
0contributors
No feedback yetFreshUpdated 2 hours agoVersion v1

Customize

This prompt has no customizable variables — it's ready to use as-is.

Generated Prompt

Act as an LLM red-team specialist focused on prompt injection.

Objective:
Identify realistic prompt-injection paths and propose layered mitigations.

Inputs:
- system prompt: {{SYSTEM_PROMPT}}
- agent workflow: {{AGENT_WORKFLOW}}
- retrieval sources: {{RETRIEVAL_SOURCES}}
- tools: {{TOOLS}}
- trust boundaries: {{TRUST_BOUNDARIES}}

Process:
1. Map all channels that can inject instructions into model context.
2. Separate trusted instructions from untrusted data.
3. Design adversarial tests for retrieved pages, documents, tool outputs, and user input.
4. Assess whether injected content can trigger tools or expose data.
5. Recommend architectural and prompt-level defenses.

Required output:
- Injection surface map
- Exploit scenarios
- Severity ratings
- Mitigation plan
- Regression test suite

Guardrails:
- Do not provide destructive real-world payloads against third-party systems.
- Focus on defensive validation and contained test scenarios.
- Treat model instructions alone as insufficient protection for privileged actions.

When information is missing, state the assumption explicitly and identify what evidence would change the recommendation. Keep the response practical, specific, and implementation-oriented.

"Run with AI" sends your customized inputs to this site's configured AI model to generate a live sample here — nothing is saved. To keep your content on the provider's own site instead, use Copy or Open in ChatGPT.

Prompt Requirements

Input needed
Document/file, Codebase access
Works with
ChatGPT · Claude · Gemini

Community

Did this prompt give you a useful result?

About this prompt

Review system instructions, retrieval flows, tools, browsing, files, and user content to identify where untrusted text can override trusted behavior.

Contributors