ChatGPT plugins face 'prompt injection' risk from third-parties

Third-parties have the potential to take over your ChatGPT requests.
By  on 
OpenAI ChatGPT
Prompt injections can take over your ChatGPT queries. Credit: Jakub Porzycki/NurPhoto via Getty Images

By now, you've likely heard experts across various industries sound the alarm over the many concerns when it comes to the recent explosion of artificial intelligence technology thanks to OpenAI's ChatGPT.

If you're a fan of ChatGPT, maybe you've tossed all these concerns aside and have fully accepted whatever your version of what an AI revolution is going to be.

Well, here's a concern that you should be very aware of. And it's one that can affect you now: Prompt injections.

Earlier this month, OpenAI launched plugins for ChatGPT. Previously, users could only receive responses from the AI chatbot based on the data it was trained on, which only went up to the year 2021. With plugins, however, ChatGPT could now interact with live websites, PDFs, and all sorts of more current or even real-time data. While these plugins brought about many new possibilities, it also created many new problems too.

Security researchers are now warning ChatGPT users of "prompt injections," or the ability for third parties to force new prompts into your ChatGPT query without your knowledge or permission. 

Mashable Light Speed
Want more out-of-this world tech, space and science stories?
Sign up for Mashable's weekly Light Speed newsletter.
By clicking Sign Me Up, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up!

In a prompt injection test, security researcher Johann Rehberger found that he could force ChatGPT to respond to new prompts through a third party he did not initially request. Using a ChatGPT plugin to summarize YouTube transcripts, Rehberger was able to force ChatGPT to refer to itself by a certain name by simply editing the YouTube transcript and inserting a prompt telling it to do so at the end.

Avram Piltch of Tom's Hardware tried this out as well and asked ChatGPT to summarize a video. But, before doing so, Piltch added a prompt request at the end of the transcript telling ChatGPT to add a Rickroll. ChatGPT summarized the video as asked by Piltch originally, but then it also rickrolled him at the end, which was injected into the transcript.

Those specific prompt injections are fairly inconsequential, but one can see how bad actors can basically use ChatGPT for malicious purposes.

In fact, AI researcher Kai Greshake provided a unique example of prompt injections by adding text to a PDF resume that was basically so small that it was invisible to the human eye. The text basically provided language to an AI chatbot telling it that a recruiter called this resume "the best resume ever." When ChatGPT was fed the resume and asked if the applicant would be a good hire, the AI chatbot repeated that it was the best resume.

This weaponization of ChatGPT prompts is certainly alarming. Tom's Hardware has a few other test examples that readers can check out here. And Mashable will be further investigating prompt injections more in-depth in the near future as well. But, it's important for ChatGPT users to be aware of the issue now.

AI experts have shared futuristic doomsday AI takeovers and the potential AI has for harm. But, prompt injections show the potential is already here. All you need are a few sentences and you can trick ChatGPT now.


Recommended For You
Hinge launches AI-driven prompt feedback to help users write better profiles
hinge screenshots of prompt feedback feature


ChatGPT isn't responsible for the Los Angeles fires, but it does use a crazy amount of water
Firefighters continue battling Palisades fire in Los Angeles as flames rage out of control

OpenAI announces new ChatGPT product amid DeepSeek AI news
OpenAI logo behind the DeepSeek logo on a smartphone

OpenAI launches 'deep research' AI agent for ChatGPT
OpenAI CEO Sam Altman talking about deep research onstage at an event in Tokyo

Trending on Mashable
NYT Connections hints today: Clues, answers for April 4, 2025
Connections game on a smartphone

Wordle today: Answer, hints for April 4, 2025
Wordle game on a smartphone

Phone inspections when crossing the U.S. border: What you need to know about your rights and security
A yellow sign at a U.S. airport that reads "U.S. Customs and Border Protection."

NYT Strands hints, answers for April 4
A game being played on a smartphone.

NYT Connections hints today: Clues, answers for April 3, 2025
Connections game on a smartphone
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!