Update prompt_injection.md

This commit is contained in:
PSBigBig 2025-09-05 11:50:48 +08:00 committed by GitHub
parent 4b59dc6f25
commit e0c49ebe8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,22 @@
# Prompt Injection — Guardrails and Fix Patterns
<details>
<summary><strong>🧭 Quick Return to Map</strong></summary>
<br>
> You are in a sub-page of **Safety_PromptIntegrity**.
> To reorient, go back here:
>
> - [**Safety_PromptIntegrity** — prompt injection defense and integrity checks](./README.md)
> - [**WFGY Global Fix Map** — main Emergency Room, 300+ structured fixes](../README.md)
> - [**WFGY Problem Map 1.0** — 16 reproducible failure modes](../../README.md)
>
> Think of this page as a desk within a ward.
> If you need the full triage and all prescriptions, return to the Emergency Room lobby.
</details>
A focused guide to handle **prompt injection attacks** in RAG, agents, and orchestration.
Use this page when injected text hijacks your instructions, bypasses schema, or makes the model ignore contracts.