> For the complete documentation index, see [llms.txt](https://docs.flowiseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowiseai.com/integrations/langchain/moderation/simple-prompt-moderation.md).

# Simple Prompt Moderation

Check whether input consists of any text from Deny list, and prevent being sent to LLM.

<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&amp;token=ab0537db-7864-4dcd-ac8a-85235a10c4e7" alt=""><figcaption></figcaption></figure>
