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,075 items
Novelli, Hacker, Morley, Trondal and Floridi (2024) examine how the European Commission should implement and enforce the AI Act, with a focus on the AI Office and general-purpose AI (GPAI). The source lays out the Commission's tasks, including issuing guidelines on risk-based classification, defining 'significant modifications' under Art 43(4) AIA, and classifying GPAI as posing 'systemic risk' under Art 51 AIA based on criteria such as FLOPs and high-impact capabilities.
This post, part of a machine learning attack series, covers backdooring the original Keras Husky AI model. It frames model deserialization issues as a supply chain threat that can lead to arbitrary code execution. The author then examines tooling for detecting the resulting backdoor.
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.
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.
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.
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 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.
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 researcher prompted ChatGPT to role-play as a Microsoft SQL Server that replies only with command output. The model returned plausible results for xp_cmdshell 'whoami', database listings, table creation, inserts and a generated UPSERT stored procedure. The author notes the outputs are non-deterministic and that the model inferred intent for an update without an email value.
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.
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.
A commenter responds to a blog post titled "The Death of Manual Red Teams" and disputes its definition of red teaming as only using known vulnerabilities. The author argues that red teams may use existing flaws, discover new ones, or bypass systems by other means, since the objective matters most. They conclude that red teaming is not automatable, though adversaries and red teamers will likely keep investing in AI/ML-assisted tooling.
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.
The post is part of a series on machine learning and AI, and it describes the author's work on the Husky AI project, including its threat modeling. It notes that the author found "Image Scaling Attacks" in the paper "Adversarial Preprocessing: Understanding and Preventing Image-Scaling Attacks in Machine Learning" by Erwin Quiring et al. while preparing demos for a GrayHat 2020 Red Team Village presentation.
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.