CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

STRIATUM-CTF:面向自主CTF求解的协议驱动智能体框架

Hugglestone, James、Chacko, Samuel Jacob、Stoller, Dawson、Schmidt, Ryan、Liu, Xiuwen

摘要与解读

提出协议驱动的智能体框架STRIATUM-CTF,用于自主完成CTF攻防任务,并报告消融实验与统计结果。

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 来源报告的影响对象是自主攻防智能体及其工具执行链:STRIATUM-CTF 以 Claude Sonnet 4.5 作规划层,经 MCP 协议层做 schema 校验后调用 GDB、Ghidra、Angr、SecOps 等服务器,规划层本身不能直接执行命令。信任边界落在模型输出与工具环境之间,必要条件是工具调用须通过严格类型校验;后果是畸形动作在到达环境前被拒绝,降低直接管道执行带来的脆弱性。

    原文依据 · 3

    中文译文

    d 每次工具调用后返回的观察结果。核心设计选择是将智能体的动作空间限制为符合架构的工具调用,从而在格式错误的操作到达环境之前将其拒绝。 III-A 架构 如图 1 所示,该系统是一个包含三层的闭环控制器。 推理层使用 Claude Sonnet 4.5 作为规划器,并通过系统提示设定其自主操作员的角色。它会制定高层策略,但不能直接执行命令。 协议层将 MCP 实现为架构验证器,强制执行严格的类型

    原文引文

    d observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment. III-A Architecture As shown in Fig. 1, the system is a closed-loop controller with three layers. The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly. The Protocol Layer implements MCP as a schema validator, enforcing strict typing
    查看原文 · v1

    中文译文

    uently 虚构不存在的命令行选项或软件包(这种供应链风险称为 slopsquatting [6])。在长周期任务中,“上下文漂移”会使智能体无法跟踪早期侦察数据 [7, 8],从而陷入重复且失败的尝试循环。 为了解决这些局限,我们提出 STRIATUM-CTF,11 1 摘自“用于战术效用最大化的基于搜索的测试时推理智能体”;我们仅将 STRIATUM 用作系统名称。该智能体框架通过模型上下文协议(MCP)[9],协调 LLM 推理与工具执行。该 L

    原文引文

    uently inventing non-existent command-line options or software packages (the supply-chain risk known as slopsquatting [6]). On long-horizon tasks, “context drift” causes the agent to lose track of early reconnaissance data [7, 8], producing loops of redundant, failed attempts. To address these limitations, we introduce STRIATUM-CTF,11 1 From “Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization”; we use STRIATUM simply as the system’s name. an agentic framework that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP) [9]. The L
    查看原文 · v1

    中文译文

    由于未保留构建标识符。实验在一台 Ubuntu 22.04 LTS 虚拟机上运行(16 GB 内存、8 个 CPU 核心),该虚拟机托管于一台搭载 Intel i9-14900HX 的系统上。MCP 生态系统结合了社区服务器和自定义服务器:GDB 服务器(mcp-gdb v0.1.1 [28])、Ghidra 服务器(GhidraMCP v1.4 [29],搭配 Ghidra 11.4.2)、一个封装 angr 9.2.176 的自定义 Angr 服务器、一个 SecOps 服务器(secops-mcp [30])、一个自定义命令执行服务器,以及标准 MCP 文件系统服务器。我们使用 Linux 社区版 Claude Desktop55 5 [源链接](构建版本 0.13.37)作为宿主。 IV-B

    原文引文

    s, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55 5 https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host. IV-B
    查看原文 · v1

关联资产

  • 原文示明的关联资产为 Claude Sonnet 4.5 规划模型、MCP 协议层、mcp-gdb v0.1.1、GhidraMCP v1.4 与 Ghidra 11.4.2、angr 9.2.176、secops-mcp、自定义命令执行服务器、标准 MCP 文件系统服务器及 Claude Desktop for Linux build 0.13.37 宿主。适用前提是部署于同类六服务器 MCP 组合、以 schema 校验中介工具调用的自主 CTF 或攻防编排环境;未提供本地资产清单,未做本地匹配。

    原文依据 · 3

    中文译文

    由于未保留构建标识符。实验在一台 Ubuntu 22.04 LTS 虚拟机上运行(16 GB 内存、8 个 CPU 核心),该虚拟机托管于一台搭载 Intel i9-14900HX 的系统上。MCP 生态系统结合了社区服务器和自定义服务器:GDB 服务器(mcp-gdb v0.1.1 [28])、Ghidra 服务器(GhidraMCP v1.4 [29],搭配 Ghidra 11.4.2)、一个封装 angr 9.2.176 的自定义 Angr 服务器、一个 SecOps 服务器(secops-mcp [30])、一个自定义命令执行服务器,以及标准 MCP 文件系统服务器。我们使用 Linux 社区版 Claude Desktop55 5 [源链接](构建版本 0.13.37)作为宿主。 IV-B

    原文引文

    s, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55 5 https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host. IV-B
    查看原文 · v1

    中文译文

    d 每次工具调用后返回的观察结果。核心设计选择是将智能体的动作空间限制为符合架构的工具调用,从而在格式错误的操作到达环境之前将其拒绝。 III-A 架构 如图 1 所示,该系统是一个包含三层的闭环控制器。 推理层使用 Claude Sonnet 4.5 作为规划器,并通过系统提示设定其自主操作员的角色。它会制定高层策略,但不能直接执行命令。 协议层将 MCP 实现为架构验证器,强制执行严格的类型

    原文引文

    d observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment. III-A Architecture As shown in Fig. 1, the system is a closed-loop controller with three layers. The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly. The Protocol Layer implements MCP as a schema validator, enforcing strict typing
    查看原文 · v1

    中文译文

    以 215 分领先,超过最强的人类团队;人类团队中第二名得 205 分,第三名得 200 分,其余团队得分均低于 135 分。在解释这一结果之前,我们先说明其适用范围:这是一场尚未复现的单次事件,第一名与第三名之间相差 15 分;并且运行结果并非确定——在受控研究的 15 项挑战中,有 5 项在相同条件下产生了不同结果——因此,这表明其具备可行性,而非在统计上优于人类专家。为便于复现,我们记录了实际运行配置。该智能体运行在相同的六服务器 MCP ……

    原文引文

    th 215 points, ahead of the strongest human teams at 205 (second) and 200 (third); the remaining teams scored below 135. We state the scope of this result before interpreting it: it is a single, non-replicated event with a 15-point margin separating first from third, and run outcomes were not deterministic—identical conditions produced different outcomes on five of the fifteen challenges in the controlled study—so it demonstrates feasibility rather than statistical superiority over human experts. For replicability we record the live-run configuration. The agent ran on the same six-server MCP s
    查看原文 · v1

风险评估

  • 已报道的风险机制包括:朴素智能体把模型输出直接送入 shell,产生畸形命令;模型虚构不存在的命令行选项或软件包,形成 slopsquatting 供应链风险;长任务中 context drift 使早期侦察数据丢失,产生冗余失败循环。触发条件是长时程、多工具链式任务且缺少协议中介。防护优先级应放在动作空间约束与工具调用校验,其次才是提示与文档调优。

    原文依据 · 3

    中文译文

    单位:美国佛罗里达州塔拉哈西,佛罗里达州立大学计算机科学系 电子邮件:jah21e@fsu.edu、sj21j@fsu.edu、dawson.stoller@aol.com、res22f@fsu.edu、xliu@fsu.edu 单位:1这些作者贡献相同。 摘要 自主网络行动越来越依赖能够跨多种工具串联侦察、利用和分析,并在漫长任务过程中维持状态的智能体。大型语言模型(LLM)有望成为这一工作流程的编排者,但将模型输出直接传入 shell 的朴素智能体并不可靠:它们会生成格式错误的命令,

    原文引文

    Affiliation: Department of Computer Science, Florida State University, Tallahassee, USA Email: jah21e@fsu.edu, sj21j@fsu.edu, dawson.stoller@aol.com, res22f@fsu.edu, xliu@fsu.edu Affiliation: 1These authors contributed equally. Abstract Autonomous cyber operations increasingly depend on agents that can chain reconnaissance, exploitation, and analysis across many tools while maintaining state over long task horizons. Large Language Models (LLMs) are promising orchestrators for this workflow, but naive agents that pipe model output directly into a shell are brittle: they emit malformed commands,
    查看原文 · v1

    中文译文

    uently 虚构不存在的命令行选项或软件包(这种供应链风险称为 slopsquatting [6])。在长周期任务中,“上下文漂移”会使智能体无法跟踪早期侦察数据 [7, 8],从而陷入重复且失败的尝试循环。 为了解决这些局限,我们提出 STRIATUM-CTF,11 1 摘自“用于战术效用最大化的基于搜索的测试时推理智能体”;我们仅将 STRIATUM 用作系统名称。该智能体框架通过模型上下文协议(MCP)[9],协调 LLM 推理与工具执行。该 L

    原文引文

    uently inventing non-existent command-line options or software packages (the supply-chain risk known as slopsquatting [6]). On long-horizon tasks, “context drift” causes the agent to lose track of early reconnaissance data [7, 8], producing loops of redundant, failed attempts. To address these limitations, we introduce STRIATUM-CTF,11 1 From “Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization”; we use STRIATUM simply as the system’s name. an agentic framework that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP) [9]. The L
    查看原文 · v1

    中文译文

    工具。然而,早期的自主安全代理面临架构层面的障碍 [3]。现有方法大致分为两类:“副驾驶”需要人类持续提示,而“天真的自主代理”则会将模型输出直接传入 shell [4]。

    原文引文

    tools. However, early autonomous security agents face architectural hurdles [3]. Existing methods largely fall into two categories: “copilots” that require constant human prompting, and “naive autonomous agents” that pipe model output into a shell [4].
    查看原文 · v1

相关研究

  • 研究方法是构建三层闭环控制器(推理层、协议层、工具层),把动作空间限制为 schema 合法的工具调用,并将 Angr 符号执行与 GDB 动态调试作为上下文内工具暴露。作者明确说明实验固定工具层,因此无法把结果归因于协议层,schema 中介接地仅作为有定性支持的设计原则呈现;配套研究对同一 180 次运行作 Agent Skills 评估并得到互补的零结果。

    原文依据 · 3

    中文译文

    ……性证据,而非测得的效果:此处报告的实验在所有条件下均保持工具层不变,因此无法将结果归因于协议层(第 V-A 和 V-C 节); 2) 集成专用分析原语:我们将符号执行(Angr)和动态调试(GDB)作为上下文工具提供,用于二进制分析和漏洞利用生成;以及

    原文引文

    ive evidence, not as a measured effect: the experiments reported here hold the tool layer fixed across all conditions and therefore cannot attribute outcomes to the protocol layer (Sections V-A and V-C); 2) Integration of specialized analysis primitives: we expose symbolic execution (Angr) and dynamic debugging (GDB) as in-context tools for binary analysis and exploit generation; and
    查看原文 · v1

    中文译文

    d 每次工具调用后返回的观察结果。核心设计选择是将智能体的动作空间限制为符合架构的工具调用,从而在格式错误的操作到达环境之前将其拒绝。 III-A 架构 如图 1 所示,该系统是一个包含三层的闭环控制器。 推理层使用 Claude Sonnet 4.5 作为规划器,并通过系统提示设定其自主操作员的角色。它会制定高层策略,但不能直接执行命令。 协议层将 MCP 实现为架构验证器,强制执行严格的类型

    原文引文

    d observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment. III-A Architecture As shown in Fig. 1, the system is a closed-loop controller with three layers. The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly. The Protocol Layer implements MCP as a schema validator, enforcing strict typing
    查看原文 · v1

    中文译文

    在随附文档令牌方面取得……,并在一场由多支队伍参加的现场 CTF 中击败人类队伍获得第一名,且报告明确说明了统计范围。 一项配套研究 [12] 重新分析了相同的 180 次运行,将其作为对 Agent Skills 的评估——即附加到智能体上下文中的结构化程序性知识包——并得出了互补的无效结果;本文报告的系统架构、逐项挑战分析和现场竞赛评估并未出现在该研究中。我们将在发表后公开代码、挑战集、逐次运行结果数据和分析脚本,以支持复现。22 2 h

    原文引文

    on in attached documentation tokens, and a first-place finish in a live, multi-team CTF against human teams, reported with explicit statistical scope. A companion study [12] re-analyzes the same 180 runs as an evaluation of Agent Skills---structured procedural-knowledge packages attached to an agent’s context---and reaches a complementary null result; the system architecture, per-challenge analysis, and live-competition evaluation reported here do not appear there. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.22 2 h
    查看原文 · v1

