# FuzzyAI

> Open-source automated LLM fuzzing tool that helps developers and security researchers find jailbreaks in LLM APIs.

FuzzyAI is an open-source fuzzer from CyberArk for testing LLMs and LLM APIs. Developers and security researchers use it to run automated jailbreak attacks against hosted, local, or custom REST-based models and to identify potential vulnerabilities. It is installed as a Python package and run from a CLI, with an experimental Web UI also available.

## What It Is

FuzzyAI is an LLM security testing tool in the AI red-teaming space. You provide a target model (or your own REST API endpoint), one or more prompts, and one or more attack methods. The fuzzer then sends adversarial variations of the prompt and evaluates the responses, optionally using a classifier model to judge whether outputs are harmful or unwanted.

## Attacks and Techniques

The README lists implemented attacks drawn from published research and community techniques, including ArtPrompt, taxonomy-based paraphrasing, PAIR, many-shot jailbreaking, ASCII smuggling, genetic algorithms, DAN, WordGame, Crescendo, ActorAttack, best-of-n jailbreaking, and the text-based Shuffle Inconsistency Attack. Simpler prompt-framing attacks such as Back To The Past, Thought Experiment, and History/Academic framing are also included, along with a default mode that sends the prompt as-is.

## Model and Provider Support

FuzzyAI works with cloud APIs including OpenAI, Anthropic, Gemini, Azure, AWS Bedrock, AI21, and DeepSeek. It also supports Hugging Face models, local models through Ollama, and custom REST APIs described by a raw HTTP request file. Support for newer models can be added following the project's DIY guide.

## Setup Path

Install with pip from the GitHub repository or clone it and install with Poetry. Then run `fuzzyai fuzz` with options for model, attack, and target prompts, or launch `fuzzyai webui`. Jupyter notebooks and datasets are included, and the wiki holds detailed documentation. One documented caveat: not every classifier is compatible with every attack, since the attacks expect single-output classifiers.

## Features
- Automated LLM fuzzing
- Mutation-based, generation-based, and intelligent fuzzing
- Many implemented jailbreak attacks (ArtPrompt, PAIR, Crescendo, many-shot, and others)
- Custom REST API targeting via raw HTTP request files
- Classifier models for output evaluation
- Experimental Web UI
- Jupyter notebooks and datasets
- Extensible architecture for adding models

## Integrations
OpenAI, Anthropic, Gemini, Azure, AWS Bedrock, AI21, DeepSeek, Hugging Face, Ollama

## Platforms
WEB, API, DEVELOPER_SDK, CLI

## Pricing
Open Source

## Links
- Website: https://github.com/cyberark/FuzzyAI
- Documentation: https://github.com/cyberark/FuzzyAI/wiki
- Repository: https://github.com/cyberark/FuzzyAI
- EveryDev.ai: https://www.everydev.ai/tools/fuzzyai
