<?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: pomterre</title>
    <description>The latest articles on DEV Community by pomterre (@pomterre).</description>
    <link>https://dev.to/pomterre</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%2F4269828%2F19913b05-5fbe-4257-8762-0f77dae56170.jpg</url>
      <title>DEV Community: pomterre</title>
      <link>https://dev.to/pomterre</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pomterre"/>
    <language>en</language>
    <item>
      <title>Running Autonomous Pentest Agents for About $1 (What Our Benchmarks Taught Us)</title>
      <dc:creator>pomterre</dc:creator>
      <pubDate>Sat, 28 Nov 2026 01:07:42 +0000</pubDate>
      <link>https://dev.to/nodecode/running-autonomous-pentest-agents-for-about-1-what-our-benchmarks-taught-us-5gda</link>
      <guid>https://dev.to/nodecode/running-autonomous-pentest-agents-for-about-1-what-our-benchmarks-taught-us-5gda</guid>
      <description>&lt;p&gt;When an AI agent runs for 200+ turns, you are not paying for fresh prompts. You are paying to &lt;strong&gt;re-read the same growing conversation&lt;/strong&gt; over and over.&lt;/p&gt;

&lt;p&gt;We hit this lesson twice: first in our ARC-AGI-3 agent benchmark (&lt;a href="https://foresight-labs.eu/research/fl-2026-006" rel="noopener noreferrer"&gt;FL-2026-006&lt;/a&gt;), and again running real open-source pentest agents against isolated lab apps on &lt;a href="https://nodecode.ai/cyber" rel="noopener noreferrer"&gt;Nodecode Cyber v1&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is the simple takeaway and the real numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Same Model, 41% Lower Bill
&lt;/h2&gt;

