arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26195cs.CRcs.AI
收藏

CyberEvolver:面向网络安全代理的即时结构化自我进化

CyberEvolver: Structured Self-Evolution for Cybersecurity Agents On the Fly

Fudan University(复旦大学);Shanghai Innovation Institute(上海创新研究院);Shanghai Pudong Research Institute of Cryptology(上海浦东密码研究院)

Yihe Fan, Changyi Li, Lichen Xu, Xudong Pan, Jiarun Dai, Hong Geng, Min Yang

AI总结:

提出CyberEvolver框架,通过四层可进化架构、痕迹诊断机制和种群波束搜索,实现网络安全代理基于失败经验的支架自我进化,平均成功率提升13.6%。

摘要:

基于LLM的代理越来越多地用于网络安全任务,但现有系统大多依赖固定的、人工设计的支架,难以适应不同的目标和失败模式。我们提出了 extsc{CyberEvolver},一个自我进化的网络安全代理框架,它根据失败执行尝试的经验迭代地修改自己的支架。网络安全中的自我进化具有挑战性,因为可能的支架变化空间在很大程度上是非结构化的,执行反馈稀疏且常被环境掩盖,低多样性的更新可能导致错误在重复迭代中累积。 extsc{CyberEvolver}通过四层可进化代理架构(将支架优化分解为结构化组件)、痕迹诊断机制(将嘈杂的执行日志转化为可操作的修订信号)以及基于种群的波束搜索策略(在进化过程中保留多样化的代理变体)来应对这些挑战。我们在CTF挑战、漏洞利用和渗透测试任务上使用四个开源LLM评估了 extsc{CyberEvolver}。在这些设置中, extsc{CyberEvolver}将种子代理的成功率平均提高了13.6%,并优于六个人工设计的网络安全代理以及两种从其他领域改编的自我改进方法。这些结果表明,支架自我进化为构建用于安全测试的自适应LLM代理提供了一个有前景的方向。

英文摘要:

LLM-based agents are increasingly used for cybersecurity tasks, but most existing systems rely on fixed, human-designed scaffolds that struggle to adapt across diverse targets and failure modes. We introduce \textsc{CyberEvolver}, a self-evolving cybersecurity agent framework that iteratively revises its own scaffold based on experience from failed execution attempts. Self-evolution in cybersecurity is challenging because the space of possible scaffold changes is largely unstructured, execution feedback is sparse and often obscured by the environment, and low-diversity updates can cause errors to compound over repeated iterations. \textsc{CyberEvolver} addresses these challenges with a four-layer evolvable agent architecture that decomposes scaffold optimization into structured components, a trace-to-diagnosis mechanism that converts noisy execution logs into actionable revision signals, and a population-based beam search strategy that preserves diverse agent variants during evolution. We evaluate \textsc{CyberEvolver} on CTF challenges, vulnerability exploitation, and penetration-testing tasks using four open-source LLMs. Across these settings, \textsc{CyberEvolver} improves the seed agent's success rate by $13.6$\,\% on average, and outperforms six human-designed cybersecurity agents as well as two self-improvement methods adapted from other domains. These results suggest that scaffold self-evolution is a promising direction for building adaptive LLM agents for security testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