Skip to content

🧠 LLMFuzzer - Fuzzing Framework for Large Language Models 🧠 LLMFuzzer is the first open-source fuzzing framework specifically designed for Large Language Models (LLMs), especially for their integrations in applications via LLM APIs. πŸš€πŸ’₯

License

Notifications You must be signed in to change notification settings

domwhewell-sage/LLMFuzzer

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 LLMFuzzer - Fuzzing Framework for Large Language Models 🧠

LLMFuzzer-shell

Version License Stars Forks Issues

forthebadge forthebadge forthebadge

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
  • Multiple Connectors (JSON-POST, RAW-POST, QUERY-GET)
  • Multiple Comparers
  • Dual-LLM (Side LLM observation)
  • Autonomous Attack Mode

πŸš€ Get Started

  1. Clone the repo
git clone https://github.com/domwhewell-sage/LLMFuzzer.git
  1. Navigate to the project directory
cd LLMFuzzer
  1. Install dependencies
pip install -r requirements.txt
  1. Edit llmfuzzer.yaml with your LLM API endpoint (LLMFuzzer -> Your Application -> LLM)
Resources:
  Collaborator-URL: "https://webhook.site/#!/view/:uuid"
  Proxies: {'http': 'http://127.0.0.1:8080', 'https': 'http://127.0.0.1:8080'}
Connection:
  Type: HTTP-API
  Query-Mode: Replace
  Url: "http://localhost:3000/chat"
  Content: JSON
  Query-Attribute: /query
  Initial-POST-Body: {"sid":"1","query":"Hi","model":"gpt-4"}
  Output-Attribute: /response/message
  Headers: {'Authorization': 'Bearer <token>'}
  Cookies: {}

attackFiles: attacks/*.yaml

Reports:
  - HTML: true
    Path: "report.html"
  - CSV: true
    Path: "report.csv"
  1. Run LLMFuzzer
python main.py

πŸ“š Documentation

See the wiki for more documentation.

🀝 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! πŸ’–

@mns - For the initial work on LLMFuzzer and allowing the fork

About

🧠 LLMFuzzer - Fuzzing Framework for Large Language Models 🧠 LLMFuzzer is the first open-source fuzzing framework specifically designed for Large Language Models (LLMs), especially for their integrations in applications via LLM APIs. πŸš€πŸ’₯

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%