Rui Li and Shuang Cao, Dawn Computing
Security teams increasingly rely on automation to keep pace with vulnerability disclosure and patch deployment, yet real remediation workflows are constrained by change-management policies: maintenance windows, staged rollout rules, blast-radius limits, approval gates, and least-privilege requirements. Today, "autonomous" remediation is brittle. Scripted playbooks are safe but rigid, while LLM-driven agents are flexible but frequently violate operational policies (e.g., patching outside windows, taking too many replicas offline, or skipping mandatory validation), creating outages and compliance risk.
We present PatchWeaver, a remediation system that provides policy-bounded autonomy. PatchWeaver combines (i) an explicit, continuously refreshed graph of Kubernetes assets, dependencies, identities, vulnerabilities, approvals, and evidence; (ii) a typed policy interface (ChangeSpec) that encodes organization-specific change rules as executable predicates; and (iii) a rollout-based decision layer that scores candidate remediation plans by predicting both progress and policy-violation risk before any action is executed. The core insight is that myopic enforcement cannot avoid constraint traps--states where locally admissible actions lead to dead ends that force later violations. PatchWeaver detects traps via short-horizon simulation and replans when reality diverges from prediction.
We evaluate PatchWeaver on four Kubernetes remediation workloads under explicit governance constraints. Compared to a strong toolchain baseline (Gatekeeper + Argo Rollouts + Cosign), PatchWeaver reduces step-level policy violations by 52.5% (4.73% vs. 9.95%, p<0.01) and episode-level violations by 52.2% (5.82% vs. 12.18%). Compared to an LLM-agent baseline, PatchWeaver reduces step violations by 79.1% and worst-case (p99) episode violations by 3.1x (16.8% vs. 51.3%). In security stress tests across 10 attack categories, PatchWeaver achieves 0.33% aggregate miss rate with mean dwell time 0.84 s, separating 88.7% immediate blocks from 11.0% escalations, versus 28.5% miss rate and 96.4 s for the toolchain. Control-plane overhead remains practical: p99 admission latency is 31 ms at 32 policy predicates, and total resource usage is under 1 CPU core and 1 GB memory.
USENIX Security '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Rui Li and Shuang Cao},
title = {{PatchWeaver}: {Risk-Bounded} Autonomous Vulnerability Remediation Under {Change-Management} Policies},
booktitle = {35th USENIX Security Symposium (USENIX Security 26)},
year = {2026},
isbn = {978-1-939133-58-8},
address = {Baltimore, MD},
pages = {6839--6858},
url = {https://www.usenix.org/conference/usenixsecurity26/presentation/li-rui},
publisher = {USENIX Association},
month = aug
}



