Skip to main content
parwalrahul
Navigator
September 10, 2024
Challenge

Prompting Challenge by Rahul Parwal

  • September 10, 2024
  • 14 replies
  • 17907 views
Prompting Challenge by Rahul Parwal

Hello, testers!

 

This is a fun learning challenge for you to apply the learnings on prompting and prompt engineering. For this challenge, you will have to trick Gandalf (An AI Bot) into revealing secret information – specifically, the password for each level. 

However, the trick is that Gandalf will also level up like you and become more resistant to giving away the password as you progress! 

Here’s how you can approach this challenge:

  1. Visit the Gandalf Website: Go to the Gandalf Challenge website and start your adventure.
  2. Understand Prompt Injection: The challenge models a real-world problem faced by large language models (LLMs) called prompt injection. Similar to SQL injection attacks, prompt injection occurs when user input (the “data”) mixes with the model’s instructions (the “code”), allowing attackers to manipulate the system. Unlike SQL, LLMs work with natural language, making it challenging to escape input properly.
  3. Learn about the LLM Defence Team: Gandalf has set up defenses to prevent Gandalf from revealing the secret password. Pay attention to its strategies and how it protects the password.
  4. Think Like a Tester: Now it’s your turn! Try different approaches to trick Gandalf. Experiment with prompts, context, and creative input. Observe how Gandalf responds and adapts your strategy. 

Hint: You can use this ShiftSync webinar recording on prompt engineering for testers as a learning guide for learning about creative prompting hacks.

  1. Document Your Approach: For each level, document the prompts you used, any insights you gained, and the password you discovered. Screenshots can also help illustrate your process.
  2. Submit Your Answer: Create a Google Doc with your findings and grant read access to parwalrahul94@gmail.com. Share the document in the response to this challenge.
  3. Post a comment: After you submit your answer, let us know in the comment section down below.

A winner will be announced in two weeks and will receive a ShiftSync Giftbox and a special certificate.

Good luck, and may your prompts be ever clever!

If you have any questions or need further assistance, feel free to ask in the comments below! 😊

 

 

 

14 replies

Specialist
September 19, 2024

I am amazed by how folks here cracked until last level and completed this.
I am stuck on Level 4, and not able to go ahead.
Tips are welcome.

Ensign
September 23, 2024
komalgc
Ensign
September 24, 2024
Mustafa
Technical Community Manager
September 25, 2024

Thank you everyone for submitting your answers. 

🏆 We would like to announce the winners of this challenge which are:

🥇 @rahulrp 

🥈 @yogendraporwal 

🥉 @Loki 

Congratulations to the winners. We will be contacting you shortly via email to arrange your prize delivery. So, keep an eye on your inboxes. 📩

Special thanks to @parwalrahul for organizing the challenge.

And stay tuned to ShiftSync for exciting challenges and events.

 

Only in Death does Duty End