Back to search

Hong Kong University of Science and Technology

Adaptive Security for Complex Software Systems: Runtime Decision Making in Fuzzing and LLM Agents

Abstract

dc:description

<p>Automated security systems often decide before observing outcomes. An unproductive fuzzing round consumes executions, but its outcome informs the next choice. Tool-using large language model (LLM) agents have less room to recover after calls change external state or untrusted text enters memory. This thesis examines which runtime observations may revise decisions and when intervention must occur.</p> <p>BeliefFuzz models fuzzing as Monte Carlo planning over a parent-child seed tree. Reachable uncovered code, selection history, and confidence guide seed selection; path-discovery intervals govern early stopping. At matched coverage, it reached the evaluated baselines’ endpoints 2.12–5.63× faster with 1.18–2.77× fewer executions. Its campaigns found 31 previously unseen bugs, including 18 with CVE identifiers. Titan coordinates multiple directed targets in one campaign. Static synergy inference classifies relations among their approximate path conditions as overlap, conflict, or independence to guide synergy-aware seed scheduling and multi-target-oriented mutation. Across evaluated baselines, Titan averaged a 21.4× speedup. On updated program versions, Titan found ten defects missed by the compared configurations: nine incomplete fixes and one new bug; two received CVE identifiers.</p> <p>DRIFT defends tool-using agents against indirect prompt injection. The Secure Planner derives constraints from the user request; the Dynamic Validator checks proposed calls and policy updates before execution. After an approved call returns, the Injection Isolator masks instructions inconsistent with the user request before memory insertion. On AgentDojo with GPT-4o-mini, DRIFT reduced attack success from 30.7% to 1.4% and exceeded CaMeL’s benign and attacked utility by 18.9 and 15.5 percentage points. Fuzzing can use execution outcomes to revise later allocations; agent defense must intervene before side effects or memory insertion. The comparison concerns decision scope and timing, not shared algorithms, threat models, or metrics.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chiu, Hung-chun
Contributors dc:contributor
  • Zhang, Charles Chuan

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Chiu, Hung-chun. Adaptive Security for Complex Software Systems: Runtime Decision Making in Fuzzing and LLM Agents. 2026. http://repository.hkust.edu.hk/ir/Record/1783.1-174867