All items
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
887 items
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.
CVE-2024-25639 affects the Khoj Obsidian, Desktop and Web clients, which inadequately sanitize the AI model's response and user inputs. Untrusted documents, whether indexed by the user or read from the internet via the /online command, can trigger Cross Site Scripting (XSS) through Prompt Injection.
Fix: Fixed in 1.13.0.
NVD/CVE DatabaseCVE-2024-5826 affects the latest version of vanna-ai/vanna. The vanna.ask function lacks a sandbox when executing LLM-generated code, so a prompt injection can alter the code run by the exec function in src/vanna/base/base.py. An attacker can use this to achieve remote code execution on the app backend server and potentially gain full control of it. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').
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.
CVE-2024-5184 affects the EmailGPT service, which relies on an API service that lets a malicious user inject a direct prompt and take over the service logic. An attacker can force the AI service to leak its hard-coded system prompts and/or execute unwanted prompts, and any individual with access to the service can exploit it.
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.
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.
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 Red