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.
1,000 items
OpenAI's ChatGPT memory feature stores information across sessions, and the author shows that untrusted third-party data can trigger it. Through indirect prompt injection, the author tests three entry points: Connected Apps, uploaded images and Browsing with Bing. In the Connected Apps case, a referenced Google Doc writes memories into the chat.
Google's NotebookLM, an experimental project released last year, lets users upload files and analyze them with a large language model. The source reports that it is vulnerable to prompt injection, where uploaded files can manipulate the chat conversation and control what the user sees in responses. NotebookLM is also vulnerable to data exfiltration when it processes untrusted data.
A flaw in the `safe_eval` function of the `exec_utils` class in the `llama_index` package allows prompt injection to lead to arbitrary code execution. Insufficient input validation lets an attacker bypass method restrictions and run unauthorized code. It bypasses the previously addressed CVE-2023-39662, and a proof of concept creates a file on the system.
Johann Rehberger reported that Google AI Studio briefly regressed to allowing data exfiltration through image markdown during a prompt injection attack, which he tested on February 17, 2024. A malicious uploaded file could make the model send the summaries of all other uploaded files to an attacker-controlled server via image requests. Google fixed the issue within 12 days, and the report was closed as Duplicate on March 3, 2024.
The post explains how automatic link unfurling in Slack can enable data exfiltration when untrusted content, such as text injected through a prompt injection attack, causes an LLM-powered Slack App to render a hyperlink with chat data appended. Slack's unfurling request sends that appended data to the third-party server. The author then shows how to disable unfurling in a Slack App's message payload.
The author added several features to ASCII Smuggler, a tool for working with hidden Unicode Tags text. New options include optionally rendering the BEGIN and END Unicode Tags when crafting hidden text, and URL decoding the input before checking for hidden text. Decoding output can now either highlight hidden text within regular content or show only the hidden text. Selected options persist via local storage, and the UI was updated with larger fonts and better mobile behavior.
A researcher found that Microsoft 365 Copilot can be attacked with conditional prompt injection payloads that behave differently depending on which user reads the content. The attacker embeds instructions in an email that check the recipient's name, so the payload activates only for specific targets. In a demo with three recipients, the researcher showed different outputs for each person.
Last November, the author testing Google Bard (now called Gemini) for vulnerabilities observed automatic tool invocation. An attacker can send a malicious email containing instructions to call an external tool, which Google calls Extensions. When the user has an LLM analyze the email, the LLM interprets those instructions and calls the tool, a form of request forgery the author describes as a confused deputy issue.
A video from embracethered explains ASCII Smuggling, the use of Unicode Tags Block characters to craft and decipher hidden messages that are often invisible in user interfaces. The author notes that LLMs often interpret this hidden text as ASCII and can produce it in replies, enabling more sophisticated attacks than earlier Unicode encoding tricks. The source also links an ASCII Smuggler tool.
A researcher found that Anthropic Claude interprets hidden Unicode Tags code points, which are invisible in the user interface, and follows the instructions they carry. The same weakness had previously been reported for ChatGPT by Riley Goodside. The researcher reported the issue to Anthropic, and the ticket was closed after the company's final reply.
AWS released the Preview of Amazon Q for Business, and the author reported a data exfiltration issue to Amazon. Attackers could use indirect prompt injection to make the LLM return markdown tags, so that rendered hyperlinks leak the victim's data from the chat context, such as content from an uploaded file.
Riley Goodside showed that invisible instructions hidden in pasted text can cause a prompt injection in an LLM. The technique encodes instructions with code points from the Tags Unicode Block. In the proof-of-concept, such text made ChatGPT invoke DALL-E to generate an image.
Johann Rehberger gave a talk titled "New Important Instructions" at the 37th Chaos Communication Congress in Hamburg in 2023, in Saal 1. The talk covered LLM application security and prompt injection, and a video with translation options is on media.ccc.de, with the English copy on the Embrace The Red YouTube channel.
OpenAI has added a mitigation for an image markdown injection flaw in ChatGPT that lets prompt injection send conversation data to third-party servers. The change applies only to the web app: the client calls a url_safe validation endpoint before rendering an image, and returns safe=false blocks the request. The researcher found the fix incomplete, since some arbitrary-domain images still render and small amounts of data still leak, and the iOS app 1.2023.347 lacked the change.
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.
CVE-2023-32786 affects Langchain through 0.0.155. Prompt injection in that version allows an attacker to force the service to retrieve data from an arbitrary URL, which the source describes as providing SSRF and potentially injecting content into downstream tasks. NIST has not yet provided an NVD assessment.
LangChain versions before 0.0.247 are affected by a flaw in the SQL chain. Prompt injection allows an attacker to execute arbitrary code against the SQL service that the chain provides.
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.
Fix: There is currently no known solution to these kinds of attacks, so users can't implicitly trust responses from LLM applications when untrusted data is involved.
Embrace The RedFix: Fixed by Google; the issue no longer reproduced after the fix. The source recommends automated tests to catch regressions and keep systems resilient to known attack vectors.
Embrace The RedFix: Set "unfurl_links" and "unfurl_media" to False in the message JSON, as shown in the source's create_message function (the source's code example is cut off after "unfurl_media": Fal).
Embrace The RedFix: As a possible mitigation, developers can remove Unicode Tags Block text on the way in and out of the application. The source also advises testing your own LLM apps for this attack vector.
Embrace The RedFix: Amazon reacted quickly and mitigated the problem. The source says the post shares further details on how it was fixed, but the fix itself is not described in the provided text.
Embrace The RedFix: The web app now calls the url_safe validation endpoint (https://chat.openai.com/backend-api/conversation/[id]/url_safe) before displaying an image, and does not render images returned as safe=false.
Embrace The RedFix: Google fixed the vulnerability.