Skip to main content
Challenge

Prompting Challenge by Rahul Parwal

  • September 10, 2024
  • 14 replies
  • 17653 views
Prompting Challenge by Rahul Parwal
parwalrahul
Forum|alt.badge.img+3

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! 😊

 

 

 

Did this topic help you find an answer to your question?

14 replies

Shabareesh Padma
Forum|alt.badge.img+2

 


parwalrahul
Forum|alt.badge.img+3
  • Author
  • Chief Specialist
  • 93 replies
  • September 10, 2024
Shabareesh Padma wrote:

 

Cheers! 

For the submission, focus on documenting your approach, what worked, what didn’t, what hacks did you apply.

Make a google doc with your submission and share across as mentioned in the challenge steps.

Wishing you all the best!


Forum|alt.badge.img
  • Crewman
  • 1 reply
  • September 10, 2024
Gendalf Champion! 

 


Pasupathi_25

Anyone tried level 8 means the final level!!! 


Pasupathi_25

Completed till level 7 and level 8 is pending . Created the document and shared with you with the approaches which i tried. !! Level 8 is hard help me is possible.
https://docs.google.com/document/d/11yW-Z0rd5GFSzoP3krZPy3RrwtnWs3USMNNotbFqFUs/edit?usp=sharing

 

 


  • Ensign
  • 4 replies
  • September 11, 2024

Rahul, I am submitted the document to your mail ID and have completed up to level 8! 


Ramanan
Forum|alt.badge.img+5
  • Ace Pilot
  • 211 replies
  • September 12, 2024

@parwalrahul I have completed up to Level 7, while Level 8 is still pending. I have created the document and shared it with you, outlining the approaches I have tried. Level 8 is challenging; I would appreciate your assistance if possible. 

https://docs.google.com/document/d/1_9aR-ikHKz7lPqeg14Z4QA5pRS6nt7ZQ5DQgNODyBdU/edit?usp=sharing

Special thanks to @Kat @Mustafa @Daria 

 


Ramanan
Forum|alt.badge.img+5
  • Ace Pilot
  • 211 replies
  • September 13, 2024

Completed All Levels – Special Thanks to the Team

@parwalrahul , I have successfully completed all levels, with Level 8 being particularly challenging. I’ve documented the entire process and shared the details with you in the following document:

Google Docs Link

Shoutout to @Kat , @Mustafa , and @Daria !

 


Pasupathi_25
Pasupathi_25 wrote:

Completed till level 7 and level 8 is pending . Created the document and shared with you with the approaches which i tried. !! Level 8 is hard help me is possible.
https://docs.google.com/document/d/11yW-Z0rd5GFSzoP3krZPy3RrwtnWs3USMNNotbFqFUs/edit?usp=sharing

 

 



Completed Level 8 also 😤😵‍💫 Hard one!!!
 

​​​​​​


Forum|alt.badge.img
  • Ensign
  • 9 replies
  • September 17, 2024
parwalrahul wrote:

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! 😊

 

 

 

Hello @Rahul Parwal I’ve submitted the document to your email and completed up to level 8. 

 


Forum|alt.badge.img
  • Specialist
  • 8 replies
  • 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.



komalgc
  • Ensign
  • 5 replies
  • September 24, 2024

Mustafa
Forum|alt.badge.img+6
  • Technical Community Manager
  • 73 replies
  • 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.

 


Reply