<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hung Nguyen</title>
    <description>The latest articles on DEV Community by Hung Nguyen (@hung_nguyen_fa16ccbd12b14).</description>
    <link>https://dev.to/hung_nguyen_fa16ccbd12b14</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4106398%2F98e5c950-6883-40a5-b91e-17e9e3e73977.png</url>
      <title>DEV Community: Hung Nguyen</title>
      <link>https://dev.to/hung_nguyen_fa16ccbd12b14</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hung_nguyen_fa16ccbd12b14"/>
    <language>en</language>
    <item>
      <title>F*ck CTF: Can a Multi-Agent LLM really play Capture The Flag?</title>
      <dc:creator>Hung Nguyen</dc:creator>
      <pubDate>Wed, 02 Sep 2026 14:57:15 +0000</pubDate>
      <link>https://dev.to/hung_nguyen_fa16ccbd12b14/fck-ctf-can-a-multi-agent-llm-really-play-capture-the-flag-28jo</link>
      <guid>https://dev.to/hung_nguyen_fa16ccbd12b14/fck-ctf-can-a-multi-agent-llm-really-play-capture-the-flag-28jo</guid>
      <description>&lt;p&gt;I’ve been working on a side project called F*ckCTF — an autonomous agent designed to solve black-box Capture The Flag challenges. It runs inside an isolated Kali Linux container and uses a Multi-Agent architecture to interact with terminals, run scripts, and hunt for flags.&lt;/p&gt;

&lt;p&gt;Recently, it managed to autonomously solve some dynamic CryptoHack challenges and 247CTF challenges by writing its own exploit scripts and recovering intermediate keys.&lt;/p&gt;

&lt;p&gt;However, I’ve hit a major architectural bottleneck and would love to hear how others handle this: The agent is way too slow on complex challenges.&lt;/p&gt;

&lt;p&gt;Right now, it heavily depends on top-tier models like GPT-4o or Claude 3.5. The reasoning is solid, but the network latency and token generation take forever when it has to run through multiple trial-and-error loops especially in Pwn or Crypto. If I switch to smaller, faster, or local open-source models, the reasoning quality drops significantly, and the agent gets stuck in infinite loops trying to fix bad code.&lt;/p&gt;

&lt;p&gt;If any of you have experience building AI agents for security tasks or coding:&lt;/p&gt;

&lt;p&gt;How do you balance reasoning capability vs. speed?&lt;br&gt;
Have you found a way to reliably delegate simpler tasks to smaller models while keeping the "master" agent running a heavy model?&lt;br&gt;
I'd also love for any active CTF players to test it out on their local labs and see how it performs on different categories.&lt;/p&gt;

&lt;p&gt;🔗 GitHub Repo: &lt;a href="https://github.com/Hugnd-UIT/Fuck-CTF" rel="noopener noreferrer"&gt;https://github.com/Hugnd-UIT/Fuck-CTF&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any thoughts on the architecture or general feedback would be really appreciated! Feel free to drop a comment below, open a GitHub Issue, or reach out to me directly via email at &lt;a href="mailto:hungnd.attt2024@gmail.com"&gt;hungnd.attt2024@gmail.com&lt;/a&gt;. Would love to chat about AI agents and CTFs!&lt;/p&gt;

</description>
      <category>security</category>
      <category>llm</category>
      <category>ctf</category>
      <category>infosec</category>
    </item>
  </channel>
</rss>