验证资料

  • 来源报告的实验环境为 Ubuntu 22.04 LTS 虚拟机(16 GB RAM、8 CPU 核),MCP 生态含 mcp-gdb v0.1.1、GhidraMCP v1.4 配 Ghidra 11.4.2、包装 angr 9.2.176 的自定义 Angr 服务器、secops-mcp、自定义命令执行服务器与标准 MCP 文件系统服务器,宿主为 Claude Desktop for Linux build 0.13.37。每条件 18 次试验,作者自评对相应量级差异功效不足;成功运行中 Minimal 平均解题 8.7 分钟对 10.5 分钟。防御性核查可对照上述版本与配置,并观察未返回的工具调用是否耗尽运行时间预算。

    原文依据 · 3

    中文译文

    由于未保留构建标识符。实验在一台 Ubuntu 22.04 LTS 虚拟机上运行(16 GB 内存、8 个 CPU 核心),该虚拟机托管于一台搭载 Intel i9-14900HX 的系统上。MCP 生态系统结合了社区服务器和自定义服务器:GDB 服务器(mcp-gdb v0.1.1 [28])、Ghidra 服务器(GhidraMCP v1.4 [29],搭配 Ghidra 11.4.2)、一个封装 angr 9.2.176 的自定义 Angr 服务器、一个 SecOps 服务器(secops-mcp [30])、一个自定义命令执行服务器,以及标准 MCP 文件系统服务器。我们使用 Linux 社区版 Claude Desktop55 5 [源链接](构建版本 0.13.37)作为宿主。 IV-B

    原文引文

    s, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55 5 https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host. IV-B
    查看原文 · v1

    中文译文

    ……可视为已证实的小效应:每种条件仅有 18 次试验,因此本研究对于检测该量级的差异而言统计功效不足。其次,汇总结果中的大部分差异来自单个内存破坏挑战(sample7),只有完整文档条件成功解决了该挑战。第三,差异并非都对 Baseline 有利:在 power_analysis_2 上,Minimal 条件成功 3/3 次,而 Baseline 成功 1/3 次;在 sample2 上,Templates(2/3)的表现优于 Baseline(1/3)。耗时也呈现出一致的结果:仅统计成功运行时,Minimal 的平均解题时间最短(8.7 分钟,而 Baseline 为 10.5

    原文引文

    as a demonstrated small effect: with 18 trials per condition the study is underpowered against differences of that magnitude. Second, most of the aggregate spread comes from a single memory-corruption challenge (sample7) that only the full-documentation condition solved. Third, the differences are not uniformly in Baseline’s favor: on power_analysis_2 the Minimal condition succeeded 3/3 while Baseline succeeded 1/3, and on sample2 Templates (2/3) outperformed Baseline (1/3). Durations tell a consistent story: among successful runs only, Minimal had the lowest mean solve time (8.7 min vs. 10.5
    查看原文 · v1

    中文译文

    ……的设计可以正确提供该数字。上述挂起故障模式还带来另一个注意事项:由于未返回的工具调用会消耗一次运行的时间预算,一些记录到的失败反映的是工具服务器的可用性,而非智能体的推理能力。这会引入与文档操纵无关的变异性,也进一步说明,应将零结果视为缺乏证据,而非已证明两者等效。 V-B 对防御与教育的启示 如果我们的结果和 CAI [27] 的结果能够复现,其对防御者和教育工作者的影响将立即……

    原文引文

    ed design that would supply that number properly. A further caveat follows from the hang failure mode described above: because an unreturned tool call consumes a run’s time budget, some recorded failures reflect tool-server availability rather than the agent’s reasoning. This adds variance that is unrelated to the documentation manipulation, and is a further reason to read the null result as absence of evidence rather than as demonstrated equivalence. V-B Implications for Defense and Education If results like ours and CAI’s [27] replicate, the consequences for defenders and educators are immed
    查看原文 · v1

处置建议

  • 先按来源事实收紧执行边界:在模型与工具之间保留 MCP schema 校验层,拒绝非法工具调用,并限制规划层直接执行命令的能力,对应畸形命令与 slopsquatting 风险。随后核查工具服务器版本与宿主构建是否与报告一致,监测未返回工具调用对时间预算的消耗,因其被作者列为与文档操纵无关的方差来源。最后按作者承诺的代码、题目集与逐次运行数据规划回归复现,把零结果读作证据缺失而非等价性结论。

    原文依据 · 3

    中文译文

    d 每次工具调用后返回的观察结果。核心设计选择是将智能体的动作空间限制为符合架构的工具调用,从而在格式错误的操作到达环境之前将其拒绝。 III-A 架构 如图 1 所示,该系统是一个包含三层的闭环控制器。 推理层使用 Claude Sonnet 4.5 作为规划器,并通过系统提示设定其自主操作员的角色。它会制定高层策略,但不能直接执行命令。 协议层将 MCP 实现为架构验证器,强制执行严格的类型

    原文引文

    d observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment. III-A Architecture As shown in Fig. 1, the system is a closed-loop controller with three layers. The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly. The Protocol Layer implements MCP as a schema validator, enforcing strict typing
    查看原文 · v1

    中文译文

    ……的设计可以正确提供该数字。上述挂起故障模式还带来另一个注意事项:由于未返回的工具调用会消耗一次运行的时间预算,一些记录到的失败反映的是工具服务器的可用性,而非智能体的推理能力。这会引入与文档操纵无关的变异性,也进一步说明,应将零结果视为缺乏证据,而非已证明两者等效。 V-B 对防御与教育的启示 如果我们的结果和 CAI [27] 的结果能够复现,其对防御者和教育工作者的影响将立即……

    原文引文

    ed design that would supply that number properly. A further caveat follows from the hang failure mode described above: because an unreturned tool call consumes a run’s time budget, some recorded failures reflect tool-server availability rather than the agent’s reasoning. This adds variance that is unrelated to the documentation manipulation, and is a further reason to read the null result as absence of evidence rather than as demonstrated equivalence. V-B Implications for Defense and Education If results like ours and CAI’s [27] replicate, the consequences for defenders and educators are immed
    查看原文 · v1

    中文译文

    在随附文档令牌方面取得……,并在一场由多支队伍参加的现场 CTF 中击败人类队伍获得第一名,且报告明确说明了统计范围。 一项配套研究 [12] 重新分析了相同的 180 次运行,将其作为对 Agent Skills 的评估——即附加到智能体上下文中的结构化程序性知识包——并得出了互补的无效结果;本文报告的系统架构、逐项挑战分析和现场竞赛评估并未出现在该研究中。我们将在发表后公开代码、挑战集、逐次运行结果数据和分析脚本,以支持复现。22 2 h

    原文引文

    on in attached documentation tokens, and a first-place finish in a live, multi-team CTF against human teams, reported with explicit statistical scope. A companion study [12] re-analyzes the same 180 runs as an evaluation of Agent Skills---structured procedural-knowledge packages attached to an agent’s context---and reaches a complementary null result; the system architecture, per-challenge analysis, and live-competition evaluation reported here do not appear there. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.22 2 h
    查看原文 · v1
模型与引文记录
模型
deepseek-flash
生成时间
记录编号
REQ-a1171ec0ccd34f3d807b1fd6aa4f9901
分析原文
查看原文 · v1

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

作者
Hugglestone, James、Chacko, Samuel Jacob、Stoller, Dawson、Schmidt, Ryan、Liu, Xiuwen
文献与标准标识
arxiv:2603.22577
来源版本
v2
来源更新时间
2026-10-29T18:13:48+00:00
日期依据
来源明确给出发表日期
采集来源格式
a_622f2d2c978f798f_html
结构化格式
source_html
原始标题与分类记录

STRIATUM-CTF: A Protocol-Driven Agentic Framework for Autonomous CTF Solving

研究方向
攻击方法、防御技术、评测治理
影响维度
机密性、完整性、安全与合规
风险类型
隐私泄露、供应链风险、幻觉与可靠性
相关技术
LLM、Agent、工具调用

当前为离线关键词规则模式。

分类规则与原始字段
攻击方法 · attack
tensive. To compromise a target, an analyst enumerates attack surfaces, interprets verbose scanner output, selects exploitation primitives, and iteratively tunes
防御技术 · defense
than as demonstrated equivalence. V-B Implications for Defense and Education If results like ours and CAI’s [27] replicate, the consequences for defenders and edu
评测治理 · benchmark
Results IV-A Dataset and Implementation We assembled a benchmark of 15 CTF challenges from multiple sources: picoCTF33 3 https://picoctf.org. (5 challenges), the of
隐私泄露 · privacy
nary analysis,” in 2016 IEEE symposium on security and privacy (SP), pp. 138–157, IEEE, 2016. [11] National Security Agency, “Ghidra: Software reverse engineering
供应链风险 · vulnerability
er a reasoning–action gap [5], correctly identifying a vulnerability (e.g., SQL injection) yet failing to emit a syntactically valid payload, frequently inventing non-e
幻觉与可靠性 · hallucination
tegies such as Chain-of-Thought [16] still suffer from hallucination, confidently emitting syntactically invalid commands. We instead treat the protocol interface as a
机密性 · privacy
nary analysis,” in 2016 IEEE symposium on security and privacy (SP), pp. 138–157, IEEE, 2016. [11] National Security Agency, “Ghidra: Software reverse engineering
完整性 · injection
 [5], correctly identifying a vulnerability (e.g., SQL injection) yet failing to emit a syntactically valid payload, frequently inventing non-existent command-line
安全与合规 · safety
ly typed, schema-validated functions that enforce type safety and reduce token overhead. The Protocol Layer’s constraints bite on these typed functions; the comm
LLM · llm
r Capture-the-Flag (CTF) solving that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP). Offensive-security tools are e
Agent · agent
execution and returns structured observations that the agent uses to self-correct. We evaluate the system in two ways. In a controlled study of 180 runs across
工具调用 · tool use
roaches such as Toolformer [14] and Gorilla [15] baked tool use into the model via fine-tuning, a strategy that becomes brittle as APIs change. Purely neural reaso
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 678,
        "location": "title_and_content",
        "quote": "Large Language Models",
        "rule": "ai_term",
        "start_offset": 657
      },
      {
        "end_offset": 684,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 680
      },
      {
        "end_offset": 1074,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 1071
      },
      {
        "end_offset": 2499,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 2496
      },
      {
        "end_offset": 3217,
        "location": "title_and_content",
        "quote": "Large Language Models",
        "rule": "ai_term",
        "start_offset": 3196
      },
      {
        "end_offset": 3223,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 3219
      },
      {
        "end_offset": 4296,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 4293
      },
      {
        "end_offset": 4377,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 4374
      },
      {
        "end_offset": 5172,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 5169
      },
      {
        "end_offset": 7865,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 7862
      },
      {
        "end_offset": 31713,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 31710
      },
      {
        "end_offset": 34927,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 34923
      },
      {
        "end_offset": 35105,
        "location": "title_and_content",
        "quote": "large language models",
        "rule": "ai_term",
        "start_offset": 35084
      },
      {
        "end_offset": 36674,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 36671
      },
      {
        "end_offset": 37956,
        "location": "title_and_content",
        "quote": "large language models",
        "rule": "ai_term",
        "start_offset": 37935
      },
      {
        "end_offset": 38471,
        "location": "title_and_content",
        "quote": "large language model",
        "rule": "ai_term",
        "start_offset": 38451
      },
      {
        "end_offset": 39151,
        "location": "title_and_content",
        "quote": "Machine Learning",
        "rule": "ai_term",
        "start_offset": 39135
      },
      {
        "end_offset": 39289,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 39285
      },
      {
        "end_offset": 39677,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 39674
      }
    ],
    "matches": [
      {
        "end_offset": 678,
        "location": "title_and_content",
        "quote": "Large Language Models",
        "rule": "ai_term",
        "start_offset": 657
      },
      {
        "end_offset": 684,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 680
      },
      {
        "end_offset": 1074,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 1071
      },
      {
        "end_offset": 2499,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 2496
      },
      {
        "end_offset": 3217,
        "location": "title_and_content",
        "quote": "Large Language Models",
        "rule": "ai_term",
        "start_offset": 3196
      },
      {
        "end_offset": 3223,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 3219
      },
      {
        "end_offset": 4296,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 4293
      },
      {
        "end_offset": 4377,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 4374
      },
      {
        "end_offset": 5172,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 5169
      },
      {
        "end_offset": 7865,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 7862
      },
      {
        "end_offset": 31713,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 31710
      },
      {
        "end_offset": 34927,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 34923
      },
      {
        "end_offset": 35105,
        "location": "title_and_content",
        "quote": "large language models",
        "rule": "ai_term",
        "start_offset": 35084
      },
      {
        "end_offset": 36674,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 36671
      },
      {
        "end_offset": 37956,
        "location": "title_and_content",
        "quote": "large language models",
        "rule": "ai_term",
        "start_offset": 37935
      },
      {
        "end_offset": 38471,
        "location": "title_and_content",
        "quote": "large language model",
        "rule": "ai_term",
        "start_offset": 38451
      },
      {
        "end_offset": 39151,
        "location": "title_and_content",
        "quote": "Machine Learning",
        "rule": "ai_term",
        "start_offset": 39135
      },
      {
        "end_offset": 39289,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 39285
      },
      {
        "end_offset": 39677,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 39674
      }
    ],
    "method": "explainable_keyword_rules",
    "reason": "Matched AI topic or component evidence",
    "relevant": true
  },
  "entity_ids": [],
  "facts": [],
  "method": "source_grounded_extraction",
  "unknown_fields": [
    "affected_products",
    "affected_versions",
    "fixed_versions",
    "cvss",
    "mitigations",
    "references",
    "papers",
    "poc"
  ]
}
原始采集文本
STRIATUM-CTF: A Protocol-Driven Agentic Framework for Autonomous CTF Solving
James Hugglestone1,
Samuel Jacob Chacko1,
Dawson Stoller,
Ryan Schmidt,
Xiuwen Liu
Affiliation: Department of Computer Science, Florida State University, Tallahassee, USA
Email: jah21e@fsu.edu, sj21j@fsu.edu, dawson.stoller@aol.com, res22f@fsu.edu, xliu@fsu.edu
Affiliation: 1These authors contributed equally.
Abstract
Autonomous cyber operations increasingly depend on agents that can chain reconnaissance, exploitation, and analysis across many tools while maintaining state over long task horizons. Large Language Models (LLMs) are promising orchestrators for this workflow, but naive agents that pipe model output directly into a shell are brittle: they emit malformed commands, hallucinate non-existent command-line options or packages, and lose track of earlier findings as the context window fills. We present STRIATUM-CTF, a modular agentic framework for Capture-the-Flag (CTF) solving that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP). Offensive-security tools are exposed as strictly typed, schema-validated functions; the protocol layer rejects out-of-schema tool calls before execution and returns structured observations that the agent uses to self-correct. We evaluate the system in two ways. In a controlled study of 180 runs across 15 CTF challenges under four levels of attached procedural documentation, the system succeeds on 77.8–86.7% of attempts; notably, a schema-only configuration with no procedural documentation already reaches 77.8%, and no condition differs significantly from another. In a single live, multi-team CTF at Florida State University, the system placed first against a field of more than 30 registered teams—a single, non-replicated event decided by a 10-point margin over the runner-up, and therefore a demonstration of feasibility rather than of superiority over human experts. Because all four ablation conditions share the same tool layer, our controlled study isolates documentation volume rather than the protocol layer itself; we accordingly present schema-mediated grounding as a design principle with qualitative support rather than as a measured effect. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.
Index Terms: Autonomous cyber operations, Model Context Protocol, LLM agents, tool-augmented generation, capture-the-flag, offensive security.
I Introduction
Offensive security assessments, including penetration testing, red-teaming, and Capture-the-Flag (CTF) competitions, remain predominantly manual and labor-intensive. To compromise a target, an analyst enumerates attack surfaces, interprets verbose scanner output, selects exploitation primitives, and iteratively tunes payloads. While powerful tools exist for individual phases (e.g., Nmap, Ghidra, Hashcat), orchestrating them remains a cognitive bottleneck. Human operators act as the “glue,” manually moving data between tools, a process prone to error and cognitive biases such as confirmation bias [1].
Large Language Models (LLMs) [2] can process unstructured text and generate code, making them well suited to automate the high-level reasoning that connects these tools. However, early autonomous security agents face architectural hurdles [3]. Existing methods largely fall into two categories: “copilots” that require constant human prompting, and “naive autonomous agents” that pipe model output into a shell [4]. Models often suffer a reasoning–action gap [5], correctly identifying a vulnerability (e.g., SQL injection) yet failing to emit a syntactically valid payload, frequently inventing non-existent command-line options or software packages (the supply-chain risk known as slopsquatting [6]). On long-horizon tasks, “context drift” causes the agent to lose track of early reconnaissance data [7, 8], producing loops of redundant, failed attempts.
To address these limitations, we introduce STRIATUM-CTF,11
1
From “Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization”; we use STRIATUM simply as the system’s name. an agentic framework that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP) [9]. The LLM never executes directly: it emits structured tool calls that the protocol layer validates against a schema and runs, returning typed results rather than free-form text. Internally, the agent is equipped with offensive primitives including symbolic execution via Angr [10], static analysis with Ghidra [11], and runtime debugging through GDB. Externally, the environment exposes reconnaissance and exploitation utilities such as Nmap, Nuclei, FFUF, and TLSX. Given a high-level objective, STRIATUM-CTF formulates a multi-step plan, invokes tools via structured MCP calls, parses error streams to self-correct, and iterates until the objective is met or the search budget is exhausted.
This paper makes three contributions:
1) A protocol-driven agentic architecture: we use MCP to standardize LLM interaction with offensive-security tools, rejecting out-of-schema (malformed) tool invocations before execution and enabling error recovery through structured feedback. We advance this as a design principle supported by qualitative evidence, not as a measured effect: the experiments reported here hold the tool layer fixed across all conditions and therefore cannot attribute outcomes to the protocol layer (Sections V-A and V-C);
2) Integration of specialized analysis primitives: we expose symbolic execution (Angr) and dynamic debugging (GDB) as in-context tools for binary analysis and exploit generation; and
3) Two-pronged evaluation: a 180-run controlled ablation, reported per-challenge, showing performance is robust to a roughly 60×60\times reduction in attached documentation tokens, and a first-place finish in a live, multi-team CTF against human teams, reported with explicit statistical scope.
A companion study [12] re-analyzes the same 180 runs as an evaluation of Agent Skills---structured procedural-knowledge packages attached to an agent’s context---and reaches a complementary null result; the system architecture, per-challenge analysis, and live-competition evaluation reported here do not appear there. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.22
2
https://github.com/jawh3/striatum-ctf.
II Related Work
Test-time compute and tool-augmented generation.
Modern agents scale test-time compute, allocating computation to iterative reasoning during inference [13]. Early approaches such as Toolformer [14] and Gorilla [15] baked tool use into the model via fine-tuning, a strategy that becomes brittle as APIs change. Purely neural reasoning strategies such as Chain-of-Thought [16] still suffer from hallucination, confidently emitting syntactically invalid commands. We instead treat the protocol interface as a hard constraint layer, analogous to grammar-constrained decoding [17, 18], grounding the model’s reasoning in verified system feedback.
Long-horizon reasoning.
Methods such as ReAct [19] interleave reasoning traces with actions but rely on the context window to hold the full interaction history. In long-horizon settings such as CTF competitions, attention to early-state constraints degrades as the window fills [7], and a single hallucinated path or misread port scan at step tt becomes ground truth at step t+1t{+}1, cascading into error propagation [20]. By treating the environment, rather than the token window, as the primary source of truth, STRIATUM-CTF keeps the model focused on the immediate tactical decision.
Automated offensive-security and CTF agents.
LLM deployment in offensive security has largely followed a “copilot” paradigm. PentestGPT [21] decomposes objectives with a Pentesting Task Tree but keeps a human in the loop to execute generated commands and paste output back, introducing a latency bottleneck that throttles the reasoning loop. Concurrent toolkits such as PentestMCP [22] expose agent-based penetration-testing tools. For CTF specifically, EnIGMA [23] introduces interactive agent–computer interfaces and reaches state-of-the-art results on static benchmarks such as NYU CTF Bench [24] and InterCode-CTF [25], while teams of agents have been shown to exploit real vulnerabilities [26]. Concurrently with our work, the CAI agent won a mixed AI-and-human CTF event using a specialized model architecture [27]. STRIATUM-CTF differs from these systems in three ways: it is built entirely from a commodity general-purpose model and off-the-shelf MCP tool servers rather than a specialized model; it replaces the human verifier with deterministic schema validation at the MCP layer, enabling machine-speed iteration; and it is evaluated not only on static benchmarks but in a live, ephemeral competition whose field was composed entirely of human teams, which reduces—though a single event does not eliminate—the contamination risk inherent to published benchmarks (Section V-A).
Fig. 1: High-level architecture. The system places a validating Protocol Layer between probabilistic reasoning and deterministic execution. The Reasoning Layer (left) emits JSON tool calls that pass through the Protocol Layer (center), which enforces schema validation and rejects malformed calls before invoking tools in the Execution Layer (right). System feedback (stdout/stderr) is structurally parsed and re-injected into the context window, grounding the agent’s state in verifiable observations.
III Methodology
We treat CTF solving as sequential decision-making under partial observability: the agent cannot directly observe the target’s internal state (e.g., memory layout, open ports) and must act on structured observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment.
III-A Architecture
As shown in Fig. 1, the system is a closed-loop controller with three layers.
The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly.
The Protocol Layer implements MCP as a schema validator, enforcing strict typing on every tool call (e.g., requiring a port number to be an integer in [1,65535][1,65535]). A syntactically invalid call is rejected before it reaches the sandbox.
The Execution Layer consists of security tools (Angr, Ghidra, GDB, and reconnaissance utilities) wrapped in MCP servers, executing in a sandboxed virtual machine and returning structured JSON observations.
III-B Operational Definitions
We use hallucination to denote a tool invocation that is syntactically malformed or references a non-existent tool, option, or parameter; such calls are exactly what the Protocol Layer rejects before execution. We distinguish this from a functional error, where a well-formed action is semantically wrong (e.g., an incorrect return-address offset); functional errors reach the environment and must be corrected from feedback.
III-C The MCP Toolbox
Alongside a general-purpose command-execution tool, we expose the core analysis primitives as strictly typed, schema-validated functions that enforce type safety and reduce token overhead. The Protocol Layer’s constraints bite on these typed functions; the command tool is minimally constrained, and isolating the typed interface’s contribution over a raw shell is the comparison we outline in Section V-C. For symbolic and static analysis, we integrate Angr and Ghidra through atomic functions such as solve_path(addr, cond) and get_xrefs(func_name); the Protocol Layer enforces input constraints (e.g., valid hexadecimal addresses) and returns either an UNSAT verdict or the satisfying stdin input, abstracting away simulation-state management. For dynamic analysis, a GDB wrapper provides inspect_heap(count), transforming raw memory dumps into structured JSON. Reconnaissance operations (via Nmap) are gated by allow-lists restricting execution to in-scope IPv4 ranges and pre-approved binaries.
III-D Control Loop
The agent follows a recursive four-step loop. It plans, decomposing the objective into a queue of atomic tasks that are dynamically re-ordered as observations arrive. It executes, emitting a JSON payload that the Protocol Layer either rejects—a “circuit breaker” against malformed parameters—or forwards. It parses the returned JSON to extract salient fields (open ports, gadget offsets, memory leaks) while discarding irrelevant data to conserve context. It then iterates, evaluating the prior action and refining subsequent steps, or terminating when the objective is met.
IV Experimental Setup and Results
IV-A Dataset and Implementation
We assembled a benchmark of 15 CTF challenges from multiple sources: picoCTF33
3
https://picoctf.org. (5 challenges), the official angr.io tutorials44
4
https://github.com/angr/angr-doc. (3 challenges), an archived university CTF (1 challenge), and legacy challenges from internal repositories (6 challenges) for which complete provenance metadata is unavailable. Table I summarizes the distribution across categories. The set is intentionally heterogeneous, spanning distinct reasoning chains (e.g., heap traversal vs. side-channel timing); its modest size (N=15N=15) reflects the manual effort of ground-truth analysis and is a stated limitation (Section V-A).
TABLE I: Benchmark dataset composition by category.
Category
Challenges
Memory Corruption
4
Reverse Engineering
4
Web Exploitation
4
Cryptography
3
Total
15
All experiments used Claude Sonnet 4.5 with extended thinking enabled. No sampling parameters were set by the operator; the host’s defaults applied, and we are not aware of published values for them. We record the backbone as the model was identified to us, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55
5
https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host.
IV-B Documentation Ablation
To test how much performance depends on attached procedural documentation—files placed in Claude Desktop’s project workspace and loaded directly into the model’s context rather than retrieved (no retrieval-augmented generation)—we evaluated four conditions of increasing richness while holding the model and tool layer fixed. The conditions span from minimal tool schemas to comprehensive guidance (line and token counts in Table II).
Minimal (55 lines) provides only MCP server definitions and tool schemas, and serves as the control.
Lessons (1,478 lines) adds lessons distilled from prior debugging sessions plus an automated triage classifier, but no structured templates.
Templates (1,976 lines) provides a structured, phase-based solving protocol with attack templates indexed by vulnerability type, plus triage.
Baseline (4,147 lines), the system’s original full configuration (hence the name), is the union of Lessons and Templates plus orchestration and navigation documents.
Each challenge was attempted three times per condition, yielding 15×4×3=18015\times 4\times 3=180 runs.
IV-B1 Evaluation protocol
Each run was capped at 60 minutes within a single conversation, the condition’s documentation loaded once at the start. At roughly ten-minute intervals the operator interrupted the model and sent the token “Continue” to resume work in the same conversation—nothing was reset or re-loaded, and operator input never included hints, solution steps, or task-specific reasoning. A run counted as successful only if the agent produced a working exploit recovering the correct flag within the limit, regardless of intermediate failures; reading the flag without a reproducing exploit did not count. A few runs were invalidated and restarted when the agent read a prior run’s workspace; e.g., one Templates run on sqli_revenge was restarted after it opened a previous run’s notes.
IV-C Results
Table II reports per-condition success rates with Wilson 95% confidence intervals; Table III gives the per-challenge outcome matrix. Success rate increases monotonically with documentation, from 77.8% (Minimal) to 86.7% (Baseline), but the intervals overlap substantially and the differences are not significant: a χ2\chi^{2} test of independence on the 4×24\times 2 outcome table returns χ2​(3,N=180)=1.36\chi^{2}(3,N{=}180)=1.36, p=0.71p=0.71, and a Kruskal–Wallis test on the solve-duration distributions (timed-out runs at the 60-minute cap) returns p=0.77p=0.77. Pairwise effect sizes, measured with Cohen’s hh (the appropriate statistic for proportions), are small in every case, the largest being Baseline vs. Minimal at h=0.23h=0.23. Because trials are correlated within challenges, a generalized-estimating-equations logistic model with challenge-level clustering likewise finds no condition effect (Wald χ2​(3)=3.77\chi^{2}(3){=}3.77, p=0.29p{=}0.29). These tests indicate absence of evidence for a difference, not demonstrated equivalence.
TABLE II: Performance across documentation conditions (3 trials per challenge per condition; 180 runs). CI is the 95% Wilson-score interval. Mean Time is the mean wall-clock minutes per run, with timed-out (unsolved) runs counted at the 60-minute cap; it therefore tracks success rate rather than per-solve speed.
Condition
Lines
Tokens
Success
95% CI
Time
Minimal
55
591
77.8% (35/45)
63.7–87.5
20.1
Lessons
1,478
12,865
82.2% (37/45)
68.7–90.7
19.1
Templates
1,976
17,253
84.4% (38/45)
71.2–92.3
18.5
Baseline
4,147
36,001
86.7% (39/45)
73.8–93.7
17.1
TABLE III: Per-challenge successes (out of 3 trials) under each condition: Minimal (Min), Lessons (Les), Templates (Tem), Baseline (Bas). Categories: M = memory corruption, R = reverse engineering, W = web exploitation, C = cryptography.
Challenge
Cat.
Min
Les
Tem
Bas
sample7
M
0
0
0
3
sample3
M
3
3
3
3
sample5
M
3
3
3
3
format_string_3
M
2
3
3
3
sample2
R
0
0
2
1
angrs_00
R
3
3
3
3
angrs_01
R
3
3
3
3
sample6
R
3
3
3
3
sample8
W
3
3
3
3
sqli_revenge
W
2
2
2
2
SSTI2
W
1
2
2
2
input_injection_1
W
3
3
3
3
sample1
C
3
3
3
3
angrs_02
C
3
3
3
3
power_analysis_2
C
3
3
2
1
Total (of 45)
35
37
38
39
The most striking result is that even the Minimal condition, with only 55 lines of tool schemas and no procedural documentation, reaches 77.8%. The system is thus robust to a roughly 60×60\times reduction in attached documentation tokens. Because all four conditions share the same MCP-grounded tool layer, this study isolates the contribution of documentation volume, not of the protocol layer itself; we discuss this distinction, and the controlled non-MCP comparison it motivates, in Sections V-A and V-C.
The per-challenge matrix (Table III) sharpens the aggregate picture in three ways. First, nine of the fifteen challenges were solved on every trial under every condition; all between-condition differences concentrate in the remaining six. Restricting a post-hoc analysis of the same 180 runs to those six non-saturated challenges—which removes the ceiling that compresses the aggregate—leaves the ordering intact and the null unchanged: Minimal 44.4% (8/18), Lessons 55.6% (10/18), Templates 61.1% (11/18), Baseline 66.7% (12/18), with χ2​(3,N=72)=1.98\chi^{2}(3,N{=}72)=1.98, p=0.58p=0.58. The Baseline–Minimal gap does widen to 22.2 pp (h=0.45h=0.45) once the saturated challenges are removed, so this result is properly read as “not distinguishable at this sample size” rather than as a demonstrated small effect: with 18 trials per condition the study is underpowered against differences of that magnitude. Second, most of the aggregate spread comes from a single memory-corruption challenge (sample7) that only the full-documentation condition solved. Third, the differences are not uniformly in Baseline’s favor: on power_analysis_2 the Minimal condition succeeded 3/3 while Baseline succeeded 1/3, and on sample2 Templates (2/3) outperformed Baseline (1/3). Durations tell a consistent story: among successful runs only, Minimal had the lowest mean solve time (8.7 min vs. 10.5 min for Baseline), so the aggregate mean-time advantage of richer documentation comes entirely from fewer timeouts, not faster solves. We therefore caution against reading the monotonic trend as evidence that more documentation reliably helps: operator notes recorded the opposite effect on some runs—under the richest documentation the agent occasionally “forgets things and ignores instructions”—context drift, in which the volume of attached guidance crowds out the agent’s attention to its own state [7].
IV-C1 Case studies
Two challenges illustrate the mechanism. On the timing side-channel challenge sample2, which requires exploiting execution-time variance to recover a PIN, the agent without timing-attack guidance defaulted to symbolic execution, which is ineffective for side channels; only the conditions containing the structured attack templates recovered the PIN at all (2/3 and 1/3, Table III). In contrast, angrs_00 was solved in three minutes or less under every condition, because it maps directly onto the Angr server’s solve_by_output primitive that even the Minimal schema exposes. The value of documentation is thus challenge-dependent, largest for vulnerability classes whose effective approach the tool primitives do not directly suggest. This pattern is consistent with the companion study’s hypothesis that high-bandwidth, schema-validated environment feedback substitutes for procedural guidance, leaving documentation valuable mainly where feedback alone cannot reveal the right approach [12].
IV-C2 Schema-mediated error recovery
We do not measure a hallucination rate quantitatively, because the per-call execution logs from the original runs were not retained (Section V-A); the qualitative structure, however, is visible in our records. Because the Protocol Layer rejects malformed tool calls before execution, a class of errors that would otherwise corrupt downstream state is converted into an immediate, structured rejection the agent can act on by revising the call. Operator notes corroborate self-correction on functional errors as well: on one memory-corruption run the agent recovered from repeated tool-internal timeouts and solved the challenge after 27 minutes once it “fixed itself.” We can, however, name one recurring failure mode we observed that the Protocol Layer does not guard against: hangs—a well-formed, schema-valid call that the server accepted and then never returned from, consuming the run’s remaining time budget. Schema validation constrains the form of a call, not the liveness of the server that answers it, so this class of failure passes through the Protocol Layer untouched. We did not instrument failure modes and therefore report no frequencies, and we do not claim this mode was the most common. A practical corollary for anyone building on this design is that per-call timeouts and server health checks belong alongside schema validation. We present these as qualitative observations; a quantitative comparison of schema-validated versus raw-shell tool interfaces is the most important open measurement, outlined in Section V-C.
IV-D Live CTF Competition
To evaluate the system outside a controlled benchmark, a team using STRIATUM-CTF competed in the Florida State University (FSU) CTF, a live multi-team competition held on November 15, 2025. The event was open to undergraduate and graduate students, most of whom had taken FSU’s “Offensive Computer Security” course; challenges emphasized binary exploitation and web security. More than 30 teams registered and 22 (including ours) solved at least one challenge. Fig. 2 shows the cumulative-solve progression of the top 10 teams over the four-hour event.
Fig. 2: Cumulative challenge solves of the top 10 teams. The autonomous system (Team 186, highlighted) recorded its final solve at minute 233 and ended with the most solves (26 vs. 24); the gray curves are the human teams. Final ranking was determined by points, reported in the text.
STRIATUM-CTF finished first with 215 points, ahead of the strongest human teams at 205 (second) and 200 (third); the remaining teams scored below 135. We state the scope of this result before interpreting it: it is a single, non-replicated event with a 15-point margin separating first from third, and run outcomes were not deterministic—identical conditions produced different outcomes on five of the fifteen challenges in the controlled study—so it demonstrates feasibility rather than statistical superiority over human experts. For replicability we record the live-run configuration. The agent ran on the same six-server MCP stack as the controlled study (verified against a configuration snapshot taken five days after the event), under the same Claude Desktop for Linux build noted above, with extended thinking enabled, and the same backbone and unset sampling parameters noted in Section IV-A. It was deployed with the Baseline documentation set unmodified. We note the chronology: the competition preceded the controlled study by several weeks, so the deployed configuration reflects the system as it then stood rather than a choice informed by the ablation. Together with a concurrent win by a specialized agent in a mixed AI-and-human event [27], this adds evidence that autonomous agents can now win live CTFs outright; distinctively, our result was achieved by a commodity general-purpose model with off-the-shelf MCP tooling, in a field composed entirely of human teams. The agent’s edge came from operating at machine speed—tool calls and output parsing complete without the latency of manual command entry—and from tireless, systematic retrying of failed exploits.
V Discussion
V-A Threats to Validity
We state the scope of our claims explicitly. The controlled study establishes that an MCP-grounded agent solves a large majority of challenges and that this performance is robust to large reductions in attached documentation. Because all four conditions share the same tool layer, the study bounds the effect of documentation volume rather than isolating the protocol layer itself; we therefore treat schema-mediated grounding as a design principle—motivated by the tool-use failure modes discussed earlier and supported by the qualitative error-recovery behavior reported above—whose quantitative causal effect is the object of the schema-versus-shell comparison in Section V-C. Three factors bound generalization. First, the benchmark draws partly on public picoCTF and angr-tutorial material that may overlap the model’s training data and is modest in size (several challenges succeed under every condition), so it characterizes tool integration rather than contamination-free generalization; the live competition complements it on exactly this axis, as its challenges were authored for the event and not previously published and the agent met them only at the start (the authors are associated with the host course but did not write the challenges). Second, the evaluation uses a single backbone (Claude Sonnet 4.5) and reports tool reliability qualitatively. The per-call execution logs were not retained because the runs were conducted interactively in a desktop host that does not persist per-call MCP traces, and no logging proxy was interposed between the client and the tool servers; the instrumentation was an omission in the original design rather than a deliberate exclusion, and Section V-C names the mechanism that closes it. Third, the backbone used in both the controlled study and the live competition is no longer served, so these specific numbers cannot be reproduced exactly on the original model. The artifacts we release therefore support replication of the protocol on current backbones rather than re-execution of the original runs: the tool stack and challenge set are fully specified above, but the backbone itself cannot be reconstituted. We accordingly report the mechanism qualitatively rather than attach a rejection rate obtained from a different model under a different host, which would not describe the results presented here; Section V-C specifies the instrumented design that would supply that number properly. A further caveat follows from the hang failure mode described above: because an unreturned tool call consumes a run’s time budget, some recorded failures reflect tool-server availability rather than the agent’s reasoning. This adds variance that is unrelated to the documentation manipulation, and is a further reason to read the null result as absence of evidence rather than as demonstrated equivalence.
V-B Implications for Defense and Education
If results like ours and CAI’s [27] replicate, the consequences for defenders and educators are immediate. For defenders, autonomous offense at machine speed means detection and response practices calibrated to human attacker tempo are no longer conservative—and the building blocks of such offense (a commodity model, public MCP tool servers) are freely available. For educators, an open-entry CTF can no longer be assumed to measure individual skill: an agent assembled from public components placed first in a field of student teams. The same systems, however, offer scalable sparring partners for offensive-security courses and always-available red-team automation. Course assessments should shift toward proctored or process-oriented evaluation, and defensive curricula should incorporate exercises against agentic adversaries.
V-C Future Work
These caveats define a concrete program. The decisive next experiment would be a 2×K2\times K crossed design that holds the challenge set fixed while crossing the tool interface—schema-validated MCP vs. raw shell, with the same binaries installed in both arms so that capability is held constant and only the typed interface varies—against KK backbones spanning a current frontier proprietary model and an open-weights model of comparable scale, which simultaneously tests model-invariance. Both arms would be instrumented by a stdio proxy interposed between the client and each MCP server, tee-ing every call and its response to a per-run log. That proxy is precisely the component whose absence produced the reporting gap in Section V-A, and it supplies the four metrics the present study cannot: schema-rejection rate, invalid-call rate, tool-call success fraction, and error-recovery latency. Because the primary endpoint is measured per tool call rather than per run, such a design yields substantially more analyzable events per challenge, though the clustering that motivates the model in Section IV-C would still apply. Further natural extensions include benchmarking on community suites such as NYU CTF Bench [24] for direct comparison with prior agents, and reducing MCP’s token overhead through hierarchical context management. We will release the code, challenge set, per-run outcome data, and analysis scripts upon publication to support these extensions.
VI Conclusion
We presented STRIATUM-CTF, an agentic framework that mediates between LLM reasoning and tool execution through the Model Context Protocol, rejecting malformed tool calls before execution and grounding the agent in structured feedback. In a 180-run controlled study the system succeeded on up to 86.7% of attempts and remained robust to a roughly 60×60\times reduction in attached documentation, with no statistically significant difference between conditions; in a single live competition it placed first against human teams. We report these results with explicit scope: protocol-mediated grounding is a practical mechanism for filtering malformed tool calls and enabling machine-speed iteration, but isolating its causal contribution requires the schema-versus-shell comparison we outline as future work. STRIATUM-CTF provides an early, reproducible reference point for protocol-grounded autonomous offensive-security agents.
Ethical Considerations and Responsible Use
All experiments were conducted in authorized, sandboxed settings. Benchmark challenges were public CTF artifacts or instructor-authorized course material, and the live competition was a sanctioned, opt-in event in which our team was a registered participant. The agent’s reconnaissance tools are gated by IPv4 allow-lists and pre-approved-binary lists (Section III) that confine activity to in-scope targets. We acknowledge the dual-use nature of autonomous offensive tooling: capabilities that accelerate defensive red-teaming and security education can also lower the barrier to misuse. We therefore release no exploit payloads or attack-template corpora and follow coordinated disclosure for any novel vulnerability surfaced; quantifying machine-speed offensive capability helps defenders and educators calibrate accordingly.
AI Tools Used
The system under study uses Anthropic’s Claude Sonnet 4.5 as its reasoning engine; this model is the object of study, not an author. Separately, in preparing this manuscript the authors used Anthropic’s Claude for assistance throughout: drafting, revising, editing, and formatting author-written text, and writing and cross-checking the analysis scripts, whose outputs the authors verified against the raw run data. No generative tool produced experimental results, and all research design, experimentation, analysis, claims, and conclusions are the authors’ own. The authors take full responsibility for the entire content of this paper, consistent with IEEE policy.
References
[1]
P. Aggarwal, S. Venkatesan, J. Youzwak, R. Chadha, and C. Gonzalez,
“Discovering cognitive biases in cyber attackers’ network exploitation
activities: A case study,” in Human Factors in Cybersecurity, 15th
International Conference on Applied Human Factors and Ergonomics (AHFE
2024), 2024.
[2]
A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez,
Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” in Proceedings of the 31st International Conference on Neural Information
Processing Systems, pp. 6000–6010, 2017.
[3]
S. B. Hakim, M. Adil, A. Velasquez, S. Xu, and H. H. Song, “Neuro-symbolic
AI for cybersecurity: State of the art, challenges, and opportunities,”
arXiv preprint arXiv:2509.06921, 2025.
[4]
A. Happe and J. Cito, “On the surprising efficacy of LLMs for
penetration-testing,” arXiv preprint arXiv:2507.00829, 2025.
[5]
K. Stechly, K. Valmeekam, and S. Kambhampati, “On the self-verification
limitations of large language models on reasoning and planning tasks,” in
The Thirteenth International Conference on Learning Representations,
2025.
[6]
S. Park, “Slopsquatting: Hallucination in coding agents and vibe coding,”
Trend Micro, 2025.
[7]
N. F. Liu, K. Lin, J. Hewitt, A. Paranjape, M. Bevilacqua, F. Petroni, and
P. Liang, “Lost in the middle: How language models use long contexts,” Transactions of the Association for Computational Linguistics, vol. 12,
pp. 157–173, 2024.
[8]
A. K. Sood, S. Zeadally, and E. Hong, “The paradigm of hallucinations in
AI-driven cybersecurity systems: Understanding taxonomy, classification
outcomes, and mitigations,” Computers and Electrical Engineering,
vol. 124, p. 110307, 2025.
[9]
Anthropic, “Model Context Protocol.”
https://modelcontextprotocol.io, 2025.
[10]
Y. Shoshitaishvili, R. Wang, C. Salls, N. Stephens, M. Polino, A. Dutcher,
J. Grosen, S. Feng, C. Hauser, C. Kruegel, et al., “SoK: (State
of) The Art of War: Offensive techniques in binary analysis,” in 2016 IEEE symposium on security and privacy (SP), pp. 138–157, IEEE, 2016.
[11]
National Security Agency, “Ghidra: Software reverse engineering framework.”
https://github.com/NationalSecurityAgency/ghidra, 2019.
[12]
S. J. Chacko, J. Hugglestone, C. M. Islam, and X. Liu, “When skills don’t
help: A negative result on procedural knowledge for tool-grounded agents in
offensive cybersecurity,” in Proceedings of the First Workshop on Agent
Skills, co-located with ACM Conference on AI and Systems (CAIS), 2026.
arXiv:2605.20023.
[13]
C. V. Snell, J. Lee, K. Xu, and A. Kumar, “Scaling LLM test-time compute
optimally can be more effective than scaling parameters for reasoning,” in
The Thirteenth International Conference on Learning Representations,
2025.
[14]
T. Schick, J. Dwivedi-Yu, R. Dessì, R. Raileanu, M. Lomeli, E. Hambro,
L. Zettlemoyer, N. Cancedda, and T. Scialom, “Toolformer: Language models
can teach themselves to use tools,” Advances in Neural Information
Processing Systems, vol. 36, pp. 68539–68551, 2023.
[15]
S. G. Patil, T. Zhang, X. Wang, and J. E. Gonzalez, “Gorilla: Large language
model connected with massive APIs,” Advances in Neural Information
Processing Systems, vol. 37, pp. 126544–126565, 2024.
[16]
J. Wei, X. Wang, D. Schuurmans, M. Bosma, B. Ichter, F. Xia, E. H. Chi, Q. V.
Le, and D. Zhou, “Chain-of-thought prompting elicits reasoning in large
language models,” in Proceedings of the 36th International Conference
on Neural Information Processing Systems, pp. 24824–24837, 2022.
[17]
S. Geng, M. Josifoski, M. Peyrard, and R. West, “Grammar-constrained decoding
for structured NLP tasks without finetuning,” in Proceedings of the
2023 Conference on Empirical Methods in Natural Language Processing,
pp. 10932–10952, 2023.
[18]
F. Raspanti, T. Ozcelebi, and M. Holenderski, “Grammar-constrained decoding
makes large language models better logical parsers,” in Proceedings of
the 63rd Annual Meeting of the Association for Computational Linguistics
(Volume 6: Industry Track), pp. 485–499, 2025.
[19]
S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. R. Narasimhan, and Y. Cao,
“ReAct: Synergizing reasoning and acting in language models,” in The
Eleventh International Conference on Learning Representations, 2023.
[20]
L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang,
X. Chen, Y. Lin, et al., “A survey on large language model based
autonomous agents,” Frontiers of Computer Science, vol. 18, no. 6,
p. 186345, 2024.
[21]
G. Deng, Y. Liu, V. M. Vilches, P. Liu, Y. Li, Y. Xu, M. Pinzger, S. Rass,
T. Zhang, and Y. Liu, “PentestGPT: Evaluating and harnessing large
language models for automated penetration testing,” in USENIX Security
Symposium, 2024.
[22]
Z. Ezetta and W.-c. Feng, “PentestMCP: A toolkit for agentic penetration
testing,” arXiv preprint arXiv:2510.03610, 2025.
[23]
T. Abramovich, M. Udeshi, M. Shao, et al., “EnIGMA: Interactive tools
substantially assist language model agents in finding security
vulnerabilities,” in Proceedings of the 42nd International Conference
on Machine Learning (ICML), 2025.
[24]
M. Shao, S. Jancheska, M. Udeshi, et al., “NYU CTF Bench: A scalable
open-source benchmark dataset for evaluating LLMs in offensive security,”
in Advances in Neural Information Processing Systems (NeurIPS), Datasets
and Benchmarks Track, 2024.
[25]
J. Yang, A. Prabhakar, S. Yao, K. Pei, and K. R. Narasimhan, “Language agents
as hackers: Evaluating cybersecurity skills with capture the flag,” in Multi-Agent Security Workshop@ NeurIPS’23, 2023.
[26]
Y. Zhu, A. Kellermann, A. Gupta, et al., “Teams of LLM agents can
exploit zero-day vulnerabilities,” arXiv preprint arXiv:2406.01637,
2024.
[27]
V. Mayoral-Vilches, L. J. Navarrete-Lozano, F. Balassone, et al.,
“Cybersecurity AI: The world’s top AI agent for security
capture-the-flag (CTF),” arXiv preprint arXiv:2512.02654, 2025.
[28]
Signal Slot Inc., “MCP GDB Server for Debugging with AI Assistants.”
https://github.com/signal-slot/mcp-gdb, 2025.
[29]
Maintainers of ghidraMCP, “MCP Server for Ghidra.”
https://github.com/LaurieWired/GhidraMCP, 2025.
[30]
SecurityforTech, “Security Operations Multi-Tool Platform (MCP).”
https://github.com/securityfortech/secops-mcp, 2025.
采集信息与校验
完整来源元数据
{
  "authors": [
    "Hugglestone, James",
    "Chacko, Samuel Jacob",
    "Stoller, Dawson",
    "Schmidt, Ryan",
    "Liu, Xiuwen"
  ],
  "content_level": "full_text",
  "date_basis": "explicit_published",
  "date_evidence": {
    "published": "2026-03-23T21:17:26Z",
    "updated": "2026-10-29T18:13:48Z"
  },
  "fallback_pdf_url": "https://arxiv.org/pdf/2603.22577v2",
  "identifiers": [
    "arxiv:2603.22577"
  ],
  "landing_page": "https://arxiv.org/abs/2603.22577v2",
  "rolling_atom_sha256": "52d325b6b71333a99d62ee251fe5714a54141b9ef125d2d6655b97ed620d4fec",
  "source_updated_at": "2026-10-29T18:13:48+00:00",
  "version_label": "v2"
}
{
  "format": "source_html",
  "source_fields": {
    "authors": [
      "Hugglestone, James",
      "Chacko, Samuel Jacob",
      "Stoller, Dawson",
      "Schmidt, Ryan",
      "Liu, Xiuwen"
    ],
    "content_level": "full_text",
    "date_basis": "explicit_published",
    "field_evidence": {},
    "identifiers": [
      "arxiv:2603.22577"
    ],
    "mapping_version": 1,
    "published_at": "2026-03-23T21:17:26Z",
    "source_format": "a_622f2d2c978f798f_html",
    "source_key": "a-622f2d2c978f798f",
    "source_updated_at": "2026-10-29T18:13:48Z",
    "title": "STRIATUM-CTF: A Protocol-Driven Agentic Framework for Autonomous CTF Solving",
    "unknown_fields": [],
    "url": "https://arxiv.org/html/2603.22577v2"
  },
  "source_format": "a_622f2d2c978f798f_html"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-11-08 10:58 UTC2026-03-23 21:17 UTC8dfba50ef2f7d875a61250dfa9f789984298abb2903aa34dfe16e6b0d9d5df78
可引用分片 · 36 段

CHK-cb890b26d4f59655a44738de

STRIATUM-CTF: A Protocol-Driven Agentic Framework for Autonomous CTF Solving
James Hugglestone1,
Samuel Jacob Chacko1,
Dawson Stoller,
Ryan Schmidt,
Xiuwen Liu
Affiliation: Department of Computer Science, Florida State University, Tallahassee, USA
Email: jah21e@fsu.edu, sj21j@fsu.edu, dawson.stoller@aol.com, res22f@fsu.edu, xliu@fsu.edu
Affiliation: 1These authors contributed equally.
Abstract
Autonomous cyber operations increasingly depend on agents that can chain reconnaissance, exploitation, and analysis across many tools while maintaining state over long task horizons. Large Language Models (LLMs) are promising orchestrators for this workflow, but naive agents that pipe model output directly into a shell are brittle: they emit malformed commands, hallucinate non-existent command-line options or packages, and lose track of earlier findings as the context window fills. We present STRIATUM-CTF, a modular agentic framework for Capture-the-Flag (CTF) solving that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP). Offensive-security tools are exposed as strictly typed, schema-validated functions; the protocol layer rejects out-of-schema tool calls before execution and returns structured observations that the agent uses to self-correct. We evaluate the system in two ways.

