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
Researcher Johann Rehberger describes an attack chain against the ChatGPT macOS application in which prompt injection from untrusted content inserts persistent spyware instructions into ChatGPT's long-term Memories feature. The stored instructions cause continuous exfiltration of everything the user types and receives in later chat sessions, using a rendered image whose URL carries the data as a query parameter. The client-side url_safe check, added to block this exfiltration vector, was not performed on the macOS and Android clients as expected, leaving them vulnerable.
Fix: OpenAI released a fix for the macOS app. Ensure your app is updated to the latest version.
Embrace The RedJohann Rehberger describes an exploit chain against Microsoft 365 Copilot that let an attacker steal a user's emails and personal information. The chain combines prompt injection delivered through a malicious email or shared document, automatic tool invocation to pull in other emails and documents, and ASCII Smuggling to hide data inside clickable hyperlinks to an attacker-controlled domain. Rehberger first reported parts of the exploit to Microsoft in January 2024 and the full chain in February 2024, and disclosed it after MSRC approval.
A researcher reports a regression or bypass that again allows data exfiltration through image rendering during prompt injection in Google AI Studio. The exploit was simplified by asking the model directly for an HTML image tag, and the researcher suggests the behavior may have existed earlier because Google AI Studio had not yet implemented a Content Security Policy restricting image requests to arbitrary domains.
OpenAI announced gpt-4o-mini with safety improvements around "Instruction Hierarchy," which OpenAI frames as safety rather than security. A researcher spent a weekend testing the model and concluded that system instructions are still not a security boundary, and a first bypass demo circulated on X.
Researchers show that a prompt injection can make ChatGPT store a malicious memory, causing a denial of service that persists across chat sessions. The injected memory, such as an instruction to answer every question with a maintenance notice, remains until the user manually removes it. OpenAI reportedly classed the issue as a model safety issue rather than a security issue, which the author disputes.
A prompt injection flaw in the GitHub Copilot Chat VS Code extension allowed data exfiltration when the extension analyzed untrusted source code. The extension sends source code and user questions to a large language model, and the post describes how that input path could be abused. The source text does not give further technical detail in this excerpt.
A security researcher shows that ChatGPT can still be made to invoke tools automatically while browsing, even after earlier mitigations blocked older demo exploits. Instructions embedded in websites trigger DALL-E image creation and add or delete the memory tool's stored memories, with the author reporting near 100% reliability for some of these demos. The post links these threats to OWASP Top 10 for LLMs entries LLM01, LLM07 and LLM08.
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.
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.
Fix: The source states the user can recover by opening the memory tool, locating suspicious memories and removing them, or by disabling the memory feature entirely.
Embrace The RedFix: For custom GPTs with AI Actions, GPT creators can use the x-openai-isConsequential flag as a mitigation, which puts the user in control.
Embrace The RedFix: 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 Red