Fuzzing tool for automated fuzz driver generation
Top 93.9% on sourcepulse
PromptFuzz is an automated tool for generating fuzz drivers for libraries by mutating LLM prompts within a fuzz loop. It targets researchers and developers seeking to improve code coverage and discover security vulnerabilities in C/C++ libraries, offering a novel approach to fuzzing that leverages LLMs for API interaction discovery.
How It Works
PromptFuzz employs a feedback-driven fuzz loop that mutates LLM prompts to generate fuzz drivers. It extracts library context to construct these prompts, prioritizing mutations that explore complex API interrelationships guided by code coverage. The generated programs undergo rigorous sanitization for syntax, semantics, behavior, and coverage before being integrated with the LibFuzzer grey-box fuzzing engine.
Quick Start & Requirements
pip install promptfuzz
Highlighted Details
Maintenance & Community
The project appears to be research-driven with contributions from academic institutions. Further community engagement channels are not explicitly listed in the README.
Licensing & Compatibility
The README does not specify a license. This lack of explicit licensing makes commercial use or integration into closed-source projects uncertain without further clarification.
Limitations & Caveats
PromptFuzz is currently tested on ChatGPT and primarily targets C/C++ libraries. Future work aims to generalize to binary programs and apply to closed-source libraries via LLM fine-tuning, indicating current limitations in these areas.
4 days ago
1 week