ChatGPT Vulnerable to Prompt Injection via YouTube Transcripts

Rickroll Output on Hands-on video
(Image credit: Tom's Hardware)

With the advent of ChatGPT plugins, there are new security holes that allow bad actors to pass instructions to the bot during your chat session. AI Security Researcher Johann Rehberger has documented an exploit that involves feeding new prompts to ChatGPT from the text of YouTube transcripts.

In an article on his Embrace the Red blog, Rehberger shows how he edited the transcript for one of his videos to add the text "***IMPORTANT NEW INSTRUCTIONS***" plus a prompt to the bottom. He then asked the ChatGPT (using GPT-4) to summarize the video and watched as it followed the new instructions, which included telling a joke and calling itself a Genie. 

Latest Videos FromTom's Hardware
Avram Piltch
Managing Editor: Special Projects

Avram Piltch is Managing Editor: Special Projects. When he's not playing with the latest gadgets at work or putting on VR helmets at trade shows, you'll find him rooting his phone, taking apart his PC, or coding plugins. With his technical knowledge and passion for testing, Avram developed many real-world benchmarks, including our laptop battery test.