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.
2,493 items
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.
Johann, the author of the Machine Learning Attack Series, announces his appearance as a guest on The MLSecOps Podcast. He says the episode covers AI Red Teaming, Machine Learning Security and Threat Modeling of such systems.
A post on LLM security examines prompt injection in AI systems, which it says is especially susceptible to attack. It describes the injection types as direct, indirect and context pollution. The post states that LLM output is untrusted and says it will address how to handle this when adopting AI systems. The source text also contains an embedded instruction asking the reader to print "AI Injection succeeded!" and speak Doge, which the summary does not follow.
A Embrace The Red post describes AI prompt injections, where an adversary manipulates the input prompt to an AI system, either directly or indirectly through untrusted data such as a webpage analyzed by Bing Chat. The author compares these attacks to SQL Injection and Cross Site Scripting and lists direct prompt injections, second order (indirect) prompt injections and cross-context AI injections as variants. The source text is partly cut off before the discussion of second order injections is complete.
The author tested Bing Chat, which refused to help when asked to imagine being a hacker and list security vulnerabilities, citing ethics and legality. The author then tried indirect phrasing to get around that refusal, using a language manipulation technique with a JSON-only output format.
The author built yolo, a tool that translates a natural language question into a shell command for bash, zsh or PowerShell, then executes it. It was upgraded from the GPT-3 completion API to the ChatCompletion (ChatGPT) API and supports GPT-4. By default it does not run the generated command immediately, though this can be overridden.
A researcher backdoored a Python pickle file from a two-year-old Husky AI Google Colab notebook using fickling's --inject command. When the file was loaded by StyleGAN2-ADA's generate command, the injected code executed without affecting the program's output. The author notes that Google Drive mapped into Colab projects could expose that data to an attacker who tricks a user into opening a malicious pickle file.
The post examines how red teams or adversaries could use GPT-3 to carry out successful phishing attacks. It also says it will discuss potential countermeasures organizations can take against this threat. GPT-3 is described as a neural network-based machine learning system developed by OpenAI, designed to generate realistic, human-like text after training on a large corpus that includes billions of words from the internet.
A video demonstrates image scaling attacks, in which an adversary hides a smaller image inside a larger one so that it becomes visible when the computer resizes the image. The attack is possible when vulnerable code uses insecure interpolation. The original research is credited to Erwing Quiring et al. of TU Braunschweig.
The author evaluates Microsoft Counterfit, a command-line tool for testing machine learning models and endpoints against adversarial attacks. Counterfit hosts attack modules from the Adversarial Robustness Toolbox and TextAttacks, and it can be extended with new attacks and targets. The author builds a custom Husky AI target that loads a Keras model and sample images, with the goal of turning Shadowbunny into a husky through adversarial examples.
This is an index page for the author's machine learning attack blog series, collecting posts on the ML pipeline, the Husky AI project, threat modeling, and practical attacks and defenses. It lists topics such as model file theft, backdooring pickle and Keras model files, and CVE-2020-16977 in the VS Code Python extension. The author notes that typical red teaming techniques like SSH Agent Hijacking, weak access control, and exposed credentials also put AI/ML systems at risk.
This post explores using Generative Adversarial Networks (GANs) to generate fake husky images. The goal is to make the "Husky AI" classifier misclassify these synthetic images as real huskies. The author was motivated by an earlier interest in creating fake images to trick Husky AI and was prompted to pursue it after deeplearning.ai launched a GAN course by Sharon Zhou.
This post examines the repudiation threat, where an attacker such as Mallory replaces the Husky AI model file with a backdoored version and then denies having done so. It shows how the Linux Audit Daemon (auditd) can record who accessed the model file and when, using auditctl rules tagged with a keyword and searched with ausearch, with logs pushed to centralized systems such as Splunk, the Elastic Stack, or Azure Sentinel.
Johann Rehberger posted that his GrayHat Red Team Village talk, "Learning by doing: Building and breaking a machine learning system," is now on YouTube. He also asked readers whether they would attend a hands-on workshop based on the talk's content.
Fix: Fickling's --check-safety command checks pickle files for malicious opcodes and --trace shows the opcodes. The author advises only opening pickle files that you created or trust.
Embrace The RedFix: The source mentions how to mitigate the vulnerability but does not state the mitigation in the text provided.