← Lab /Software

LLM-powered agents raise Java library fuzz harness coverage by up to 26%

The authors claim their multi-agent system generates harnesses that improve coverage over existing fuzzing baselines.

Software arXiv 9 Mar 2026 Method Prototype evidence

Published as “Coverage-Guided Multi-Agent Harness Generation for Java Library Fuzzing”

Why it matters

Automating harness generation can raise fuzzing coverage and uncover bugs without manual engineering effort, making large-scale library testing more feasible.

Summary

The generated harnesses achieve a median 26% improvement over OSS-Fuzz baselines and outperform Jazzer AutoFuzz by 5% in package-scope coverage. They cost about $3.20 and 10 minutes to generate, and during 12-hour fuzzing campaigns they discovered three previously unreported bugs in libraries already in OSS-Fuzz. The approach uses a multi-agent LLM system with on-demand code querying and method-targeted coverage to automate harness creation for Java libraries.

What they found 2

  1. Generated harnesses improve coverage over existing OSS-Fuzz harnesses.

    “Our generated harnesses achieve a median 26% improvement over OSS-Fuzz baselines and outperform Jazzer AutoFuzz by 5% in package-scope coverage.”

  2. The automatically generated harnesses discovered real bugs.

    “During 12-hour fuzzing campaigns with our harnesses, we discovered 3 previously unreported bugs.”

Caveats 1

  • The only target the generated harness does not outperform the baselines on is jackson-databind, where the OSS-Fuzz harness contains additional fuzzing logic after the execution of the target method that causes an increase in the overall coverage.

What’s new here 4

  • A multi-agent architecture with five specialized ReAct agents that handle research, synthesis, compilation repair, coverage analysis, and refinement.
  • Query-driven Model Context Protocol that retrieves documentation, source code, and call-graph fragments on demand, avoiding context window saturation.
  • Method-targeted coverage instrumentation that measures coverage only during execution of the target method.
  • Agent-guided termination that interprets uncovered source code to decide whether further refinement is worthwhile.