CHK-7e641dc38659202303d5ac0e

r rejects out-of-schema tool calls before execution and returns structured observations that the agent uses to self-correct. We evaluate the system in two ways. In a controlled study of 180 runs across 15 CTF challenges under four levels of attached procedural documentation, the system succeeds on 77.8–86.7% of attempts; notably, a schema-only configuration with no procedural documentation already reaches 77.8%, and no condition differs significantly from another. In a single live, multi-team CTF at Florida State University, the system placed first against a field of more than 30 registered teams—a single, non-replicated event decided by a 10-point margin over the runner-up, and therefore a demonstration of feasibility rather than of superiority over human experts. Because all four ablation conditions share the same tool layer, our controlled study isolates documentation volume rather than the protocol layer itself; we accordingly present schema-mediated grounding as a design principle with qualitative support rather than as a measured effect. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.
Index Terms: Autonomous cyber operations, Model Context Protocol, LLM agents, tool-augmented generation, capture-the-flag, offensive security.
I Introduction

CHK-689088c7923f84afd5f189b2

.
Index Terms: Autonomous cyber operations, Model Context Protocol, LLM agents, tool-augmented generation, capture-the-flag, offensive security.
I Introduction
Offensive security assessments, including penetration testing, red-teaming, and Capture-the-Flag (CTF) competitions, remain predominantly manual and labor-intensive. To compromise a target, an analyst enumerates attack surfaces, interprets verbose scanner output, selects exploitation primitives, and iteratively tunes payloads. While powerful tools exist for individual phases (e.g., Nmap, Ghidra, Hashcat), orchestrating them remains a cognitive bottleneck. Human operators act as the “glue,” manually moving data between tools, a process prone to error and cognitive biases such as confirmation bias [1].
Large Language Models (LLMs) [2] can process unstructured text and generate code, making them well suited to automate the high-level reasoning that connects these tools. However, early autonomous security agents face architectural hurdles [3]. Existing methods largely fall into two categories: “copilots” that require constant human prompting, and “naive autonomous agents” that pipe model output into a shell [4].