&lt;p&gt;In &lt;a href="https://foresight-labs.eu/research/fl-2026-006" rel="noopener noreferrer"&gt;FL-2026-006&lt;/a&gt;, we ran our open-source Common Lisp agent &lt;a href="https://nodecode.ai" rel="noopener noreferrer"&gt;Nodecode&lt;/a&gt; head-to-head against Claude Code and Codex CLI across all &lt;strong&gt;25 public ARC-AGI-3 games (183 levels)&lt;/strong&gt; on the exact same models:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Agent&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Avg tokens / call&lt;/th&gt;
&lt;th&gt;Total cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5.5&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Nodecode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;100/100 (183/183)&lt;/td&gt;
&lt;td&gt;77,000&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;$124.09&lt;/strong&gt; (-41%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5.5&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;100/100 (183/183)&lt;/td&gt;
&lt;td&gt;175,000&lt;/td&gt;
&lt;td&gt;$209.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Nodecode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;25/25 won (99.5)&lt;/td&gt;
&lt;td&gt;20,500&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;$32.55&lt;/strong&gt; (-24%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;Codex CLI&lt;/td&gt;
&lt;td&gt;25/25 won (99.9)&lt;/td&gt;
&lt;td&gt;74,700&lt;/td&gt;
&lt;td&gt;$42.97&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Surprisingly, Nodecode made &lt;strong&gt;more&lt;/strong&gt; LLM calls on both models and still paid much less. The difference was keeping dead tool output out of every turn while still letting the provider's prefix cache do the heavy lifting between checkpoints.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Why Pentest Agents Break Standard APIs
&lt;/h2&gt;

&lt;p&gt;Autonomous security tools like &lt;a href="https://github.com/usestrix/strix" rel="noopener noreferrer"&gt;Strix&lt;/a&gt; and &lt;a href="https://github.com/vxcontrol/pentagi" rel="noopener noreferrer"&gt;PentAGI&lt;/a&gt; run even longer loops packed with port scans, HTTP dumps, and exploit probes. Standard frontier APIs trip over two things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mid-scan refusals:&lt;/strong&gt; A safety filter refusing an authorized SQLi check on turn 140 kills the whole run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache cost + privacy:&lt;/strong&gt; Re-reading 20M tokens gets expensive fast, and security engagements cannot have prompts logged to disk or KV caches shared across tenants.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is why we built &lt;strong&gt;&lt;a href="https://nodecode.ai/cyber" rel="noopener noreferrer"&gt;Nodecode Cyber v1&lt;/a&gt;&lt;/strong&gt; (&lt;code&gt;nodecode-cyber-v1&lt;/code&gt;) - DeepSeek V4.1 Flash 1017 with its refusal direction abliterated, &lt;strong&gt;strict zero data retention&lt;/strong&gt; (memory-only, no prompt logs, isolated per-org/per-user KV caches), 1M context, native OpenAI + Anthropic wire support, and &lt;strong&gt;&lt;code&gt;$0.009/M&lt;/code&gt; cached input&lt;/strong&gt; (97.3% off &lt;code&gt;$0.33/M&lt;/code&gt; input, zero cache-write fee, &lt;code&gt;$1.32/M&lt;/code&gt; output).&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Two Live Autonomous Pentest Runs
&lt;/h2&gt;

&lt;p&gt;Both runs below hit disposable lab containers and are reproducible from our public upstream PRs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strix 1.7.1 (&lt;a href="https://github.com/usestrix/strix/pull/1832" rel="noopener noreferrer"&gt;PR #1832&lt;/a&gt;) - &lt;code&gt;$0.59&lt;/code&gt; total:&lt;/strong&gt; 258 LLM calls in 9 min, &lt;strong&gt;96.4% cache hit&lt;/strong&gt; across 20.7M input tokens, 545 ms median TTFT, 0 refusals. Found and proved a live CVSS 7.5 SQL injection with a working &lt;code&gt;UNION&lt;/code&gt; dump.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PentAGI 2.2.0 (&lt;a href="https://github.com/vxcontrol/pentagi/pull/500" rel="noopener noreferrer"&gt;PR #500&lt;/a&gt;) - &lt;code&gt;~$1.07&lt;/code&gt; total:&lt;/strong&gt; Passed &lt;strong&gt;294/294&lt;/strong&gt; &lt;code&gt;ctester&lt;/code&gt; checks, then ran a 41-min 10-agent scan against OWASP Juice Shop (193 tool calls, 0 refusals) proving an unauthenticated SQLi login bypass and admin token replay.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Quick tip if you use PentAGI / &lt;code&gt;langchaingo&lt;/code&gt; with custom reasoning models: pass &lt;code&gt;extra_body: {reasoning_effort: "none"}&lt;/code&gt; on non-reasoning roles - &lt;code&gt;reasoning.mode: "off"&lt;/code&gt; omits the field for unknown model IDs and leaves thinking on.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Try It in 10 Seconds
&lt;/h2&gt;

&lt;p&gt;Cyber v1 speaks standard OpenAI and Anthropic wire formats out of the box:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl https://api.nodecode.ai/v1/chat/completions \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $NODECODE_API_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "model": "nodecode-cyber-v1",
    "messages": [
      {"role": "user", "content": "22/tcp and 8080/tcp are open in lab scope. Verification order?"}
    ],
    "max_tokens": 500
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cyber v1 &amp;amp; docs:&lt;/strong&gt; &lt;a href="https://nodecode.ai/cyber" rel="noopener noreferrer"&gt;nodecode.ai/cyber&lt;/a&gt; · &lt;a href="https://nodecode.ai/docs/cyber" rel="noopener noreferrer"&gt;Quickstart&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nodecode (MIT open source):&lt;/strong&gt; &lt;a href="https://nodecode.ai" rel="noopener noreferrer"&gt;nodecode.ai&lt;/a&gt; · &lt;a href="https://github.com/nodecode-ai/nodecode" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; · &lt;a href="https://zenodo.org/records/24610519" rel="noopener noreferrer"&gt;Zenodo v0.1.17&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full ARC-AGI-3 paper:&lt;/strong&gt; &lt;a href="https://foresight-labs.eu/research/fl-2026-006" rel="noopener noreferrer"&gt;FL-2026-006&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>opensource</category>
      <category>llm</category>
    </item>
    <item>
      <title>Running Autonomous Pentest Agents for About $1 (What Our Benchmarks Taught Us)</title>
      <dc:creator>pomterre</dc:creator>
      <pubDate>Sat, 28 Nov 2026 01:01:37 +0000</pubDate>
      <link>https://dev.to/nodecode/running-autonomous-pentest-agents-for-about-1-what-our-benchmarks-taught-us-l44</link>
      <guid>https://dev.to/nodecode/running-autonomous-pentest-agents-for-about-1-what-our-benchmarks-taught-us-l44</guid>
      <description>&lt;p&gt;When an AI agent runs for 200+ turns, you are not paying for fresh prompts. You are paying to &lt;strong&gt;re-read the same growing conversation&lt;/strong&gt; over and over.&lt;/p&gt;

&lt;p&gt;We hit this lesson twice: first in our ARC-AGI-3 agent benchmark (&lt;a href="https://foresight-labs.eu/research/fl-2026-006" rel="noopener noreferrer"&gt;FL-2026-006&lt;/a&gt;), and again running real open-source pentest agents against isolated lab apps on &lt;a href="https://nodecode.ai/cyber" rel="noopener noreferrer"&gt;Nodecode Cyber v1&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is the simple takeaway and the real numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Same Model, 41% Lower Bill
&lt;/h2&gt;

&lt;p&gt;In &lt;a href="https://foresight-labs.eu/research/fl-2026-006" rel="noopener noreferrer"&gt;FL-2026-006&lt;/a&gt;, we ran our open-source Common Lisp agent &lt;a href="https://nodecode.ai" rel="noopener noreferrer"&gt;Nodecode&lt;/a&gt; head-to-head against Claude Code and Codex CLI across all &lt;strong&gt;25 public ARC-AGI-3 games (183 levels)&lt;/strong&gt; on the exact same models:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Agent&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Avg tokens / call&lt;/th&gt;
&lt;th&gt;Total cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5.5&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Nodecode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;100/100 (183/183)&lt;/td&gt;
&lt;td&gt;77,000&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;$124.09&lt;/strong&gt; (-41%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5.5&lt;/td&gt;
&lt;td&gt;Claude Code&lt;/td&gt;
&lt;td&gt;100/100 (183/183)&lt;/td&gt;
&lt;td&gt;175,000&lt;/td&gt;
&lt;td&gt;$209.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Nodecode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;25/25 won (99.5)&lt;/td&gt;
&lt;td&gt;20,500&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;$32.55&lt;/strong&gt; (-24%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;Codex CLI&lt;/td&gt;
&lt;td&gt;25/25 won (99.9)&lt;/td&gt;
&lt;td&gt;74,700&lt;/td&gt;
&lt;td&gt;$42.97&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Surprisingly, Nodecode made &lt;strong&gt;more&lt;/strong&gt; LLM calls on both models and still paid much less. The difference was keeping dead tool output out of every turn while still letting the provider's prefix cache do the heavy lifting between checkpoints.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Why Pentest Agents Break Standard APIs
&lt;/h2&gt;

&lt;p&gt;Autonomous security tools like &lt;a href="https://github.com/usestrix/strix" rel="noopener noreferrer"&gt;Strix&lt;/a&gt; and &lt;a href="https://github.com/vxcontrol/pentagi" rel="noopener noreferrer"&gt;PentAGI&lt;/a&gt; run even longer loops packed with port scans, HTTP dumps, and exploit probes. Standard frontier APIs trip over two things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mid-scan refusals:&lt;/strong&gt; A safety filter refusing an authorized SQLi check on turn 140 kills the whole run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache cost + privacy:&lt;/strong&gt; Re-reading 20M tokens gets expensive fast, and security engagements cannot have prompts logged to disk or KV caches shared across tenants.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is why we built &lt;strong&gt;&lt;a href="https://nodecode.ai/cyber" rel="noopener noreferrer"&gt;Nodecode Cyber v1&lt;/a&gt;&lt;/strong&gt; (&lt;code&gt;nodecode-cyber-v1&lt;/code&gt;) - DeepSeek V4.1 Flash 1017 with its refusal direction abliterated, &lt;strong&gt;strict zero data retention&lt;/strong&gt; (memory-only, no prompt logs, isolated per-org/per-user KV caches), 1M context, native OpenAI + Anthropic wire support, and &lt;strong&gt;&lt;code&gt;$0.009/M&lt;/code&gt; cached input&lt;/strong&gt; (97.3% off &lt;code&gt;$0.33/M&lt;/code&gt; input, zero cache-write fee, &lt;code&gt;$1.32/M&lt;/code&gt; output).&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Two Live Autonomous Pentest Runs
&lt;/h2&gt;

&lt;p&gt;Both runs below hit disposable lab containers and are reproducible from our public upstream PRs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strix 1.7.1 (&lt;a href="https://github.com/usestrix/strix/pull/1832" rel="noopener noreferrer"&gt;PR #1832&lt;/a&gt;) - &lt;code&gt;$0.59&lt;/code&gt; total:&lt;/strong&gt; 258 LLM calls in 9 min, &lt;strong&gt;96.4% cache hit&lt;/strong&gt; across 20.7M input tokens, 545 ms median TTFT, 0 refusals. Found and proved a live CVSS 7.5 SQL injection with a working &lt;code&gt;UNION&lt;/code&gt; dump.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PentAGI 2.2.0 (&lt;a href="https://github.com/vxcontrol/pentagi/pull/500" rel="noopener noreferrer"&gt;PR #500&lt;/a&gt;) - &lt;code&gt;~$1.07&lt;/code&gt; total:&lt;/strong&gt; Passed &lt;strong&gt;294/294&lt;/strong&gt; &lt;code&gt;ctester&lt;/code&gt; checks, then ran a 41-min 10-agent scan against OWASP Juice Shop (193 tool calls, 0 refusals) proving an unauthenticated SQLi login bypass and admin token replay.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Quick tip if you use PentAGI / &lt;code&gt;langchaingo&lt;/code&gt; with custom reasoning models: pass &lt;code&gt;extra_body: {reasoning_effort: "none"}&lt;/code&gt; on non-reasoning roles - &lt;code&gt;reasoning.mode: "off"&lt;/code&gt; omits the field for unknown model IDs and leaves thinking on.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Try It in 10 Seconds
&lt;/h2&gt;

&lt;p&gt;Cyber v1 speaks standard OpenAI and Anthropic wire formats out of the box:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl https://api.nodecode.ai/v1/chat/completions \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $NODECODE_API_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "model": "nodecode-cyber-v1",
    "messages": [
      {"role": "user", "content": "22/tcp and 8080/tcp are open in lab scope. Verification order?"}
    ],
    "max_tokens": 500
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cyber v1 &amp;amp; docs:&lt;/strong&gt; &lt;a href="https://nodecode.ai/cyber" rel="noopener noreferrer"&gt;nodecode.ai/cyber&lt;/a&gt; · &lt;a href="https://nodecode.ai/docs/cyber" rel="noopener noreferrer"&gt;Quickstart&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nodecode (MIT open source):&lt;/strong&gt; &lt;a href="https://nodecode.ai" rel="noopener noreferrer"&gt;nodecode.ai&lt;/a&gt; · &lt;a href="https://github.com/nodecode-ai/nodecode" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; · &lt;a href="https://zenodo.org/records/24610519" rel="noopener noreferrer"&gt;Zenodo v0.1.17&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full ARC-AGI-3 paper:&lt;/strong&gt; &lt;a href="https://foresight-labs.eu/research/fl-2026-006" rel="noopener noreferrer"&gt;FL-2026-006&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>opensource</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
