LLMFuzzer  by mnns

Fuzzing framework for LLM API integrations

created 2 years ago
303 stars

Top 89.1% on sourcepulse

GitHubView on GitHub
Project Summary

LLMFuzzer is an open-source fuzzing framework designed for testing Large Language Models (LLMs), particularly their API integrations within applications. It targets security enthusiasts, pentesters, and cybersecurity researchers aiming to discover and exploit vulnerabilities in AI systems, streamlining the testing process.

How It Works

LLMFuzzer employs a modular architecture to support various fuzzing strategies for LLMs. It focuses on testing LLM API integrations by sending crafted inputs to an LLM endpoint and analyzing the responses. The framework is designed for extensibility, allowing users to integrate new attack vectors and comparison methods.

Quick Start & Requirements

  • Install: pip install -r requirements.txt
  • Prerequisites: Python, requires editing llmfuzzer.cfg with LLM API endpoint details (URL, content type, query/output attributes, headers, cookies).
  • Documentation: In progress, see README.

Highlighted Details

  • First open-source fuzzing framework specifically for LLMs and their API integrations.
  • Supports various fuzzing strategies and is designed for extensibility.
  • Roadmap includes HTML reports, multiple connectors (JSON-POST, RAW-POST, QUERY-GET), proxy support, and dual-LLM analysis.

Maintenance & Community

The project is marked as "Unmaintained" but welcomes forks and continued development.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source applications.

Limitations & Caveats

The project is explicitly marked as unmaintained, meaning there is no active development or support. Full documentation is still in progress.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
32 stars in the last 90 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
1 more.

oss-fuzz-gen by google

0.3%
1k
LLM-powered fuzz target generator for C/C++/Java/Python projects, benchmarked via OSS-Fuzz
created 1 year ago
updated 5 days ago
Feedback? Help us improve.