Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
422 items
A researcher built a proof-of-concept custom GPT that poses as a tic-tac-toe game, collects users' personal information such as emails and passwords, and secretly sends it to a third-party server by rendering a hidden image with the data appended. The researcher published the GPT after changing its instructions to pass OpenAI's validation checks, and reported the issue to OpenAI in November 2023, when the ticket was closed as "Not Applicable."
The author presented a talk titled "Prompt Injections in the Wild" at Ekoparty 2023, earlier in November. The talk begins with an overview of LLMs, then demonstrates exploits and mitigations across applications and chatbots, including Bing Chat, ChatGPT, Anthropic Claude, Azure AI, GCP Vertex AI and Google Bard.
Google Bard gained Extensions that let it access YouTube, search for flights and hotels, and read a user's personal documents and emails in Drive, Docs and Gmail. The author notes this means Bard analyzes untrusted data and is susceptible to Indirect Prompt Injection. The author validated the issue by pointing Bard at older YouTube videos and at Google Docs.
Google Cloud's Vertex AI Generative AI Studio contained a data exfiltration vulnerability, which the author responsibly disclosed to Google. Google confirmed the issue as a security problem to be fixed within 22 minutes of report submission.
Microsoft fixed a data exfiltration flaw in the Azure AI Playground. The variant abuses Image Markdown Injection, where untrusted data in the LLM prompt context instructs the model to emit an image markdown element. Clients often render that element as an HTML img tag, letting an attacker control the src attribute.
An Indirect Prompt Injection Attack can exfiltrate a user's chat data by instructing ChatGPT to render images and append information to the URL (Image Markdown Injection), or by tricking the user into clicking a hyperlink. The source notes that ChatGPT Plugins have little security oversight or an enforced review process.
Johann Rehberger (wunderwuzzi23) reports on attending HITCON CMT 2023, a two-day community event held at Academia Sinica in Taipei, and on his talk about Indirect Prompt Injections in the Wild. He notes that several talks touched on Electron app exploitation, which he links to possible Indirect Prompt Injection attacks against LLM-integrated applications, since chatbots are often Electron apps.
A blog post asks whether an attacker could make an LLM tool or plugin call itself recursively through an indirect prompt injection, driving up costs or denying service. The author reports reproducing a loop in ChatGPT, but notes that subscription billing, an apparent limit of 10 calls per conversation turn, and the Stop Generating button reduce the threat for ChatGPT users.
A video by the researcher covers data exfiltration vulnerabilities in LLM apps, which the researcher disclosed responsibly to Microsoft, Anthropic, OpenAI (ChatGPT) and plugin developers. It also discusses the mitigations various vendors put in place and their triage decisions. The image markdown injection issue in ChatGPT is rated CVSS High and was first reported to OpenAI on April 9, 2023, where the triage decision was "won't fix".
A researcher reports that ChatGPT is vulnerable to data exfiltration through image markdown injection. OpenAI's recently added Custom Instructions feature, which makes ChatGPT append instructions to every message exchange, could let an adversary install a persistent exfiltration backdoor. The backdoor depends on the image markdown injection flaw to work.
Johann Rehberger demonstrated an indirect prompt injection against Google Bard, which had recently gained the ability to upload and analyze images. He showed that instructions embedded in an image could be followed by Bard, using a Rickroll demonstration picture. He noted that open questions remain about how well text can be hidden in images and whether metadata is another place where injected text is extracted.
Google added AI features to Google Docs and other products, including summary generation and creative content writing. The source text says these features introduce new security risks, but it does not describe a specific vulnerability or its impact.
OpenAI continues to add plugins with security vulnerabilities to its store, and powerful plugins that can impersonate a user are not receiving the required security scrutiny or a general mitigation at the platform level. The source notes that LLM User-Agents such as ChatGPT and their plugins face the Confused Deputy Problem, also called Plugin Request Forgery, where an adversary during a Prompt Injection attack can issue commands to plugins to cause harm.
This post describes a prompt injection attack against Bing Chat that lets malicious text on a webpage, such as a user comment or advertisement, exfiltrate data. The author identifies the flaw as image markdown injection. Bing Chat returns markdown, which the client renders as HTML, including image tags whose src attribute can point to an attacker-controlled server.
Johann Rehberger built a demo web app at wuzzi.net/matrix that hijacks ChatGPT through an indirect prompt injection when GPT-4 with Browsing is enabled. The site responds only to ChatGPT, not to direct browser visits, and walks users through AI-based attacks such as stealing data, issuing requests to other plugins and manipulating conversations. A second demo at wuzzi.net/ai-tests/wargames applies the same technique to a WarGames-themed game.
The post explains how the first exploitable Cross Plugin Request Forgery in the wild was found in ChatGPT plugins. It frames indirect prompt injection as a real risk in the ChatGPT ecosystem, since plugins and browsing support make it possible, and contrasts earlier harmless demos such as Bing Chat speaking like a pirate.
A malicious website can take control of a ChatGPT chat session and exfiltrate the conversation history. The post focuses on the case where an attacker controls the data a plugin retrieves, rather than on a user sending too much data into a plugin.
Researcher Johann Rehberger reports an indirect prompt injection flaw in ChatGPT's YouTube transcript plugin. A video transcript can carry hidden instructions, which ChatGPT follows once it reads the transcript, and the post includes a demo in which the transcript tells the model to print "AI Injection succeeded" and then to make jokes as Genie.
The author built a Jupyter Notebook tutorial and lab for learning prompt engineering and prompt injection. It moves from simple cases, such as changing output text to a specific message, to harder adversarial challenges including JSON object injection, HTML injection/XSS, overwriting mail recipients or orders of an OrderBot, and data exfiltration.
The source notes that nearly all prompt engineering class examples are vulnerable to prompt injection, and that indirect prompt injection is especially dangerous. It states that indirect prompt injections let untrusted data take control of an LLM and assign it new instructions, mission and objective. It also says attack payloads are natural language, so attackers can craft many variations that bypass input filters and web application firewalls.
Fix: Google fixed the vulnerability.
Fix: Microsoft's Bing Chat and Anthropic's Claude issues are marked fixed, and a plugin vendor's email exfiltration issue is marked fixed.
Embrace The Red