Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Pickle-Deserialization-Exploit-in-Transformers — This study analyzes Python pickle deserialization vulnerabilities, focusing on CVE-2024-3568 in Hugging Face Transformers' TFAutoModel. We reproduce the exploit to examine its root cause, attack vectors, and risks. | Kitploit
Tools/GitHubGitHub/rooobeam/pickle-deserialization-exploit-in-transformers
Vulnerability AnalysisExploitationPapers & ResearchLearning & EducationAI SecurityBinary Exploitation
GitHubrooobeam/pickle-deserialization-exploit-in-transformers

Pickle-Deserialization-Exploit-in-Transformers

This study analyzes Python pickle deserialization vulnerabilities, focusing on CVE-2024-3568 in Hugging Face Transformers' TFAutoModel. We reproduce the exploit to examine its root cause, attack vectors, and risks.

View Repository
31Jul 10, 2025Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    843
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    446
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    359
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    332

Explore all tools

Browse our collection of tools

View all tools →
Share

Exploiting Pickle Deserialization Vulnerability in Transformers

Experiment Introduction

Introduces the pickle deserialization mechanism and its __reduce__ attack principle, reproduces the deserialization vulnerability CVE-2024-3568 in the Hugging Face Transformers library, analyzes security risks in the Transformers library, and proposes effective security hardening measures. For details, please refer to the experiment PDF document.

(PoC author code is available at CVE-2024-3568 or in the author_inf folder)

Key Information

  1. Vulnerability Location TFAutoModel.load_repo_checkpoint() method (Transformers ≤ v4.37.2)

  2. Attack Principle The extra_data.pickle file in a malicious checkpoint triggers RCE when deserialized via pickle.load()

  3. Impact Scope

  • Transformers library ≤ v4.37.2
  • AI applications using checkpoint restoration functionality

Environment Setup

# For detailed configuration instructions, see the experiment PDF
pip install transformers==4.37.2 tensorflow
git clone https://github.com/llm-sec/transformer-hacker

Pickle Deserialization Mechanism

For details, see the PDF document.

test.py and test2.py involve principle analysis (with assistance from AI Wenxiaobai; thanks to the productivity gains from technological breakthroughs).

Vulnerability Reproduction

  1. Malicious Checkpoint Generation (For specific commands, see the PDF document)

  2. Vulnerability Triggering (For code examples, see the PDF document)

  3. Attack Verification (For verification methods, see the PDF document)

Defense Measures

  1. Upgrade Transformers to ≥ v4.38.0
  2. Disable the load_repo_checkpoint() method
  3. Implement checkpoint file validation

Detailed Technical Analysis: For the complete vulnerability principle, exploitation process, and defense strategies, please refer to the experiment PDF document PoC Implementation: PoC author code is available at CVE-2024-3568 or in the author_inf folder

Download Tool