← Lab /Software

LLM-generated test harnesses fail to confirm any weaknesses in Autoware, integration is main barrier

LLMs cannot reliably produce executable test artifacts to dynamically confirm software weaknesses in an autonomous-vehicle stack

Software arXiv 13 Aug 2026 Measurement Prototype evidence Threat model

Published as “LLM-Assisted Dynamic Threat Analysis for Attacker-Reachable Software Weaknesses in Autonomous Vehicles”

Why it matters

Current LLMs cannot reliably automate dynamic confirmation of safety-relevant bugs in large AV stacks without dedicated build-integration tooling.

Summary

The study finds that build-integration, not fuzzing, is the main barrier to LLM-assisted dynamic analysis of the Autoware autonomous-vehicle stack: 80% of first-shot compile failures stem from dependency-wiring, and although the reasoning LLM compiled 64% of harnesses initially (vs 6% for the code-specialized model), compiler-in-the-loop repair only succeeded by stubbing real code, so no candidate weakness was dynamically confirmed within the fuzzing budget.

What they found 3

  1. Most compile failures are due to dependency-wiring rather than program logic.

    “80% of first-shot compile failures arise from dependency-wiring rather than program logic.”

  2. The reasoning model compiles far more harnesses than the code-specialized model, but repair relies on stubbing the target.

    “The reasoning model compiled 64% of its harnesses first, against 6% for the code-specialized model, and repair reached full object-compileability for the reasoning model only by stubbing the real target; consequently, under half of its harnesses reached the fuzzer and all 37 crashes came from a stub.”

  3. No candidate weakness was dynamically confirmed within the fuzzing budget.

    “Within budget, no candidate weakness was dynamically confirmed, reflecting this build-integration barrier rather than a benign attack surface.”

Caveats 5

  • No candidate weakness was dynamically confirmed within the allocated fuzzing budget, primarily because most generated artifacts failed before meaningful execution rather than because Autoware’s attack surface was shown to be benign.
  • The decision-rule classification and package-level flow analysis are heuristic.
  • Only packages with available compile commands contribute to the compiler-precise inventory.
  • All experiments are conducted in software-in-the-loop; therefore, we make no claim about exploitability on a physical vehicle.
  • The realized fuzzing time was 60 of the configured 600 seconds per target.

What’s new here 4

  • First end-to-end feasibility study of LLM-assisted dynamic analysis on a full autonomous-vehicle software stack.
  • Derivation of a build-integration failure taxonomy that pinpoints dependency-wiring as the primary bottleneck.
  • Demonstration that compiler-in-the-loop repair can achieve 100% object compileability only by replacing target code with stubs.
  • Quantitative comparison of a code-specialized LLM versus a general reasoning LLM on a large ROS 2 codebase.

Threat model stated by the source

Adversarysoftware-level adversary
Capabilitycan inject malicious sensor streams, join the ROS 2 DDS graph as a rogue participant, compromise upstream node messages, or manipulate map/route/localization inputs
AssumesPhysical attacks on sensors or vehicle are out of scope; No enforced ROS 2 security policies; Experiments are software-in-the-loop only