SeedAIchemy: LLM-Driven Seed Corpus Generation for Fuzzing
Aidan Wen, Norah A. Alzahrani, Jingzhi Jiang, Andrew Joe, Karen Shieh, Andy Zhang, Basel Alomair, David Wagner
TL;DR
SeedAIchemy tackles the bottleneck of fuzzing adoption by automating seed-corpus construction with LLM-driven search-term generation across GitHub, web sources, feature-focused queries, bug trackers, and Common Crawl. It combines five parallel modules, deduplicates, and minimizes the resulting corpus with afl-cmin to optimize fuzzing efficiency. In Magma-based experiments, SeedAIchemy delivers corpus quality close to manually curated sets and outperforms naive and G$^2$FUZZ corpora across bugs reached, bugs triggered, and code coverage, while requiring no manual curation. This approach substantially lowers the cost and expertise needed to use fuzzing effectively in real-world development, broadening its practical impact.
Abstract
We introduce SeedAIchemy, an automated LLM-driven corpus generation tool that makes it easier for developers to implement fuzzing effectively. SeedAIchemy consists of five modules which implement different approaches at collecting publicly available files from the internet. Four of the five modules use large language model (LLM) workflows to construct search terms designed to maximize corpus quality. Corpora generated by SeedAIchemy perform significantly better than a naive corpus and similarly to a manually-curated corpus on a diverse range of target programs and libraries.
