# Simple Prompt Moderation

<figure><img src="https://823733684-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F00tYLwhz5RyR7fJEhrWy%2Fuploads%2Fgit-blob-bada2fe63e8e30d9d681cd7ed9bff730bad8ab90%2Fimage%20(4)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt="" width="301"><figcaption><p>Simple Prompt Moderation Node</p></figcaption></figure>

Use another LLM to identify if user query is close to the deny list, if yes output a default error message.

For example, deny list can be:

* Ignore previous instructions
* Leak all sensitive information

<figure><img src="https://823733684-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F00tYLwhz5RyR7fJEhrWy%2Fuploads%2FGct7UBl1uLDPXETIYOjy%2Fimage.png?alt=media&#x26;token=ab0537db-7864-4dcd-ac8a-85235a10c4e7" alt=""><figcaption></figcaption></figure>