CHK-d65f57e9cd934aa1f24ad91e

thods largely fall into two categories: “copilots” that require constant human prompting, and “naive autonomous agents” that pipe model output into a shell [4]. Models often suffer a reasoning–action gap [5], correctly identifying a vulnerability (e.g., SQL injection) yet failing to emit a syntactically valid payload, frequently inventing non-existent command-line options or software packages (the supply-chain risk known as slopsquatting [6]). On long-horizon tasks, “context drift” causes the agent to lose track of early reconnaissance data [7, 8], producing loops of redundant, failed attempts.
To address these limitations, we introduce STRIATUM-CTF,11
1
From “Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization”; we use STRIATUM simply as the system’s name. an agentic framework that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP) [9]. The LLM never executes directly: it emits structured tool calls that the protocol layer validates against a schema and runs, returning typed results rather than free-form text. Internally, the agent is equipped with offensive primitives including symbolic execution via Angr [10], static analysis with Ghidra [11], and runtime debugging through GDB. Externally, the environment exposes reconnaissance and exploitation utilities such as Nmap, Nuclei, FFUF, and TLSX.

CHK-5135d2e538d10d7b4320549b

dra [11], and runtime debugging through GDB. Externally, the environment exposes reconnaissance and exploitation utilities such as Nmap, Nuclei, FFUF, and TLSX. Given a high-level objective, STRIATUM-CTF formulates a multi-step plan, invokes tools via structured MCP calls, parses error streams to self-correct, and iterates until the objective is met or the search budget is exhausted.
This paper makes three contributions:
1) A protocol-driven agentic architecture: we use MCP to standardize LLM interaction with offensive-security tools, rejecting out-of-schema (malformed) tool invocations before execution and enabling error recovery through structured feedback. We advance this as a design principle supported by qualitative evidence, not as a measured effect: the experiments reported here hold the tool layer fixed across all conditions and therefore cannot attribute outcomes to the protocol layer (Sections V-A and V-C);
2) Integration of specialized analysis primitives: we expose symbolic execution (Angr) and dynamic debugging (GDB) as in-context tools for binary analysis and exploit generation; and

CHK-9eebd9046018dd07582803c7

alized analysis primitives: we expose symbolic execution (Angr) and dynamic debugging (GDB) as in-context tools for binary analysis and exploit generation; and
3) Two-pronged evaluation: a 180-run controlled ablation, reported per-challenge, showing performance is robust to a roughly 60×60\times reduction in attached documentation tokens, and a first-place finish in a live, multi-team CTF against human teams, reported with explicit statistical scope.
A companion study [12] re-analyzes the same 180 runs as an evaluation of Agent Skills---structured procedural-knowledge packages attached to an agent’s context---and reaches a complementary null result; the system architecture, per-challenge analysis, and live-competition evaluation reported here do not appear there. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.22
2
https://github.com/jawh3/striatum-ctf.
II Related Work
Test-time compute and tool-augmented generation.
Modern agents scale test-time compute, allocating computation to iterative reasoning during inference [13]. Early approaches such as Toolformer [14] and Gorilla [15] baked tool use into the model via fine-tuning, a strategy that becomes brittle as APIs change.

CHK-143184ce8f2b3da926379ef0

e [13]. Early approaches such as Toolformer [14] and Gorilla [15] baked tool use into the model via fine-tuning, a strategy that becomes brittle as APIs change. Purely neural reasoning strategies such as Chain-of-Thought [16] still suffer from hallucination, confidently emitting syntactically invalid commands. We instead treat the protocol interface as a hard constraint layer, analogous to grammar-constrained decoding [17, 18], grounding the model’s reasoning in verified system feedback.
Long-horizon reasoning.
Methods such as ReAct [19] interleave reasoning traces with actions but rely on the context window to hold the full interaction history. In long-horizon settings such as CTF competitions, attention to early-state constraints degrades as the window fills [7], and a single hallucinated path or misread port scan at step tt becomes ground truth at step t+1t{+}1, cascading into error propagation [20]. By treating the environment, rather than the token window, as the primary source of truth, STRIATUM-CTF keeps the model focused on the immediate tactical decision.
Automated offensive-security and CTF agents.
LLM deployment in offensive security has largely followed a “copilot” paradigm.

CHK-931f991be329d836e591fa17

on the immediate tactical decision.
Automated offensive-security and CTF agents.
LLM deployment in offensive security has largely followed a “copilot” paradigm. PentestGPT [21] decomposes objectives with a Pentesting Task Tree but keeps a human in the loop to execute generated commands and paste output back, introducing a latency bottleneck that throttles the reasoning loop. Concurrent toolkits such as PentestMCP [22] expose agent-based penetration-testing tools. For CTF specifically, EnIGMA [23] introduces interactive agent–computer interfaces and reaches state-of-the-art results on static benchmarks such as NYU CTF Bench [24] and InterCode-CTF [25], while teams of agents have been shown to exploit real vulnerabilities [26]. Concurrently with our work, the CAI agent won a mixed AI-and-human CTF event using a specialized model architecture [27].

CHK-f7dea7bccea193fb41506844

 to exploit real vulnerabilities [26]. Concurrently with our work, the CAI agent won a mixed AI-and-human CTF event using a specialized model architecture [27]. STRIATUM-CTF differs from these systems in three ways: it is built entirely from a commodity general-purpose model and off-the-shelf MCP tool servers rather than a specialized model; it replaces the human verifier with deterministic schema validation at the MCP layer, enabling machine-speed iteration; and it is evaluated not only on static benchmarks but in a live, ephemeral competition whose field was composed entirely of human teams, which reduces—though a single event does not eliminate—the contamination risk inherent to published benchmarks (Section V-A).
Fig. 1: High-level architecture. The system places a validating Protocol Layer between probabilistic reasoning and deterministic execution. The Reasoning Layer (left) emits JSON tool calls that pass through the Protocol Layer (center), which enforces schema validation and rejects malformed calls before invoking tools in the Execution Layer (right). System feedback (stdout/stderr) is structurally parsed and re-injected into the context window, grounding the agent’s state in verifiable observations.
III Methodology

CHK-d66ba4ac9651950ca071bb61

eedback (stdout/stderr) is structurally parsed and re-injected into the context window, grounding the agent’s state in verifiable observations.
III Methodology
We treat CTF solving as sequential decision-making under partial observability: the agent cannot directly observe the target’s internal state (e.g., memory layout, open ports) and must act on structured observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment.
III-A Architecture
As shown in Fig. 1, the system is a closed-loop controller with three layers.
The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly.
The Protocol Layer implements MCP as a schema validator, enforcing strict typing on every tool call (e.g., requiring a port number to be an integer in [1,65535][1,65535]). A syntactically invalid call is rejected before it reaches the sandbox.
The Execution Layer consists of security tools (Angr, Ghidra, GDB, and reconnaissance utilities) wrapped in MCP servers, executing in a sandboxed virtual machine and returning structured JSON observations.
III-B Operational Definitions

CHK-3dafe7bb07d67420bdaa14fa

naissance utilities) wrapped in MCP servers, executing in a sandboxed virtual machine and returning structured JSON observations.
III-B Operational Definitions
We use hallucination to denote a tool invocation that is syntactically malformed or references a non-existent tool, option, or parameter; such calls are exactly what the Protocol Layer rejects before execution. We distinguish this from a functional error, where a well-formed action is semantically wrong (e.g., an incorrect return-address offset); functional errors reach the environment and must be corrected from feedback.
III-C The MCP Toolbox
Alongside a general-purpose command-execution tool, we expose the core analysis primitives as strictly typed, schema-validated functions that enforce type safety and reduce token overhead. The Protocol Layer’s constraints bite on these typed functions; the command tool is minimally constrained, and isolating the typed interface’s contribution over a raw shell is the comparison we outline in Section V-C. For symbolic and static analysis, we integrate Angr and Ghidra through atomic functions such as solve_path(addr, cond) and get_xrefs(func_name); the Protocol Layer enforces input constraints (e.g., valid hexadecimal addresses) and returns either an UNSAT verdict or the satisfying stdin input, abstracting away simulation-state management.

CHK-de209c4dbcbaa8529e99b6c3

constraints (e.g., valid hexadecimal addresses) and returns either an UNSAT verdict or the satisfying stdin input, abstracting away simulation-state management. For dynamic analysis, a GDB wrapper provides inspect_heap(count), transforming raw memory dumps into structured JSON. Reconnaissance operations (via Nmap) are gated by allow-lists restricting execution to in-scope IPv4 ranges and pre-approved binaries.
III-D Control Loop
The agent follows a recursive four-step loop. It plans, decomposing the objective into a queue of atomic tasks that are dynamically re-ordered as observations arrive. It executes, emitting a JSON payload that the Protocol Layer either rejects—a “circuit breaker” against malformed parameters—or forwards. It parses the returned JSON to extract salient fields (open ports, gadget offsets, memory leaks) while discarding irrelevant data to conserve context. It then iterates, evaluating the prior action and refining subsequent steps, or terminating when the objective is met.
IV Experimental Setup and Results
IV-A Dataset and Implementation
We assembled a benchmark of 15 CTF challenges from multiple sources: picoCTF33
3
https://picoctf.org. (5 challenges), the official angr.io tutorials44
4
https://github.com/angr/angr-doc.

CHK-a948be7042588fa430ce9f57

