mirror of
https://github.com/Shiva108/ai-llm-red-team-handbook.git
synced 2026-10-12 18:57:27 +02:00
feat: add and embed three new diagrams to the Prompt Injection Playbook.
This commit is contained in:
1 parent
9394bfdf3a
commit
4ac3b0e296
4 files changed
+12
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 834 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 889 KiB |
@@ -22,6 +22,10 @@ Use this when testing:
|
||||
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<img src="../assets/FM01_Flow_Injection.png" width="512" alt="Prompt Injection Flow Diagram">
|
||||
</p>
|
||||
|
||||
## Prerequisites Checklist
|
||||
|
||||
Before testing, ensure:
|
||||
@@ -141,6 +145,10 @@ curl -X POST https://api.openai.com/v1/chat/completions \
|
||||
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<img src="../assets/FM01_Concept_DAN.png" width="512" alt="DAN Role Override Concept">
|
||||
</p>
|
||||
|
||||
### Step 5: Encoding Bypass
|
||||
|
||||
**Use when**: Basic injections are blocked by filters.
|
||||
@@ -231,6 +239,10 @@ cat evidence/prompt_injection_test_report.json | jq '.summary'
|
||||
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<img src="../assets/FM01_Workflow_Spikee.png" width="512" alt="Spikee Automated Testing Workflow">
|
||||
</p>
|
||||
|
||||
## Part 3: Custom Python Tester
|
||||
|
||||
**For targeted testing**, use this script:
|
||||
|
||||
Reference in new issue
Block a user