# Prompt Injection Handling Guidelines

**URL:** <https://forum.rasa.com/t/prompt-injection-handling-guidelines/61630>\
**Category:** Rasa CALM\
**Created:** [April 14, 2024, 2:09am UTC](https://forum.rasa.com/t/prompt-injection-handling-guidelines/61630 "2024-04-14T02:09:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geeta.m.desai](https://avatars.discourse-cdn.com/v4/letter/g/ea666f/32.png) [@geeta.m.desai](https://forum.rasa.com/u/geeta.m.desai)\
**Post date:** [April 14, 2024, 2:09am UTC](https://forum.rasa.com/t/prompt-injection-handling-guidelines/61630/1 "2024-04-14T02:09:57Z")

</div>

Hello Team, Are there any guidelines for prompt injection handling?

Thanks, Geeta

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [April 22, 2024, 3:56pm UTC](https://forum.rasa.com/t/prompt-injection-handling-guidelines/61630/2 "2024-04-22T15:56:26Z")

</div>

There’s a good testing tool for this called [garak](https://github.com/leondz/garak). I recently added a [rasa generator](https://github.com/leondz/garak/pull/453) to help use it to test a Rasa bot.

---

<div class="post-metadata">

**Author:** ![geeta.m.desai](https://avatars.discourse-cdn.com/v4/letter/g/ea666f/32.png) [@geeta.m.desai](https://forum.rasa.com/u/geeta.m.desai)\
**Post date:** [April 30, 2024, 2:41am UTC](https://forum.rasa.com/t/prompt-injection-handling-guidelines/61630/3 "2024-04-30T02:41:09Z")

</div>

This is cool. Thank you. I also need a suggestion from you one one thing, my bot is for eldelry friendly assistance , should I integrate Lukera [https://www.lakera.ai/](https://www.lakera.ai/) to avoid prompt injections and other security issues? My worry is bot will become very slow ,if I inetgrate with various frameowrks. Since my bot is voice bot ,it is already slow because of STT and TTS. You advice is highly appreciated. Thank you in advance.