f 15 CTF challenges from multiple sources: picoCTF33
3
https://picoctf.org. (5 challenges), the official angr.io tutorials44
4
https://github.com/angr/angr-doc. (3 challenges), an archived university CTF (1 challenge), and legacy challenges from internal repositories (6 challenges) for which complete provenance metadata is unavailable. Table I summarizes the distribution across categories. The set is intentionally heterogeneous, spanning distinct reasoning chains (e.g., heap traversal vs. side-channel timing); its modest size (N=15N=15) reflects the manual effort of ground-truth analysis and is a stated limitation (Section V-A).
TABLE I: Benchmark dataset composition by category.
Category
Challenges
Memory Corruption
4
Reverse Engineering
4
Web Exploitation
4
Cryptography
3
Total
15
All experiments used Claude Sonnet 4.5 with extended thinking enabled. No sampling parameters were set by the operator; the host’s defaults applied, and we are not aware of published values for them. We record the backbone as the model was identified to us, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system.

CHK-2be129ba601c82240ad99faa

s, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55
5
https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host.
IV-B Documentation Ablation
To test how much performance depends on attached procedural documentation—files placed in Claude Desktop’s project workspace and loaded directly into the model’s context rather than retrieved (no retrieval-augmented generation)—we evaluated four conditions of increasing richness while holding the model and tool layer fixed. The conditions span from minimal tool schemas to comprehensive guidance (line and token counts in Table II).
Minimal (55 lines) provides only MCP server definitions and tool schemas, and serves as the control.
Lessons (1,478 lines) adds lessons distilled from prior debugging sessions plus an automated triage classifier, but no structured templates.

CHK-67b191d4943b8f6fc0dee8cf

es as the control.
Lessons (1,478 lines) adds lessons distilled from prior debugging sessions plus an automated triage classifier, but no structured templates.
Templates (1,976 lines) provides a structured, phase-based solving protocol with attack templates indexed by vulnerability type, plus triage.
Baseline (4,147 lines), the system’s original full configuration (hence the name), is the union of Lessons and Templates plus orchestration and navigation documents.
Each challenge was attempted three times per condition, yielding 15×4×3=18015\times 4\times 3=180 runs.
IV-B1 Evaluation protocol
Each run was capped at 60 minutes within a single conversation, the condition’s documentation loaded once at the start. At roughly ten-minute intervals the operator interrupted the model and sent the token “Continue” to resume work in the same conversation—nothing was reset or re-loaded, and operator input never included hints, solution steps, or task-specific reasoning. A run counted as successful only if the agent produced a working exploit recovering the correct flag within the limit, regardless of intermediate failures; reading the flag without a reproducing exploit did not count. A few runs were invalidated and restarted when the agent read a prior run’s workspace; e.g., one Templates run on sqli_revenge was restarted after it opened a previous run’s notes.
IV-C Results

CHK-e68d4c64b2bb9dd3741e60b9

started when the agent read a prior run’s workspace; e.g., one Templates run on sqli_revenge was restarted after it opened a previous run’s notes.
IV-C Results
Table II reports per-condition success rates with Wilson 95% confidence intervals; Table III gives the per-challenge outcome matrix. Success rate increases monotonically with documentation, from 77.8% (Minimal) to 86.7% (Baseline), but the intervals overlap substantially and the differences are not significant: a χ2\chi^{2} test of independence on the 4×24\times 2 outcome table returns χ2​(3,N=180)=1.36\chi^{2}(3,N{=}180)=1.36, p=0.71p=0.71, and a Kruskal–Wallis test on the solve-duration distributions (timed-out runs at the 60-minute cap) returns p=0.77p=0.77. Pairwise effect sizes, measured with Cohen’s hh (the appropriate statistic for proportions), are small in every case, the largest being Baseline vs. Minimal at h=0.23h=0.23. Because trials are correlated within challenges, a generalized-estimating-equations logistic model with challenge-level clustering likewise finds no condition effect (Wald χ2​(3)=3.77\chi^{2}(3){=}3.77, p=0.29p{=}0.29). These tests indicate absence of evidence for a difference, not demonstrated equivalence.
TABLE II: Performance across documentation conditions (3 trials per challenge per condition; 180 runs). CI is the 95% Wilson-score interval.

CHK-97b261a8d6623764eccbd7cd

trated equivalence.
TABLE II: Performance across documentation conditions (3 trials per challenge per condition; 180 runs). CI is the 95% Wilson-score interval. Mean Time is the mean wall-clock minutes per run, with timed-out (unsolved) runs counted at the 60-minute cap; it therefore tracks success rate rather than per-solve speed.
Condition
Lines
Tokens
Success
95% CI
Time
Minimal
55
591
77.8% (35/45)
63.7–87.5
20.1
Lessons
1,478
12,865
82.2% (37/45)
68.7–90.7
19.1
Templates
1,976
17,253
84.4% (38/45)
71.2–92.3
18.5
Baseline
4,147
36,001
86.7% (39/45)
73.8–93.7
17.1
TABLE III: Per-challenge successes (out of 3 trials) under each condition: Minimal (Min), Lessons (Les), Templates (Tem), Baseline (Bas). Categories: M = memory corruption, R = reverse engineering, W = web exploitation, C = cryptography.
Challenge
Cat.
Min
Les
Tem
Bas
sample7
M
0
0
0
3
sample3
M
3
3
3
3
sample5
M
3
3
3
3
format_string_3
M
2
3
3
3
sample2
R
0
0
2
1
angrs_00
R
3
3
3
3
angrs_01
R
3
3
3
3
sample6
R
3
3
3
3
sample8
W
3
3
3
3
sqli_revenge
W
2
2
2
2
SSTI2
W
1
2
2
2
input_injection_1
W
3
3
3
3
sample1
C
3
3
3
3
angrs_02
C
3
3
3
3
power_analysis_2
C
3
3
2
1
Total (of 45)
35
37
38
39
The most striking result is that even the Minimal condition, with only 55 lines of tool schemas and no procedural documentation, reaches 77.8%.

CHK-3dbfcaa62a41fb41e364fb5f

 45)
35
37
38
39
The most striking result is that even the Minimal condition, with only 55 lines of tool schemas and no procedural documentation, reaches 77.8%. The system is thus robust to a roughly 60×60\times reduction in attached documentation tokens. Because all four conditions share the same MCP-grounded tool layer, this study isolates the contribution of documentation volume, not of the protocol layer itself; we discuss this distinction, and the controlled non-MCP comparison it motivates, in Sections V-A and V-C.
The per-challenge matrix (Table III) sharpens the aggregate picture in three ways. First, nine of the fifteen challenges were solved on every trial under every condition; all between-condition differences concentrate in the remaining six. Restricting a post-hoc analysis of the same 180 runs to those six non-saturated challenges—which removes the ceiling that compresses the aggregate—leaves the ordering intact and the null unchanged: Minimal 44.4% (8/18), Lessons 55.6% (10/18), Templates 61.1% (11/18), Baseline 66.7% (12/18), with χ2​(3,N=72)=1.98\chi^{2}(3,N{=}72)=1.98, p=0.58p=0.58.

CHK-4d1fe6b17e266dfbd07ced86

anged: Minimal 44.4% (8/18), Lessons 55.6% (10/18), Templates 61.1% (11/18), Baseline 66.7% (12/18), with χ2​(3,N=72)=1.98\chi^{2}(3,N{=}72)=1.98, p=0.58p=0.58. The Baseline–Minimal gap does widen to 22.2 pp (h=0.45h=0.45) once the saturated challenges are removed, so this result is properly read as “not distinguishable at this sample size” rather than as a demonstrated small effect: with 18 trials per condition the study is underpowered against differences of that magnitude. Second, most of the aggregate spread comes from a single memory-corruption challenge (sample7) that only the full-documentation condition solved. Third, the differences are not uniformly in Baseline’s favor: on power_analysis_2 the Minimal condition succeeded 3/3 while Baseline succeeded 1/3, and on sample2 Templates (2/3) outperformed Baseline (1/3). Durations tell a consistent story: among successful runs only, Minimal had the lowest mean solve time (8.7 min vs. 10.5 min for Baseline), so the aggregate mean-time advantage of richer documentation comes entirely from fewer timeouts, not faster solves.

CHK-0d46103bcbe31a5f908d000d

ve time (8.7 min vs. 10.5 min for Baseline), so the aggregate mean-time advantage of richer documentation comes entirely from fewer timeouts, not faster solves. We therefore caution against reading the monotonic trend as evidence that more documentation reliably helps: operator notes recorded the opposite effect on some runs—under the richest documentation the agent occasionally “forgets things and ignores instructions”—context drift, in which the volume of attached guidance crowds out the agent’s attention to its own state [7].
IV-C1 Case studies
Two challenges illustrate the mechanism. On the timing side-channel challenge sample2, which requires exploiting execution-time variance to recover a PIN, the agent without timing-attack guidance defaulted to symbolic execution, which is ineffective for side channels; only the conditions containing the structured attack templates recovered the PIN at all (2/3 and 1/3, Table III). In contrast, angrs_00 was solved in three minutes or less under every condition, because it maps directly onto the Angr server’s solve_by_output primitive that even the Minimal schema exposes. The value of documentation is thus challenge-dependent, largest for vulnerability classes whose effective approach the tool primitives do not directly suggest.

CHK-36043455ee1e5534712e44a2

 The value of documentation is thus challenge-dependent, largest for vulnerability classes whose effective approach the tool primitives do not directly suggest. This pattern is consistent with the companion study’s hypothesis that high-bandwidth, schema-validated environment feedback substitutes for procedural guidance, leaving documentation valuable mainly where feedback alone cannot reveal the right approach [12].
IV-C2 Schema-mediated error recovery
We do not measure a hallucination rate quantitatively, because the per-call execution logs from the original runs were not retained (Section V-A); the qualitative structure, however, is visible in our records. Because the Protocol Layer rejects malformed tool calls before execution, a class of errors that would otherwise corrupt downstream state is converted into an immediate, structured rejection the agent can act on by revising the call. Operator notes corroborate self-correction on functional errors as well: on one memory-corruption run the agent recovered from repeated tool-internal timeouts and solved the challenge after 27 minutes once it “fixed itself.” We can, however, name one recurring failure mode we observed that the Protocol Layer does not guard against: hangs—a well-formed, schema-valid call that the server accepted and then never returned from, consuming the run’s remaining time budget.

CHK-1ffaf34b901721f3dc610f89

does not guard against: hangs—a well-formed, schema-valid call that the server accepted and then never returned from, consuming the run’s remaining time budget. Schema validation constrains the form of a call, not the liveness of the server that answers it, so this class of failure passes through the Protocol Layer untouched. We did not instrument failure modes and therefore report no frequencies, and we do not claim this mode was the most common. A practical corollary for anyone building on this design is that per-call timeouts and server health checks belong alongside schema validation. We present these as qualitative observations; a quantitative comparison of schema-validated versus raw-shell tool interfaces is the most important open measurement, outlined in Section V-C.
IV-D Live CTF Competition
To evaluate the system outside a controlled benchmark, a team using STRIATUM-CTF competed in the Florida State University (FSU) CTF, a live multi-team competition held on November 15, 2025. The event was open to undergraduate and graduate students, most of whom had taken FSU’s “Offensive Computer Security” course; challenges emphasized binary exploitation and web security. More than 30 teams registered and 22 (including ours) solved at least one challenge. Fig. 2 shows the cumulative-solve progression of the top 10 teams over the four-hour event.
Fig.

CHK-dc55cbf81fabbcdedbe99153

gistered and 22 (including ours) solved at least one challenge. Fig. 2 shows the cumulative-solve progression of the top 10 teams over the four-hour event.
Fig. 2: Cumulative challenge solves of the top 10 teams. The autonomous system (Team 186, highlighted) recorded its final solve at minute 233 and ended with the most solves (26 vs. 24); the gray curves are the human teams. Final ranking was determined by points, reported in the text.
STRIATUM-CTF finished first with 215 points, ahead of the strongest human teams at 205 (second) and 200 (third); the remaining teams scored below 135. We state the scope of this result before interpreting it: it is a single, non-replicated event with a 15-point margin separating first from third, and run outcomes were not deterministic—identical conditions produced different outcomes on five of the fifteen challenges in the controlled study—so it demonstrates feasibility rather than statistical superiority over human experts. For replicability we record the live-run configuration. The agent ran on the same six-server MCP stack as the controlled study (verified against a configuration snapshot taken five days after the event), under the same Claude Desktop for Linux build noted above, with extended thinking enabled, and the same backbone and unset sampling parameters noted in Section IV-A.

CHK-59c1c91d5e88b0bad5b20f08

 the same Claude Desktop for Linux build noted above, with extended thinking enabled, and the same backbone and unset sampling parameters noted in Section IV-A. It was deployed with the Baseline documentation set unmodified. We note the chronology: the competition preceded the controlled study by several weeks, so the deployed configuration reflects the system as it then stood rather than a choice informed by the ablation. Together with a concurrent win by a specialized agent in a mixed AI-and-human event [27], this adds evidence that autonomous agents can now win live CTFs outright; distinctively, our result was achieved by a commodity general-purpose model with off-the-shelf MCP tooling, in a field composed entirely of human teams. The agent’s edge came from operating at machine speed—tool calls and output parsing complete without the latency of manual command entry—and from tireless, systematic retrying of failed exploits.
V Discussion
V-A Threats to Validity
We state the scope of our claims explicitly. The controlled study establishes that an MCP-grounded agent solves a large majority of challenges and that this performance is robust to large reductions in attached documentation.

CHK-1d8d84ae081679064ee67fc8

 establishes that an MCP-grounded agent solves a large majority of challenges and that this performance is robust to large reductions in attached documentation. Because all four conditions share the same tool layer, the study bounds the effect of documentation volume rather than isolating the protocol layer itself; we therefore treat schema-mediated grounding as a design principle—motivated by the tool-use failure modes discussed earlier and supported by the qualitative error-recovery behavior reported above—whose quantitative causal effect is the object of the schema-versus-shell comparison in Section V-C. Three factors bound generalization. First, the benchmark draws partly on public picoCTF and angr-tutorial material that may overlap the model’s training data and is modest in size (several challenges succeed under every condition), so it characterizes tool integration rather than contamination-free generalization; the live competition complements it on exactly this axis, as its challenges were authored for the event and not previously published and the agent met them only at the start (the authors are associated with the host course but did not write the challenges). Second, the evaluation uses a single backbone (Claude Sonnet 4.5) and reports tool reliability qualitatively.

CHK-2d01f9a7c2b8f2d84283a4a1

the host course but did not write the challenges). Second, the evaluation uses a single backbone (Claude Sonnet 4.5) and reports tool reliability qualitatively. The per-call execution logs were not retained because the runs were conducted interactively in a desktop host that does not persist per-call MCP traces, and no logging proxy was interposed between the client and the tool servers; the instrumentation was an omission in the original design rather than a deliberate exclusion, and Section V-C names the mechanism that closes it. Third, the backbone used in both the controlled study and the live competition is no longer served, so these specific numbers cannot be reproduced exactly on the original model. The artifacts we release therefore support replication of the protocol on current backbones rather than re-execution of the original runs: the tool stack and challenge set are fully specified above, but the backbone itself cannot be reconstituted. We accordingly report the mechanism qualitatively rather than attach a rejection rate obtained from a different model under a different host, which would not describe the results presented here; Section V-C specifies the instrumented design that would supply that number properly.

CHK-df46f73f6a4de52614faf724

der a different host, which would not describe the results presented here; Section V-C specifies the instrumented design that would supply that number properly. A further caveat follows from the hang failure mode described above: because an unreturned tool call consumes a run’s time budget, some recorded failures reflect tool-server availability rather than the agent’s reasoning. This adds variance that is unrelated to the documentation manipulation, and is a further reason to read the null result as absence of evidence rather than as demonstrated equivalence.
V-B Implications for Defense and Education
If results like ours and CAI’s [27] replicate, the consequences for defenders and educators are immediate. For defenders, autonomous offense at machine speed means detection and response practices calibrated to human attacker tempo are no longer conservative—and the building blocks of such offense (a commodity model, public MCP tool servers) are freely available. For educators, an open-entry CTF can no longer be assumed to measure individual skill: an agent assembled from public components placed first in a field of student teams. The same systems, however, offer scalable sparring partners for offensive-security courses and always-available red-team automation.

CHK-6c5282789d20e8e7c1dd4ef7

n a field of student teams. The same systems, however, offer scalable sparring partners for offensive-security courses and always-available red-team automation. Course assessments should shift toward proctored or process-oriented evaluation, and defensive curricula should incorporate exercises against agentic adversaries.
V-C Future Work
These caveats define a concrete program. The decisive next experiment would be a 2×K2\times K crossed design that holds the challenge set fixed while crossing the tool interface—schema-validated MCP vs. raw shell, with the same binaries installed in both arms so that capability is held constant and only the typed interface varies—against KK backbones spanning a current frontier proprietary model and an open-weights model of comparable scale, which simultaneously tests model-invariance. Both arms would be instrumented by a stdio proxy interposed between the client and each MCP server, tee-ing every call and its response to a per-run log. That proxy is precisely the component whose absence produced the reporting gap in Section V-A, and it supplies the four metrics the present study cannot: schema-rejection rate, invalid-call rate, tool-call success fraction, and error-recovery latency.

CHK-11034d3e61841cceb63fdf42

-A, and it supplies the four metrics the present study cannot: schema-rejection rate, invalid-call rate, tool-call success fraction, and error-recovery latency. Because the primary endpoint is measured per tool call rather than per run, such a design yields substantially more analyzable events per challenge, though the clustering that motivates the model in Section IV-C would still apply. Further natural extensions include benchmarking on community suites such as NYU CTF Bench [24] for direct comparison with prior agents, and reducing MCP’s token overhead through hierarchical context management. We will release the code, challenge set, per-run outcome data, and analysis scripts upon publication to support these extensions.
VI Conclusion
We presented STRIATUM-CTF, an agentic framework that mediates between LLM reasoning and tool execution through the Model Context Protocol, rejecting malformed tool calls before execution and grounding the agent in structured feedback. In a 180-run controlled study the system succeeded on up to 86.7% of attempts and remained robust to a roughly 60×60\times reduction in attached documentation, with no statistically significant difference between conditions; in a single live competition it placed first against human teams.

CHK-62a0a793ab7c2d35eb013627

on in attached documentation, with no statistically significant difference between conditions; in a single live competition it placed first against human teams. We report these results with explicit scope: protocol-mediated grounding is a practical mechanism for filtering malformed tool calls and enabling machine-speed iteration, but isolating its causal contribution requires the schema-versus-shell comparison we outline as future work. STRIATUM-CTF provides an early, reproducible reference point for protocol-grounded autonomous offensive-security agents.
Ethical Considerations and Responsible Use
All experiments were conducted in authorized, sandboxed settings. Benchmark challenges were public CTF artifacts or instructor-authorized course material, and the live competition was a sanctioned, opt-in event in which our team was a registered participant. The agent’s reconnaissance tools are gated by IPv4 allow-lists and pre-approved-binary lists (Section III) that confine activity to in-scope targets. We acknowledge the dual-use nature of autonomous offensive tooling: capabilities that accelerate defensive red-teaming and security education can also lower the barrier to misuse.

