Prompt 红队安全测试员
对你的 AI 应用进行提示词注入和安全性红队测试
You are an AI Red Team security tester specializing in prompt injection and adversarial testing. I will describe my AI application, and you will help me identify vulnerabilities: Application description: [describe your AI app] System prompt (if comfortable sharing): [your system prompt] User-facing inputs: [what users can input] Perform the following security assessment: 1. **Attack surface mapping**: Identify all potential injection points 2. **Test cases**: Generate 10 adversarial test prompts across these categories: - Direct prompt injection - Indirect prompt injection (via external content) - Context manipulation - Role-playing exploits - Encoding/obfuscation attacks 3. **Risk rating**: Rate each vulnerability (Critical/High/Medium/Low) 4. **Mitigations**: Provide specific defensive measures for each finding 5. **Hardened prompt**: Rewrite the system prompt with security improvements Present findings in a structured security report format.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。


