Skip to content
项目

关于

🧠 LLMFuzzer——大型语言模型模糊测试框架 🧠 LLMFuzzer 是首个专为大型语言模型(LLM)设计的开源模糊测试框架,尤其适用于测试通过 LLM API 将模型集成到应用程序中的场景。🚀💥

人工智能与机器学习

这些数字如何统计

可以做什么

  • Robust fuzzing for LLMs 🧪
  • LLM API integration testing 🛠️
  • Wide range of fuzzing strategies 🌀
  • Modular architecture for easy extendability 📚

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🧠 LLMFuzzer - Fuzzing Framework for Large Language Models 🧠

LLMFuzzer-shell

Version License Stars Forks Issues

forthebadge forthebadge forthebadge


Project Status: Unmaintained

This project is no longer actively maintained. You are welcome to fork and continue its development on your own. Thank you for your interest and support.


LLMFuzzer is the first open-source fuzzing framework specifically designed for Large Language Models (LLMs), especially for their integrations in applications via LLM APIs. 🚀💥

🎯 Who is this for?

If you're a security enthusiast, a pentester, or a cybersec researcher who loves to find and exploit vulnerabilities in AI systems, LLMFuzzer is the perfect tool for you. It's built to make your testing process streamlined and efficient. 🕵️‍♀️

Untitled

🌟 Features

  • Robust fuzzing for LLMs 🧪
  • LLM API integration testing 🛠️
  • Wide range of fuzzing strategies 🌀
  • Modular architecture for easy extendability 📚

🔥 Roadmap

  • Adding more attacks
  • HTML Report as output
  • Multiple Connectors (JSON-POST, RAW-POST, QUERY-GET)
  • Multiple Comparers
  • Proxy Support
  • Dual-LLM (Side LLM observation)
  • Autonomous Attack Mode

🚀 Get Started

  1. Clone the repo
git clone https://github.com/mnns/LLMFuzzer.git
  1. Navigate to the project directory
cd LLMFuzzer
  1. Install dependencies
pip install -r requirements.txt
  1. Edit llmfuzzer.cfg with your LLM API endpoint (LLMFuzzer -> Your Application -> LLM)
Connection: 
  Type: HTTP-API
  Url: "http://localhost:3000/chat" # Your LLM API
  Content: JSON
  Query-Attribute: "query" # Your JSON query attribute
  Output-Attribute: "answer" # Your JSON response attribute
  Headers: {'enwiki_session': '17ab96bd8ffbe8ca58a78657a918558'} # Add HTTP Headers if needed 
  Cookie: {'enwiki_session': '17ab96bd8ffbe8ca58a78657a918558'} # Add Cookies if needed
  1. Run LLMFuzzer
python main.py

📚 Documentation

We are working on full documentation. It will cover detailed information about the architecture, different fuzzing strategies, examples, and how to extend the tool.

🤝 Contributing

We welcome all contributors who are passionate about improving LLMFuzzer. See our contributing guidelines for ways to get started. 🤗

💼 License

LLMFuzzer is licensed under the MIT License. See the LICENSE file for more details.

🎩 Acknowledgments

LLMFuzzer couldn't exist without the community. We appreciate all our contributors and supporters. Let's make AI safer together! 💖

探索相关项目

加载中…