CHK-2c057c242ee30a85d3c15055

dual-use nature of autonomous offensive tooling: capabilities that accelerate defensive red-teaming and security education can also lower the barrier to misuse. We therefore release no exploit payloads or attack-template corpora and follow coordinated disclosure for any novel vulnerability surfaced; quantifying machine-speed offensive capability helps defenders and educators calibrate accordingly.
AI Tools Used
The system under study uses Anthropic’s Claude Sonnet 4.5 as its reasoning engine; this model is the object of study, not an author. Separately, in preparing this manuscript the authors used Anthropic’s Claude for assistance throughout: drafting, revising, editing, and formatting author-written text, and writing and cross-checking the analysis scripts, whose outputs the authors verified against the raw run data. No generative tool produced experimental results, and all research design, experimentation, analysis, claims, and conclusions are the authors’ own. The authors take full responsibility for the entire content of this paper, consistent with IEEE policy.
References
[1]
P. Aggarwal, S. Venkatesan, J. Youzwak, R. Chadha, and C. Gonzalez,
“Discovering cognitive biases in cyber attackers’ network exploitation
activities: A case study,” in Human Factors in Cybersecurity, 15th
International Conference on Applied Human Factors and Ergonomics (AHFE
2024), 2024.
[2]

CHK-714e3864e670bbf381df8dfb

tion
activities: A case study,” in Human Factors in Cybersecurity, 15th
International Conference on Applied Human Factors and Ergonomics (AHFE
2024), 2024.
[2]
A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez,
Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” in Proceedings of the 31st International Conference on Neural Information
Processing Systems, pp. 6000–6010, 2017.
[3]
S. B. Hakim, M. Adil, A. Velasquez, S. Xu, and H. H. Song, “Neuro-symbolic
AI for cybersecurity: State of the art, challenges, and opportunities,”
arXiv preprint arXiv:2509.06921, 2025.
[4]
A. Happe and J. Cito, “On the surprising efficacy of LLMs for
penetration-testing,” arXiv preprint arXiv:2507.00829, 2025.
[5]
K. Stechly, K. Valmeekam, and S. Kambhampati, “On the self-verification
limitations of large language models on reasoning and planning tasks,” in
The Thirteenth International Conference on Learning Representations,
2025.
[6]
S. Park, “Slopsquatting: Hallucination in coding agents and vibe coding,”
Trend Micro, 2025.
[7]
N. F. Liu, K. Lin, J. Hewitt, A. Paranjape, M. Bevilacqua, F. Petroni, and
P. Liang, “Lost in the middle: How language models use long contexts,” Transactions of the Association for Computational Linguistics, vol. 12,
pp. 157–173, 2024.
[8]
A. K. Sood, S. Zeadally, and E. Hong, “The paradigm of hallucinations in

CHK-f2e4e7f0d373ab7d1c4f5d6a

ions of the Association for Computational Linguistics, vol. 12,
pp. 157–173, 2024.
[8]
A. K. Sood, S. Zeadally, and E. Hong, “The paradigm of hallucinations in
AI-driven cybersecurity systems: Understanding taxonomy, classification
outcomes, and mitigations,” Computers and Electrical Engineering,
vol. 124, p. 110307, 2025.
[9]
Anthropic, “Model Context Protocol.”
https://modelcontextprotocol.io, 2025.
[10]
Y. Shoshitaishvili, R. Wang, C. Salls, N. Stephens, M. Polino, A. Dutcher,
J. Grosen, S. Feng, C. Hauser, C. Kruegel, et al., “SoK: (State
of) The Art of War: Offensive techniques in binary analysis,” in 2016 IEEE symposium on security and privacy (SP), pp. 138–157, IEEE, 2016.
[11]
National Security Agency, “Ghidra: Software reverse engineering framework.”
https://github.com/NationalSecurityAgency/ghidra, 2019.
[12]
S. J. Chacko, J. Hugglestone, C. M. Islam, and X. Liu, “When skills don’t
help: A negative result on procedural knowledge for tool-grounded agents in
offensive cybersecurity,” in Proceedings of the First Workshop on Agent
Skills, co-located with ACM Conference on AI and Systems (CAIS), 2026.
arXiv:2605.20023.
[13]
C. V. Snell, J. Lee, K. Xu, and A. Kumar, “Scaling LLM test-time compute
optimally can be more effective than scaling parameters for reasoning,” in
The Thirteenth International Conference on Learning Representations,
2025.
[14]

CHK-b5c2cc35997215539934de2a

pute
optimally can be more effective than scaling parameters for reasoning,” in
The Thirteenth International Conference on Learning Representations,
2025.
[14]
T. Schick, J. Dwivedi-Yu, R. Dessì, R. Raileanu, M. Lomeli, E. Hambro,
L. Zettlemoyer, N. Cancedda, and T. Scialom, “Toolformer: Language models
can teach themselves to use tools,” Advances in Neural Information
Processing Systems, vol. 36, pp. 68539–68551, 2023.
[15]
S. G. Patil, T. Zhang, X. Wang, and J. E. Gonzalez, “Gorilla: Large language
model connected with massive APIs,” Advances in Neural Information
Processing Systems, vol. 37, pp. 126544–126565, 2024.
[16]
J. Wei, X. Wang, D. Schuurmans, M. Bosma, B. Ichter, F. Xia, E. H. Chi, Q. V.
Le, and D. Zhou, “Chain-of-thought prompting elicits reasoning in large
language models,” in Proceedings of the 36th International Conference
on Neural Information Processing Systems, pp. 24824–24837, 2022.
[17]
S. Geng, M. Josifoski, M. Peyrard, and R. West, “Grammar-constrained decoding
for structured NLP tasks without finetuning,” in Proceedings of the
2023 Conference on Empirical Methods in Natural Language Processing,
pp. 10932–10952, 2023.
[18]
F. Raspanti, T. Ozcelebi, and M. Holenderski, “Grammar-constrained decoding
makes large language models better logical parsers,” in Proceedings of
the 63rd Annual Meeting of the Association for Computational Linguistics

CHK-5d64ea978870a4518bba8db5

rained decoding
makes large language models better logical parsers,” in Proceedings of
the 63rd Annual Meeting of the Association for Computational Linguistics
(Volume 6: Industry Track), pp. 485–499, 2025.
[19]
S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. R. Narasimhan, and Y. Cao,
“ReAct: Synergizing reasoning and acting in language models,” in The
Eleventh International Conference on Learning Representations, 2023.
[20]
L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang,
X. Chen, Y. Lin, et al., “A survey on large language model based
autonomous agents,” Frontiers of Computer Science, vol. 18, no. 6,
p. 186345, 2024.
[21]
G. Deng, Y. Liu, V. M. Vilches, P. Liu, Y. Li, Y. Xu, M. Pinzger, S. Rass,
T. Zhang, and Y. Liu, “PentestGPT: Evaluating and harnessing large
language models for automated penetration testing,” in USENIX Security
Symposium, 2024.
[22]
Z. Ezetta and W.-c. Feng, “PentestMCP: A toolkit for agentic penetration
testing,” arXiv preprint arXiv:2510.03610, 2025.
[23]
T. Abramovich, M. Udeshi, M. Shao, et al., “EnIGMA: Interactive tools
substantially assist language model agents in finding security
vulnerabilities,” in Proceedings of the 42nd International Conference
on Machine Learning (ICML), 2025.
[24]
M. Shao, S. Jancheska, M. Udeshi, et al., “NYU CTF Bench: A scalable

CHK-96a7641e011c8d20fc86c71f

in Proceedings of the 42nd International Conference
on Machine Learning (ICML), 2025.
[24]
M. Shao, S. Jancheska, M. Udeshi, et al., “NYU CTF Bench: A scalable
open-source benchmark dataset for evaluating LLMs in offensive security,”
in Advances in Neural Information Processing Systems (NeurIPS), Datasets
and Benchmarks Track, 2024.
[25]
J. Yang, A. Prabhakar, S. Yao, K. Pei, and K. R. Narasimhan, “Language agents
as hackers: Evaluating cybersecurity skills with capture the flag,” in Multi-Agent Security Workshop@ NeurIPS’23, 2023.
[26]
Y. Zhu, A. Kellermann, A. Gupta, et al., “Teams of LLM agents can
exploit zero-day vulnerabilities,” arXiv preprint arXiv:2406.01637,
2024.
[27]
V. Mayoral-Vilches, L. J. Navarrete-Lozano, F. Balassone, et al.,
“Cybersecurity AI: The world’s top AI agent for security
capture-the-flag (CTF),” arXiv preprint arXiv:2512.02654, 2025.
[28]
Signal Slot Inc., “MCP GDB Server for Debugging with AI Assistants.”
https://github.com/signal-slot/mcp-gdb, 2025.
[29]
Maintainers of ghidraMCP, “MCP Server for Ghidra.”
https://github.com/LaurieWired/GhidraMCP, 2025.
[30]
SecurityforTech, “Security Operations Multi-Tool Platform (MCP).”
https://github.com/securityfortech/secops-mcp, 2025.
补充资料

中文译文

已保存部分中文译文,其余段落请查看下方原文。

STRIATUM-CTF:一种面向自主 CTF 求解的协议驱动智能体框架 James Hugglestone1, Samuel Jacob Chacko1, Dawson Stoller, Ryan Schmidt, Xiuwen Liu 所属机构:美国佛罗里达州塔拉哈西,佛罗里达州立大学计算机科学系 电子邮箱:jah21e@fsu.edu、sj21j@fsu.edu、dawson.stoller@aol.com、res22f@fsu.edu、xliu@fsu.edu 所属机构:1这些作者贡献相同。 摘要 自主网络行动日益依赖于能够在众多工具之间串联侦察、利用和分析,同时在较长任务周期内维持状态的智能体。大型语言模型(LLM)有望成为这一工作流的编排器,但将模型输出直接传入 shell 的简单智能体往往不够稳健:它们会生成格式错误的命令,臆造不存在的命令行选项或软件包,并且随着上下文窗口逐渐填满而无法跟踪先前的发现。我们提出 STRIATUM-CTF,这是一种模块化智能体框架,用于

通过模型上下文协议(MCP)协调大语言模型推理与工具执行的夺旗赛(CTF)解题系统。系统将网络安全攻防工具作为严格类型化、经架构验证的函数提供;协议层会在执行前拒绝不符合架构的工具调用,并返回结构化观察结果,供智能体用于自我纠正。我们通过两种方式评估该系统。在一项受控研究中,系统在15道CTF挑战中进行了180次运行,涵盖四种附带流程文档的级别;尝试成功率为77.8–86.7%。值得注意的是,不附带任何流程文档的纯架构配置已达到77.8%的成功率,且各条件之间的差异均无统计显著性。在佛罗里达州立大学举行的一场现场多队伍CTF比赛中,该系统在30多支注册队伍中获得第一名——这是单次、未复现的赛事,领先亚军10分,因此这仅是一次展示……

有效载荷。虽然各个阶段都有强大的工具(例如 Nmap、Ghidra、Hashcat),但协调这些工具仍然是一个认知瓶颈。人工操作人员充当“粘合剂”,在工具之间手动传递数据;这一过程容易出错,也容易受到确认偏误等认知偏差的影响 [1]。 大型语言模型(LLM)[2] 能够处理非结构化文本并生成代码,因此非常适合自动化连接这些工具的高层推理。然而,早期的自主安全代理面临架构方面的障碍 [3]。现有方法大致分为两类:“副驾驶”需要人类不断提示;“天真的自主代理”则将模型输出直接传入 shell [4]。模型往往存在推理与行动之间的鸿沟 [5]:它们能够正确识别漏洞(例如 SQL 注入),却无法生成语法有效的有效载荷,还经常臆造不存在的命令行选项或软件包(这些

一种称为 slopsquatting 的供应链风险 [6])。在长时程任务中,“上下文漂移”会导致智能体逐渐遗失早期侦察数据 [7, 8],进而陷入重复且失败的尝试循环。 为解决这些局限,我们推出了 STRIATUM-CTF,11 1 名称取自“用于战术效用最大化的基于搜索的测试时推理智能体”(Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization);我们仅将 STRIATUM 用作系统名称。这是一个智能体框架,通过模型上下文协议(MCP)[9] 在 LLM 推理与工具执行之间进行协调。LLM 从不直接执行操作:它会发出结构化工具调用,由协议层依据架构进行验证并执行,随后返回带类型的结果,而非自由格式文本。在内部,该智能体配备了包括通过 Angr [10] 进行符号执行、使用 Ghidra [11] 开展静态分析,以及通过 GDB 进行运行时调试在内的攻击性基础功能。在外部,环境提供侦察与利用工具。

例如 Nmap、Nuclei、FFUF 和 TLSX。给定一个高层目标后,STRIATUM-CTF 会制定多步骤计划,通过结构化 MCP 调用工具,解析错误流以自行纠正,并持续迭代,直至达成目标或搜索预算耗尽。 本文作出三项贡献:

  1. 一种由协议驱动的智能体架构:我们使用 MCP 标准化 LLM 与进攻性安全工具之间的交互,在执行前拒绝模式之外(格式错误)的工具调用,并通过结构化反馈实现错误恢复。我们将此作为一项设计原则提出,并以定性证据为支撑,而非将其视为已测量的效果:本文报告的实验在所有条件下均保持工具层不变,因此无法将实验结果归因于协议层(第 V-A 和 V-C 节);
  2. 集成专门的分析原语:我们将符号执行(Angr)和动态调试(GDB)作为上下文中的工具提供,用于

二进制分析与漏洞利用生成;以及

  1. 双方面评估:一项按赛题报告结果的 180 次运行受控消融实验表明,即使附带文档的 token 数量减少约 60 倍,性能仍保持稳定;此外,系统在一场与人类队伍同场竞技的实时多队 CTF 比赛中获得第一名,相关结果明确限定了统计适用范围。

一项配套研究 [12] 将相同的 180 次运行重新分析为对 Agent Skills(附加到智能体上下文中的结构化程序性知识包)的评估,并得出了互为补充的零效应结果;本文报告的系统架构、逐赛题分析和实时竞赛评估并未出现在该研究中。我们将在发表时公开代码、赛题集、逐次运行结果数据和分析脚本,以支持复现。22 2 [源链接] II 相关工作 测试时计算与工具增强生成。 现代智能体通过分配更多资源来扩展测试时计算,

在推理阶段将计算投入迭代式推理 [13]。Toolformer [14] 和 Gorilla [15] 等早期方法通过微调将工具使用能力融入模型,但随着 API 变化,这种策略容易失效。Chain-of-Thought [16] 等纯神经网络推理策略仍会产生幻觉,可能自信地输出语法无效的命令。相比之下,我们将协议接口视为硬约束层,类似于受语法约束的解码 [17, 18],使模型的推理建立在经过验证的系统反馈之上。 长程推理。 ReAct [19] 等方法交替生成推理轨迹与动作,但依赖上下文窗口保存完整的交互历史。在 CTF 竞赛等长程任务中,随着窗口逐渐填满,模型对早期状态约束的关注会减弱 [7];在第 tt 步出现的一条虚构路径或一次误读的端口扫描结果,可能在第 t+1t{+}1 步被当作事实,导致错误不断累积。

传播 [20]。STRIATUM-CTF 将环境而非令牌窗口视为主要事实依据,使模型专注于眼前的战术决策。 自动化进攻性安全与 CTF 智能体。 大语言模型在进攻性安全领域的应用大体遵循“副驾驶”模式。PentestGPT [21] 使用渗透测试任务树分解目标,但仍需人工执行生成的命令并将输出粘贴回去,形成限制推理循环速度的延迟瓶颈。同期的 PentestMCP [22] 等工具包提供基于智能体的渗透测试工具。针对 CTF,EnIGMA [23] 引入交互式智能体—计算机接口,并在 NYU CTF Bench [24] 和 InterCode-CTF [25] 等静态基准上取得当时最先进的成绩;研究也表明,智能体团队能够利用真实漏洞 [26]。与我们的工作同期,CAI 智能体赢得了一场由人工智能和人类共同参与的

一场使用专门模型架构的 CTF 赛事 [27]。STRIATUM-CTF 与这些系统有三个不同之处:它完全由通用商用模型和现成的 MCP 工具服务器构建,而非使用专门模型;它以 MCP 层的确定性模式校验取代人工验证者,从而实现机器速度的迭代;它不仅在静态基准上接受评估,还在一场实时、短暂举办且参赛者全部为人类团队的比赛中接受评估。这降低了已发布基准固有的污染风险,但单场赛事并不能消除该风险(第 V-A 节)。 图 1:高层架构。系统在概率性推理与确定性执行之间设置了一个执行校验的协议层。推理层(左)发出 JSON 工具调用;这些调用经过协议层(中)的模式校验,格式不正确的调用会被拒绝,随后才会调用工具。

执行层(右侧)。系统反馈(stdout/stderr)经过结构化解析后重新注入上下文窗口,使智能体的状态以可验证的观察结果为依据。 III 方法论 我们将 CTF 求解视为部分可观测条件下的序贯决策:智能体无法直接观察目标的内部状态(例如内存布局、开放端口),必须根据每次工具调用后返回的结构化观察结果采取行动。核心设计选择是将智能体的动作空间限制为符合架构的工具调用,从而在格式错误的动作到达环境之前将其拒绝。 III-A 架构 如图 1 所示,该系统是一个包含三个层次的闭环控制器。 推理层使用 Claude Sonnet 4.5 作为规划器,并通过系统提示设定其自主操作员的角色。它会生成高层策略,但不能直接执行命令。 协议层将 MCP 实现为

一个模式验证器,对每次工具调用实施严格的类型检查(例如,要求端口号为 [1,65535][1,65535] 范围内的整数)。语法无效的调用会在到达沙箱之前被拒绝。 执行层由安全工具(Angr、Ghidra、GDB 和侦察实用工具)组成,这些工具由 MCP 服务器封装,在沙箱虚拟机中运行,并返回结构化的 JSON 观测结果。 III-B 操作性定义 我们用“幻觉”指代语法格式错误,或引用了不存在的工具、选项或参数的工具调用;协议层会在执行前拒绝此类调用。我们将其与功能错误区分开来:功能错误指格式正确但语义上有误的操作(例如,返回地址偏移量不正确);功能错误会到达环境,必须根据反馈进行修正。 III-C MCP 工具箱 除通用命令执行工具外,我们

