![What’s prompt hacking ? | S03 E016 | Build On Generative AI](https://assets.community.aws/a/2hWjeumb1hhfUuL0CSEGroOOFOq/Capt.webp)
What’s prompt hacking ? | S03 E016 | Build On Generative AI
Let's dive deeper into prompt engineering with prompt hacking!
Tiffany Souterre
Amazon Employee
Published Jun 6, 2024
You've probably heard about prompt engineering, a way to craft your prompt so it influences the output of an LLM. Here let's take prompt engineering to the next level and explore the world of prompt hacking. Prompt hacking is a term used to describe attacks that exploit vulnerabilities of LLMs, by manipulating their inputs or prompts. We'll see different prompt hacking techniques such as Prompt injection, prompt leaking and jailbreaking. We'll also see defensive measures such as filtering, sandwich defense, XML tagging, random sequence enclosure... Finally we'll see how you can easily implement those defensive measures with Amazon Guardrails.
![](https://assets.community.aws/a/2hWkgtuzFRgEQwDKQvFl17jvVlZ/Capt.webp)
Check out the recording here:
Loading...
Feedback:
Did you like this episode ? What are the other topics you would like us to talk about ? Let us know HERE.
Did you like this episode ? What are the other topics you would like us to talk about ? Let us know HERE.
Shared links:
- Sharpen your prompt hacking skills with Gandalf! https://gandalf.lakera.ai/
- Learn more about prompt hacking: https://learnprompting.org/docs/prompt_hacking/intro
- Best practices to build generative AI applications on AWS: https://aws.amazon.com/blogs/machine-learning/best-practices-to-build-generative-ai-applications-on-aws/
- Guardrails for Amazon Bedrock: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html
- OWASP Top 10 for Large Language Model Applications: https://owasp.org/www-project-top-10-for-large-language-model-applications/
Reach out to the hosts:
- Mike Chambers: linkedin.com/in/mikegchambers/
- Tiffany Souterre: linkedin.com/in/tiffanysouterre
- Darko Mesaroš: linkedin.com/in/darko-mesaros/
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.