gcdRadar
archive/Research/AIR-2023-0004
closedclosed 13 Nov 2023Research1 Research / proof of conceptAI

PoisonGPT Open Source Model Supply Chain Demonstration

HuggingFace, LLM

Researchers demonstrated that an open-source language model could be poisoned and uploaded to a major model hub. The proof-of-concept highlighted supply chain risks within public model repositories.

first report
30 Oct 2023
last update
30 Oct 2023

Timeline · 2

  1. 30 Oct 2023PoisonGPT
  2. 30 Oct 2023PoisonGPT: How we hid a lobotomized LLM on Hugging Face to spread fake news

Sources · 2

News and write-ups

  1. 2023-10-30
    PoisonGPT: How we hid a lobotomized LLM on Hugging Face to spread fake news
    blog.mithrilsecurity.io · blog.mithrilsecurity.io/poisongpt-how-we-hid-a-lobotomized-llm-on-hugging-face-t

Research and catalogues

  1. 2023-10-30
    PoisonGPT
    MITRE ATLAS · atlas.mitre.org/studies/AML.CS0019

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Supply chainData poisoning
severity
1 · Research / proof of concept
targets
Open-weight model, Framework / tooling
dates
happened Jul 2023 (approx.) · first reported 30 Oct 2023
origin
MITRE ATLAS
Derived from MITRE ATLAS (Apache 2.0, © MITRE).
record
confidence 0.95 · created 2026-10-18 06:55Z · updated 2026-10-18 06:55Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# PoisonGPT Open Source Model Supply Chain Demonstration

https://gcdradar.vercel.app/incidents/poisongpt-open-source-model-supply-chain-demonstration · AIR-2023-0004 · closed 2023-11-13

- Lane: Research
- Severity: 1 (Research / proof of concept)
- Fix status: Fix status unknown
- First reported: 2023-10-30 (happened 2023-07)
- AI role: Attack on AI
- Products: HuggingFace, LLM

## Summary

Researchers demonstrated that an open-source language model could be poisoned and uploaded to a major model hub. The proof-of-concept highlighted supply chain risks within public model repositories.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2023-10-30: PoisonGPT: How we hid a lobotomized LLM on Hugging Face to spread fake news (https://blog.mithrilsecurity.io/poisongpt-how-we-hid-a-lobotomized-llm-on-hugging-face-to-spread-fake-news)
- 2023-10-30: PoisonGPT (https://atlas.mitre.org/studies/AML.CS0019)

## Sources

- 2023-10-30 MITRE ATLAS: PoisonGPT https://atlas.mitre.org/studies/AML.CS0019
- 2023-10-30 blog.mithrilsecurity.io: PoisonGPT: How we hid a lobotomized LLM on Hugging Face to spread fake news https://blog.mithrilsecurity.io/poisongpt-how-we-hid-a-lobotomized-llm-on-hugging-face-to-spread-fake-news

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed
    AI
  2. closed9.6
    llama-cpp-python CVE-2024-34359: Llama-cpp-python remote code execution via Jinja2 chat templates

    Patch now · Disclosed · since 13 May 2024 · updated 14 May 2024 · CVE-2024-34359

    AI
  3. closed3.4
    Hugging Face libraries Hugging Face Transformers Deserialization Remote Code Execution

    Patch now · Disclosed · since 10 Apr 2024 · CVE-2024-3568

    AI
  4. closed8.8
    llama.cpp Heap-based buffer overflow in llama.cpp header.n_kv

    Patch now · Disclosed · since 26 Feb 2024 · CVE-2024-23605

    AI
  5. closed8.8
    llama.cpp Heap-based buffer overflow in llama.cpp info-ne

    Patch now · Disclosed · since 26 Feb 2024 · CVE-2024-21802

    AI
  6. closed8.8
    llama.cpp Heap-based buffer overflow in llama.cpp gguf_fread_str

    Patch now · Disclosed · since 26 Feb 2024 · CVE-2024-23496

    AI