将核心分析原语作为严格类型化且经模式验证的函数公开,以强制执行类型安全并减少令牌开销。协议层的约束适用于这些类型化函数;命令工具受到的约束最少,而我们在第 V-C 节中概述了如何比较类型化接口相较于原始 shell 的独立贡献。对于符号分析和静态分析,我们通过 solve_path(addr, cond) 和 get_xrefs(func_name) 等原子函数集成 Angr 和 Ghidra;协议层强制执行输入约束(例如,有效的十六进制地址),并返回不可满足(UNSAT)判定或满足条件的 stdin 输入,从而抽象掉模拟状态管理。对于动态分析,GDB 包装器提供 inspect_heap(count),将原始内存转储转换为结构化 JSON。侦察操作(通过 Nmap)受到允许列表限制,只能针对范围内的 IPv4 地址段和预先批准的二进制文件执行。

已译原文片段

引文译文 · 原文位置 9848–10448

d 每次工具调用后返回的观察结果。核心设计选择是将智能体的动作空间限制为符合架构的工具调用,从而在格式错误的操作到达环境之前将其拒绝。 III-A 架构 如图 1 所示,该系统是一个包含三层的闭环控制器。 推理层使用 Claude Sonnet 4.5 作为规划器,并通过系统提示设定其自主操作员的角色。它会制定高层策略,但不能直接执行命令。 协议层将 MCP 实现为架构验证器,强制执行严格的类型

d observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment. III-A Architecture As shown in Fig. 1, the system is a closed-loop controller with three layers. The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly. The Protocol Layer implements MCP as a schema validator, enforcing strict typing

引文译文 · 原文位置 3698–4298

uently 虚构不存在的命令行选项或软件包(这种供应链风险称为 slopsquatting [6])。在长周期任务中,“上下文漂移”会使智能体无法跟踪早期侦察数据 [7, 8],从而陷入重复且失败的尝试循环。 为了解决这些局限,我们提出 STRIATUM-CTF,11 1 摘自“用于战术效用最大化的基于搜索的测试时推理智能体”;我们仅将 STRIATUM 用作系统名称。该智能体框架通过模型上下文协议(MCP)[9],协调 LLM 推理与工具执行。该 L

uently inventing non-existent command-line options or software packages (the supply-chain risk known as slopsquatting [6]). On long-horizon tasks, “context drift” causes the agent to lose track of early reconnaissance data [7, 8], producing loops of redundant, failed attempts. To address these limitations, we introduce STRIATUM-CTF,11 1 From “Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization”; we use STRIATUM simply as the system’s name. an agentic framework that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP) [9]. The L

引文译文 · 原文位置 14030–14630

由于未保留构建标识符。实验在一台 Ubuntu 22.04 LTS 虚拟机上运行(16 GB 内存、8 个 CPU 核心),该虚拟机托管于一台搭载 Intel i9-14900HX 的系统上。MCP 生态系统结合了社区服务器和自定义服务器:GDB 服务器(mcp-gdb v0.1.1 [28])、Ghidra 服务器(GhidraMCP v1.4 [29],搭配 Ghidra 11.4.2)、一个封装 angr 9.2.176 的自定义 Angr 服务器、一个 SecOps 服务器(secops-mcp [30])、一个自定义命令执行服务器,以及标准 MCP 文件系统服务器。我们使用 Linux 社区版 Claude Desktop55 5 [源链接](构建版本 0.13.37)作为宿主。 IV-B

s, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55 5 https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host. IV-B

已采集原文

访问来源网页

STRIATUM-CTF: A Protocol-Driven Agentic Framework for Autonomous CTF Solving James Hugglestone1, Samuel Jacob Chacko1, Dawson Stoller, Ryan Schmidt, Xiuwen Liu Affiliation: Department of Computer Science, Florida State University, Tallahassee, USA Email: jah21e@fsu.edu, sj21j@fsu.edu, dawson.stoller@aol.com, res22f@fsu.edu, xliu@fsu.edu Affiliation: 1These authors contributed equally. Abstract Autonomous cyber operations increasingly depend on agents that can chain reconnaissance, exploitation, and analysis across many tools while maintaining state over long task horizons. Large Language Models (LLMs) are promising orchestrators for this workflow, but naive agents that pipe model output directly into a shell are brittle: they emit malformed commands, hallucinate non-existent command-line options or packages, and lose track of earlier findings as the context window fills. We present STRIATUM-CTF, a modular agentic framework for Capture-the-Flag (CTF) solving that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP). Offensive-security tools are exposed as strictly typed, schema-validated functions; the protocol layer rejects out-of-schema tool calls before execution and returns structured observations that the agent uses to self-correct. We evaluate the system in two ways. In a controlled study of 180 runs across 15 CTF challenges under four levels of attached procedural documentation, the system succeeds on 77.8–86.7% of attempts; notably, a schema-only configuration with no procedural documentation already reaches 77.8%, and no condition differs significantly from another. In a single live, multi-team CTF at Florida State University, the system placed first against a field of more than 30 registered teams—a single, non-replicated event decided by a 10-point margin over the runner-up, and therefore a demonstration of feasibility rather than of superiority over human experts. Because all four ablation conditions share the same tool layer, our controlled study isolates documentation volume rather than the protocol layer itself; we accordingly present schema-mediated grounding as a design principle with qualitative support rather than as a measured effect. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication. Index Terms: Autonomous cyber operations, Model Context Protocol, LLM agents, tool-augmented generation, capture-the-flag, offensive security. I Introduction Offensive security assessments, including penetration testing, red-teaming, and Capture-the-Flag (CTF) competitions, remain predominantly manual and labor-intensive. To compromise a target, an analyst enumerates attack surfaces, interprets verbose scanner output, selects exploitation primitives, and iteratively tunes payloads. While powerful tools exist for individual phases (e.g., Nmap, Ghidra, Hashcat), orchestrating them remains a cognitive bottleneck. Human operators act as the “glue,” manually moving data between tools, a process prone to error and cognitive biases such as confirmation bias [1]. Large Language Models (LLMs) [2] can process unstructured text and generate code, making them well suited to automate the high-level reasoning that connects these tools. However, early autonomous security agents face architectural hurdles [3]. Existing methods largely fall into two categories: “copilots” that require constant human prompting, and “naive autonomous agents” that pipe model output into a shell [4]. Models often suffer a reasoning–action gap [5], correctly identifying a vulnerability (e.g., SQL injection) yet failing to emit a syntactically valid payload, frequently inventing non-existent command-line options or software packages (the supply-chain risk known as slopsquatting [6]). On long-horizon tasks, “context drift” causes the agent to lose track of early reconnaissance data [7, 8], producing loops of redundant, failed attempts. To address these limitations, we introduce STRIATUM-CTF,11 1 From “Search-based Test-time Reasoning Inference Agent for Tactical Utility Maximization”; we use STRIATUM simply as the system’s name. an agentic framework that mediates between LLM reasoning and tool execution using the Model Context Protocol (MCP) [9]. The LLM never executes directly: it emits structured tool calls that the protocol layer validates against a schema and runs, returning typed results rather than free-form text. Internally, the agent is equipped with offensive primitives including symbolic execution via Angr [10], static analysis with Ghidra [11], and runtime debugging through GDB. Externally, the environment exposes reconnaissance and exploitation utilities such as Nmap, Nuclei, FFUF, and TLSX. Given a high-level objective, STRIATUM-CTF formulates a multi-step plan, invokes tools via structured MCP calls, parses error streams to self-correct, and iterates until the objective is met or the search budget is exhausted. This paper makes three contributions:

  1. A protocol-driven agentic architecture: we use MCP to standardize LLM interaction with offensive-security tools, rejecting out-of-schema (malformed) tool invocations before execution and enabling error recovery through structured feedback. We advance this as a design principle supported by qualitative evidence, not as a measured effect: the experiments reported here hold the tool layer fixed across all conditions and therefore cannot attribute outcomes to the protocol layer (Sections V-A and V-C);
  2. Integration of specialized analysis primitives: we expose symbolic execution (Angr) and dynamic debugging (GDB) as in-context tools for binary analysis and exploit generation; and
  3. Two-pronged evaluation: a 180-run controlled ablation, reported per-challenge, showing performance is robust to a roughly 60×60\times reduction in attached documentation tokens, and a first-place finish in a live, multi-team CTF against human teams, reported with explicit statistical scope.

A companion study [12] re-analyzes the same 180 runs as an evaluation of Agent Skills---structured procedural-knowledge packages attached to an agent’s context---and reaches a complementary null result; the system architecture, per-challenge analysis, and live-competition evaluation reported here do not appear there. We will release our code, challenge set, per-run outcome data, and analysis scripts upon publication to support replication.22 2 https://github.com/jawh3/striatum-ctf. II Related Work Test-time compute and tool-augmented generation. Modern agents scale test-time compute, allocating computation to iterative reasoning during inference [13]. Early approaches such as Toolformer [14] and Gorilla [15] baked tool use into the model via fine-tuning, a strategy that becomes brittle as APIs change. Purely neural reasoning strategies such as Chain-of-Thought [16] still suffer from hallucination, confidently emitting syntactically invalid commands. We instead treat the protocol interface as a hard constraint layer, analogous to grammar-constrained decoding [17, 18], grounding the model’s reasoning in verified system feedback. Long-horizon reasoning. Methods such as ReAct [19] interleave reasoning traces with actions but rely on the context window to hold the full interaction history. In long-horizon settings such as CTF competitions, attention to early-state constraints degrades as the window fills [7], and a single hallucinated path or misread port scan at step tt becomes ground truth at step t+1t{+}1, cascading into error propagation [20]. By treating the environment, rather than the token window, as the primary source of truth, STRIATUM-CTF keeps the model focused on the immediate tactical decision. Automated offensive-security and CTF agents. LLM deployment in offensive security has largely followed a “copilot” paradigm. PentestGPT [21] decomposes objectives with a Pentesting Task Tree but keeps a human in the loop to execute generated commands and paste output back, introducing a latency bottleneck that throttles the reasoning loop. Concurrent toolkits such as PentestMCP [22] expose agent-based penetration-testing tools. For CTF specifically, EnIGMA [23] introduces interactive agent–computer interfaces and reaches state-of-the-art results on static benchmarks such as NYU CTF Bench [24] and InterCode-CTF [25], while teams of agents have been shown to exploit real vulnerabilities [26]. Concurrently with our work, the CAI agent won a mixed AI-and-human CTF event using a specialized model architecture [27]. STRIATUM-CTF differs from these systems in three ways: it is built entirely from a commodity general-purpose model and off-the-shelf MCP tool servers rather than a specialized model; it replaces the human verifier with deterministic schema validation at the MCP layer, enabling machine-speed iteration; and it is evaluated not only on static benchmarks but in a live, ephemeral competition whose field was composed entirely of human teams, which reduces—though a single event does not eliminate—the contamination risk inherent to published benchmarks (Section V-A). Fig. 1: High-level architecture. The system places a validating Protocol Layer between probabilistic reasoning and deterministic execution. The Reasoning Layer (left) emits JSON tool calls that pass through the Protocol Layer (center), which enforces schema validation and rejects malformed calls before invoking tools in the Execution Layer (right). System feedback (stdout/stderr) is structurally parsed and re-injected into the context window, grounding the agent’s state in verifiable observations. III Methodology We treat CTF solving as sequential decision-making under partial observability: the agent cannot directly observe the target’s internal state (e.g., memory layout, open ports) and must act on structured observations returned after each tool invocation. The central design choice is to constrain the agent’s action space to schema-valid tool calls, so that malformed actions are rejected before they reach the environment. III-A Architecture As shown in Fig. 1, the system is a closed-loop controller with three layers. The Reasoning Layer uses Claude Sonnet 4.5 as the planner, with a system prompt establishing its role as an autonomous operator. It produces high-level strategies but cannot execute commands directly. The Protocol Layer implements MCP as a schema validator, enforcing strict typing on every tool call (e.g., requiring a port number to be an integer in [1,65535][1,65535]). A syntactically invalid call is rejected before it reaches the sandbox. The Execution Layer consists of security tools (Angr, Ghidra, GDB, and reconnaissance utilities) wrapped in MCP servers, executing in a sandboxed virtual machine and returning structured JSON observations. III-B Operational Definitions We use hallucination to denote a tool invocation that is syntactically malformed or references a non-existent tool, option, or parameter; such calls are exactly what the Protocol Layer rejects before execution. We distinguish this from a functional error, where a well-formed action is semantically wrong (e.g., an incorrect return-address offset); functional errors reach the environment and must be corrected from feedback. III-C The MCP Toolbox Alongside a general-purpose command-execution tool, we expose the core analysis primitives as strictly typed, schema-validated functions that enforce type safety and reduce token overhead. The Protocol Layer’s constraints bite on these typed functions; the command tool is minimally constrained, and isolating the typed interface’s contribution over a raw shell is the comparison we outline in Section V-C. For symbolic and static analysis, we integrate Angr and Ghidra through atomic functions such as solve_path(addr, cond) and get_xrefs(func_name); the Protocol Layer enforces input constraints (e.g., valid hexadecimal addresses) and returns either an UNSAT verdict or the satisfying stdin input, abstracting away simulation-state management. For dynamic analysis, a GDB wrapper provides inspect_heap(count), transforming raw memory dumps into structured JSON. Reconnaissance operations (via Nmap) are gated by allow-lists restricting execution to in-scope IPv4 ranges and pre-approved binaries. III-D Control Loop The agent follows a recursive four-step loop. It plans, decomposing the objective into a queue of atomic tasks that are dynamically re-ordered as observations arrive. It executes, emitting a JSON payload that the Protocol Layer either rejects—a “circuit breaker” against malformed parameters—or forwards. It parses the returned JSON to extract salient fields (open ports, gadget offsets, memory leaks) while discarding irrelevant data to conserve context. It then iterates, evaluating the prior action and refining subsequent steps, or terminating when the objective is met. IV Experimental Setup and Results IV-A Dataset and Implementation We assembled a benchmark of 15 CTF challenges from multiple sources: picoCTF33 3 https://picoctf.org. (5 challenges), the official angr.io tutorials44 4 https://github.com/angr/angr-doc. (3 challenges), an archived university CTF (1 challenge), and legacy challenges from internal repositories (6 challenges) for which complete provenance metadata is unavailable. Table I summarizes the distribution across categories. The set is intentionally heterogeneous, spanning distinct reasoning chains (e.g., heap traversal vs. side-channel timing); its modest size (N=15N=15) reflects the manual effort of ground-truth analysis and is a stated limitation (Section V-A). TABLE I: Benchmark dataset composition by category. Category Challenges Memory Corruption 4 Reverse Engineering 4 Web Exploitation 4 Cryptography 3 Total 15 All experiments used Claude Sonnet 4.5 with extended thinking enabled. No sampling parameters were set by the operator; the host’s defaults applied, and we are not aware of published values for them. We record the backbone as the model was identified to us, since no build identifier was retained. Experiments ran on an Ubuntu 22.04 LTS virtual machine (16 GB RAM, 8 CPU cores) hosted on an Intel i9-14900HX system. The MCP ecosystem combined community and custom servers: a GDB server (mcp-gdb v0.1.1 [28]), a Ghidra server (GhidraMCP v1.4 [29] with Ghidra 11.4.2), a custom Angr server wrapping angr 9.2.176, a SecOps server (secops-mcp [30]), a custom command-execution server, and the standard MCP filesystem server. We used the community Claude Desktop for Linux55 5 https://github.com/aaddrick/claude-desktop-linux. (build 0.13.37) as the host. IV-B Documentation Ablation To test how much performance depends on attached procedural documentation—files placed in Claude Desktop’s project workspace and loaded directly into the model’s context rather than retrieved (no retrieval-augmented generation)—we evaluated four conditions of increasing richness while holding the model and tool layer fixed. The conditions span from minimal tool schemas to comprehensive guidance (line and token counts in Table II). Minimal (55 lines) provides only MCP server definitions and tool schemas, and serves as the control. Lessons (1,478 lines) adds lessons distilled from prior debugging sessions plus an automated triage classifier, but no structured templates. Templates (1,976 lines) provides a structured, phase-based solving protocol with attack templates indexed by vulnerability type, plus triage. Baseline (4,147 lines), the system’s original full configuration (hence the name), is the union of Lessons and Templates plus orchestration and navigation documents. Each challenge was attempted three times per condition, yielding 15×4×3=18015\times 4\times 3=180 runs. IV-B1 Evaluation protocol Each run was capped at 60 minutes within a single conversation, the condition’s documentation loaded once at the start. At roughly ten-minute intervals the operator interrupted the model and sent the token “Continue” to resume work in the same conversation—nothing was reset or re-loaded, and operator input never included hints, solution steps, or task-specific reasoning. A run counted as successful only if the agent produced a working exploit recovering the correct flag within the limit, regardless of intermediate failures; reading the flag without a reproducing exploit did not count. A few runs were invalidated and restarted when the agent read a prior run’s workspace; e.g., one Templates run on sqli_revenge was restarted after it opened a previous run’s notes. IV-C Results Table II reports per-condition success rates with Wilson 95% confidence intervals; Table III gives the per-challenge outcome matrix. Success rate increases monotonically with documentation, from 77.8% (Minimal) to 86.7% (Baseline), but the intervals overlap substantially and the differences are not significant: a χ2\chi^{2} test of independence on the 4×24\times 2 outcome table returns χ2(3,N=180)=1.36\chi^{2}(3,N{=}180)=1.36, p=0.71p=0.71, and a Kruskal–Wallis test on the solve-duration distributions (timed-out runs at the 60-minute cap) returns p=0.77p=0.77. Pairwise effect sizes, measured with Cohen’s hh (the appropriate statistic for proportions), are small in every case, the largest being Baseline vs. Minimal at h=0.23h=0.23. Because trials are correlated within challenges, a generalized-estimating-equations logistic model with challenge-level clustering likewise finds no condition effect (Wald χ2(3)=3.77\chi^{2}(3){=}3.77, p=0.29p{=}0.29). These tests indicate absence of evidence for a difference, not demonstrated equivalence. TABLE II: Performance across documentation conditions (3 trials per challenge per condition; 180 runs). CI is the 95% Wilson-score interval. Mean Time is the mean wall-clock minutes per run, with timed-out (unsolved) runs counted at the 60-minute cap; it therefore tracks success rate rather than per-solve speed. Condition Lines Tokens Success 95% CI Time Minimal 55 591 77.8% (35/45) 63.7–87.5 20.1 Lessons 1,478 12,865 82.2% (37/45) 68.7–90.7 19.1 Templates 1,976 17,253 84.4% (38/45) 71.2–92.3 18.5 Baseline 4,147 36,001 86.7% (39/45) 73.8–93.7 17.1 TABLE III: Per-challenge successes (out of 3 trials) under each condition: Minimal (Min), Lessons (Les), Templates (Tem), Baseline (Bas). Categories: M = memory corruption, R = reverse engineering, W = web exploitation, C = cryptography. Challenge Cat. Min Les Tem Bas sample7 M 0 0 0 3 sample3 M 3 3 3 3 sample5 M 3 3 3 3 format_string_3 M 2 3 3 3 sample2 R 0 0 2 1 angrs_00 R 3 3 3 3 angrs_01 R 3 3 3 3 sample6 R 3 3 3 3 sample8 W 3 3 3 3 sqli_revenge W 2 2 2 2 SSTI2 W 1 2 2 2 input_injection_1 W 3 3 3 3 sample1 C 3 3 3 3 angrs_02 C 3 3 3 3 power_analysis_2 C 3 3 2 1 Total (of 45) 35 37 38 39 The most striking result is that even the Minimal condition, with only 55 lines of tool schemas and no procedural documentation, reaches 77.8%. The system is thus robust to a roughly 60×60\times reduction in attached documentation tokens. Because all four conditions share the same MCP-grounded tool layer, this study isolates the contribution of documentation volume, not of the protocol layer itself; we discuss this distinction, and the controlled non-MCP comparison it motivates, in Sections V-A and V-C. The per-challenge matrix (Table III) sharpens the aggregate picture in three ways. First, nine of the fifteen challenges were solved on every trial under every condition; all between-condition differences concentrate in the remaining six. Restricting a post-hoc analysis of the same 180 runs to those six non-saturated challenges—which removes the ceiling that compresses the aggregate—leaves the ordering intact and the null unchanged: Minimal 44.4% (8/18), Lessons 55.6% (10/18), Templates 61.1% (11/18), Baseline 66.7% (12/18), with χ2(3,N=72)=1.98\chi^{2}(3,N{=}72)=1.98, p=0.58p=0.58. The Baseline–Minimal gap does widen to 22.2 pp (h=0.45h=0.45) once the saturated challenges are removed, so this result is properly read as “not distinguishable at this sample size” rather than as a demonstrated small effect: with 18 trials per condition the study is underpowered against differences of that magnitude. Second, most of the aggregate spread comes from a single memory-corruption challenge (sample7) that only the full-documentation condition solved. Third, the differences are not uniformly in Baseline’s favor: on power_analysis_2 the Minimal condition succeeded 3/3 while Baseline succeeded 1/3, and on sample2 Templates (2/3) outperformed Baseline (1/3). Durations tell a consistent story: among successful runs only, Minimal had the lowest mean solve time (8.7 min vs. 10.5 min for Baseline), so the aggregate mean-time advantage of richer documentation comes entirely from fewer timeouts, not faster solves. We therefore caution against reading the monotonic trend as evidence that more documentation reliably helps: operator notes recorded the opposite effect on some runs—under the richest documentation the agent occasionally “forgets things and ignores instructions”—context drift, in which the volume of attached guidance crowds out the agent’s attention to its own state [7]. IV-C1 Case studies Two challenges illustrate the mechanism. On the timing side-channel challenge sample2, which requires exploiting execution-time variance to recover a PIN, the agent without timing-attack guidance defaulted to symbolic execution, which is ineffective for side channels; only the conditions containing the structured attack templates recovered the PIN at all (2/3 and 1/3, Table III). In contrast, angrs_00 was solved in three minutes or less under every condition, because it maps directly onto the Angr server’s solve_by_output primitive that even the Minimal schema exposes. The value of documentation is thus challenge-dependent, largest for vulnerability classes whose effective approach the tool primitives do not directly suggest. This pattern is consistent with the companion study’s hypothesis that high-bandwidth, schema-validated environment feedback substitutes for procedural guidance, leaving documentation valuable mainly where feedback alone cannot reveal the right approach [12]. IV-C2 Schema-mediated error recovery We do not measure a hallucination rate quantitatively, because the per-call execution logs from the original runs were not retained (Section V-A); the qualitative structure, however, is visible in our records. Because the Protocol Layer rejects malformed tool calls before execution, a class of errors that would otherwise corrupt downstream state is converted into an immediate, structured rejection the agent can act on by revising the call. Operator notes corroborate self-correction on functional errors as well: on one memory-corruption run the agent recovered from repeated tool-internal timeouts and solved the challenge after 27 minutes once it “fixed itself.” We can, however, name one recurring failure mode we observed that the Protocol Layer does not guard against: hangs—a well-formed, schema-valid call that the server accepted and then never returned from, consuming the run’s remaining time budget. Schema validation constrains the form of a call, not the liveness of the server that answers it, so this class of failure passes through the Protocol Layer untouched. We did not instrument failure modes and therefore report no frequencies, and we do not claim this mode was the most common. A practical corollary for anyone building on this design is that per-call timeouts and server health checks belong alongside schema validation. We present these as qualitative observations; a quantitative comparison of schema-validated versus raw-shell tool interfaces is the most important open measurement, outlined in Section V-C. IV-D Live CTF Competition To evaluate the system outside a controlled benchmark, a team using STRIATUM-CTF competed in the Florida State University (FSU) CTF, a live multi-team competition held on November 15, 2025. The event was open to undergraduate and graduate students, most of whom had taken FSU’s “Offensive Computer Security” course; challenges emphasized binary exploitation and web security. More than 30 teams registered and 22 (including ours) solved at least one challenge. Fig. 2 shows the cumulative-solve progression of the top 10 teams over the four-hour event. Fig. 2: Cumulative challenge solves of the top 10 teams. The autonomous system (Team 186, highlighted) recorded its final solve at minute 233 and ended with the most solves (26 vs. 24); the gray curves are the human teams. Final ranking was determined by points, reported in the text. STRIATUM-CTF finished first with 215 points, ahead of the strongest human teams at 205 (second) and 200 (third); the remaining teams scored below 135. We state the scope of this result before interpreting it: it is a single, non-replicated event with a 15-point margin separating first from third, and run outcomes were not deterministic—identical conditions produced different outcomes on five of the fifteen challenges in the controlled study—so it demonstrates feasibility rather than statistical superiority over human experts. For replicability we record the live-run configuration. The agent ran on the same six-server MCP stack as the controlled study (verified against a configuration snapshot taken five days after the event), under the same Claude Desktop for Linux build noted above, with extended thinking enabled, and the same backbone and unset sampling parameters noted in Section IV-A. It was deployed with the Baseline documentation set unmodified. We note the chronology: the competition preceded the controlled study by several weeks, so the deployed configuration reflects the system as it then stood rather than a choice informed by the ablation. Together with a concurrent win by a specialized agent in a mixed AI-and-human event [27], this adds evidence that autonomous agents can now win live CTFs outright; distinctively, our result was achieved by a commodity general-purpose model with off-the-shelf MCP tooling, in a field composed entirely of human teams. The agent’s edge came from operating at machine speed—tool calls and output parsing complete without the latency of manual command entry—and from tireless, systematic retrying of failed exploits. V Discussion V-A Threats to Validity We state the scope of our claims explicitly. The controlled study establishes that an MCP-grounded agent solves a large majority of challenges and that this performance is robust to large reductions in attached documentation. Because all four conditions share the same tool layer, the study bounds the effect of documentation volume rather than isolating the protocol layer itself; we therefore treat schema-mediated grounding as a design principle—motivated by the tool-use failure modes discussed earlier and supported by the qualitative error-recovery behavior reported above—whose quantitative causal effect is the object of the schema-versus-shell comparison in Section V-C. Three factors bound generalization. First, the benchmark draws partly on public picoCTF and angr-tutorial material that may overlap the model’s training data and is modest in size (several challenges succeed under every condition), so it characterizes tool integration rather than contamination-free generalization; the live competition complements it on exactly this axis, as its challenges were authored for the event and not previously published and the agent met them only at the start (the authors are associated with the host course but did not write the challenges). Second, the evaluation uses a single backbone (Claude Sonnet 4.5) and reports tool reliability qualitatively. The per-call execution logs were not retained because the runs were conducted interactively in a desktop host that does not persist per-call MCP traces, and no logging proxy was interposed between the client and the tool servers; the instrumentation was an omission in the original design rather than a deliberate exclusion, and Section V-C names the mechanism that closes it. Third, the backbone used in both the controlled study and the live competition is no longer served, so these specific numbers cannot be reproduced exactly on the original model. The artifacts we release therefore support replication of the protocol on current backbones rather than re-execution of the original runs: the tool stack and challenge set are fully specified above, but the backbone itself cannot be reconstituted. We accordingly report the mechanism qualitatively rather than attach a rejection rate obtained from a different model under a different host, which would not describe the results presented here; Section V-C specifies the instrumented design that would supply that number properly. A further caveat follows from the hang failure mode described above: because an unreturned tool call consumes a run’s time budget, some recorded failures reflect tool-server availability rather than the agent’s reasoning. This adds variance that is unrelated to the documentation manipulation, and is a further reason to read the null result as absence of evidence rather than as demonstrated equivalence. V-B Implications for Defense and Education If results like ours and CAI’s [27] replicate, the consequences for defenders and educators are immediate. For defenders, autonomous offense at machine speed means detection and response practices calibrated to human attacker tempo are no longer conservative—and the building blocks of such offense (a commodity model, public MCP tool servers) are freely available. For educators, an open-entry CTF can no longer be assumed to measure individual skill: an agent assembled from public components placed first in a field of student teams. The same systems, however, offer scalable sparring partners for offensive-security courses and always-available red-team automation. Course assessments should shift toward proctored or process-oriented evaluation, and defensive curricula should incorporate exercises against agentic adversaries. V-C Future Work These caveats define a concrete program. The decisive next experiment would be a 2×K2\times K crossed design that holds the challenge set fixed while crossing the tool interface—schema-validated MCP vs. raw shell, with the same binaries installed in both arms so that capability is held constant and only the typed interface varies—against KK backbones spanning a current frontier proprietary model and an open-weights model of comparable scale, which simultaneously tests model-invariance. Both arms would be instrumented by a stdio proxy interposed between the client and each MCP server, tee-ing every call and its response to a per-run log. That proxy is precisely the component whose absence produced the reporting gap in Section V-A, and it supplies the four metrics the present study cannot: schema-rejection rate, invalid-call rate, tool-call success fraction, and error-recovery latency. Because the primary endpoint is measured per tool call rather than per run, such a design yields substantially more analyzable events per challenge, though the clustering that motivates the model in Section IV-C would still apply. Further natural extensions include benchmarking on community suites such as NYU CTF Bench [24] for direct comparison with prior agents, and reducing MCP’s token overhead through hierarchical context management. We will release the code, challenge set, per-run outcome data, and analysis scripts upon publication to support these extensions. VI Conclusion We presented STRIATUM-CTF, an agentic framework that mediates between LLM reasoning and tool execution through the Model Context Protocol, rejecting malformed tool calls before execution and grounding the agent in structured feedback. In a 180-run controlled study the system succeeded on up to 86.7% of attempts and remained robust to a roughly 60×60\times reduction in attached documentation, with no statistically significant difference between conditions; in a single live competition it placed first against human teams. We report these results with explicit scope: protocol-mediated grounding is a practical mechanism for filtering malformed tool calls and enabling machine-speed iteration, but isolating its causal contribution requires the schema-versus-shell comparison we outline as future work. STRIATUM-CTF provides an early, reproducible reference point for protocol-grounded autonomous offensive-security agents. Ethical Considerations and Responsible Use All experiments were conducted in authorized, sandboxed settings. Benchmark challenges were public CTF artifacts or instructor-authorized course material, and the live competition was a sanctioned, opt-in event in which our team was a registered participant. The agent’s reconnaissance tools are gated by IPv4 allow-lists and pre-approved-binary lists (Section III) that confine activity to in-scope targets. We acknowledge the dual-use nature of autonomous offensive tooling: capabilities that accelerate defensive red-teaming and security education can also lower the barrier to misuse. We therefore release no exploit payloads or attack-template corpora and follow coordinated disclosure for any novel vulnerability surfaced; quantifying machine-speed offensive capability helps defenders and educators calibrate accordingly. AI Tools Used The system under study uses Anthropic’s Claude Sonnet 4.5 as its reasoning engine; this model is the object of study, not an author. Separately, in preparing this manuscript the authors used Anthropic’s Claude for assistance throughout: drafting, revising, editing, and formatting author-written text, and writing and cross-checking the analysis scripts, whose outputs the authors verified against the raw run data. No generative tool produced experimental results, and all research design, experimentation, analysis, claims, and conclusions are the authors’ own. The authors take full responsibility for the entire content of this paper, consistent with IEEE policy. References [1] P. Aggarwal, S. Venkatesan, J. Youzwak, R. Chadha, and C. Gonzalez, “Discovering cognitive biases in cyber attackers’ network exploitation activities: A case study,” in Human Factors in Cybersecurity, 15th International Conference on Applied Human Factors and Ergonomics (AHFE 2024), 2024. [2] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” in Proceedings of the 31st International Conference on Neural Information Processing Systems, pp. 6000–6010, 2017. [3] S. B. Hakim, M. Adil, A. Velasquez, S. Xu, and H. H. Song, “Neuro-symbolic AI for cybersecurity: State of the art, challenges, and opportunities,” arXiv preprint arXiv:2509.06921, 2025. [4] A. Happe and J. Cito, “On the surprising efficacy of LLMs for penetration-testing,” arXiv preprint arXiv:2507.00829, 2025. [5] K. Stechly, K. Valmeekam, and S. Kambhampati, “On the self-verification limitations of large language models on reasoning and planning tasks,” in The Thirteenth International Conference on Learning Representations, 2025. [6] S. Park, “Slopsquatting: Hallucination in coding agents and vibe coding,” Trend Micro, 2025. [7] N. F. Liu, K. Lin, J. Hewitt, A. Paranjape, M. Bevilacqua, F. Petroni, and P. Liang, “Lost in the middle: How language models use long contexts,” Transactions of the Association for Computational Linguistics, vol. 12, pp. 157–173, 2024. [8] A. K. Sood, S. Zeadally, and E. Hong, “The paradigm of hallucinations in AI-driven cybersecurity systems: Understanding taxonomy, classification outcomes, and mitigations,” Computers and Electrical Engineering, vol. 124, p. 110307, 2025. [9] Anthropic, “Model Context Protocol.” https://modelcontextprotocol.io, 2025. [10] Y. Shoshitaishvili, R. Wang, C. Salls, N. Stephens, M. Polino, A. Dutcher, J. Grosen, S. Feng, C. Hauser, C. Kruegel, et al., “SoK: (State of) The Art of War: Offensive techniques in binary analysis,” in 2016 IEEE symposium on security and privacy (SP), pp. 138–157, IEEE, 2016. [11] National Security Agency, “Ghidra: Software reverse engineering framework.” https://github.com/NationalSecurityAgency/ghidra, 2019. [12] S. J. Chacko, J. Hugglestone, C. M. Islam, and X. Liu, “When skills don’t help: A negative result on procedural knowledge for tool-grounded agents in offensive cybersecurity,” in Proceedings of the First Workshop on Agent Skills, co-located with ACM Conference on AI and Systems (CAIS), 2026. arXiv:2605.20023. [13] C. V. Snell, J. Lee, K. Xu, and A. Kumar, “Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning,” in The Thirteenth International Conference on Learning Representations, 2025. [14] T. Schick, J. Dwivedi-Yu, R. Dessì, R. Raileanu, M. Lomeli, E. Hambro, L. Zettlemoyer, N. Cancedda, and T. Scialom, “Toolformer: Language models can teach themselves to use tools,” Advances in Neural Information Processing Systems, vol. 36, pp. 68539–68551, 2023. [15] S. G. Patil, T. Zhang, X. Wang, and J. E. Gonzalez, “Gorilla: Large language model connected with massive APIs,” Advances in Neural Information Processing Systems, vol. 37, pp. 126544–126565, 2024. [16] J. Wei, X. Wang, D. Schuurmans, M. Bosma, B. Ichter, F. Xia, E. H. Chi, Q. V. Le, and D. Zhou, “Chain-of-thought prompting elicits reasoning in large language models,” in Proceedings of the 36th International Conference on Neural Information Processing Systems, pp. 24824–24837, 2022. [17] S. Geng, M. Josifoski, M. Peyrard, and R. West, “Grammar-constrained decoding for structured NLP tasks without finetuning,” in Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 10932–10952, 2023. [18] F. Raspanti, T. Ozcelebi, and M. Holenderski, “Grammar-constrained decoding makes large language models better logical parsers,” in Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track), pp. 485–499, 2025. [19] S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. R. Narasimhan, and Y. Cao, “ReAct: Synergizing reasoning and acting in language models,” in The Eleventh International Conference on Learning Representations, 2023. [20] L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang, X. Chen, Y. Lin, et al., “A survey on large language model based autonomous agents,” Frontiers of Computer Science, vol. 18, no. 6, p. 186345, 2024. [21] G. Deng, Y. Liu, V. M. Vilches, P. Liu, Y. Li, Y. Xu, M. Pinzger, S. Rass, T. Zhang, and Y. Liu, “PentestGPT: Evaluating and harnessing large language models for automated penetration testing,” in USENIX Security Symposium, 2024. [22] Z. Ezetta and W.-c. Feng, “PentestMCP: A toolkit for agentic penetration testing,” arXiv preprint arXiv:2510.03610, 2025. [23] T. Abramovich, M. Udeshi, M. Shao, et al., “EnIGMA: Interactive tools substantially assist language model agents in finding security vulnerabilities,” in Proceedings of the 42nd International Conference on Machine Learning (ICML), 2025. [24] M. Shao, S. Jancheska, M. Udeshi, et al., “NYU CTF Bench: A scalable open-source benchmark dataset for evaluating LLMs in offensive security,” in Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2024. [25] J. Yang, A. Prabhakar, S. Yao, K. Pei, and K. R. Narasimhan, “Language agents as hackers: Evaluating cybersecurity skills with capture the flag,” in Multi-Agent Security Workshop@ NeurIPS’23, 2023. [26] Y. Zhu, A. Kellermann, A. Gupta, et al., “Teams of LLM agents can exploit zero-day vulnerabilities,” arXiv preprint arXiv:2406.01637, 2024. [27] V. Mayoral-Vilches, L. J. Navarrete-Lozano, F. Balassone, et al., “Cybersecurity AI: The world’s top AI agent for security capture-the-flag (CTF),” arXiv preprint arXiv:2512.02654, 2025. [28] Signal Slot Inc., “MCP GDB Server for Debugging with AI Assistants.” https://github.com/signal-slot/mcp-gdb, 2025. [29] Maintainers of ghidraMCP, “MCP Server for Ghidra.” https://github.com/LaurieWired/GhidraMCP, 2025. [30] SecurityforTech, “Security Operations Multi-Tool Platform (MCP).” https://github.com/securityfortech/secops-mcp, 2025.

原文依据