<?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: Ben Miller</title>
    <description>The latest articles on DEV Community by Ben Miller (@bmillerz).</description>
    <link>https://dev.to/bmillerz</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%2F4222148%2F30c63fa7-eb4f-4c62-908e-13bdccbe8b68.jpg</url>
      <title>DEV Community: Ben Miller</title>
      <link>https://dev.to/bmillerz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bmillerz"/>
    <language>en</language>
    <item>
      <title>Let’s Talk About Claude Code, Part 2: Container or Sandbox VM?</title>
      <dc:creator>Ben Miller</dc:creator>
      <pubDate>Thu, 05 Nov 2026 16:39:55 +0000</pubDate>
      <link>https://dev.to/watermill/lets-talk-about-claude-code-part-2-container-or-sandbox-vm-302d</link>
      <guid>https://dev.to/watermill/lets-talk-about-claude-code-part-2-container-or-sandbox-vm-302d</guid>
      <description>&lt;p&gt;In &lt;a href="https://dev.to/bmillerz/lets-talk-about-claude-code-part-1-where-is-your-agent-actually-running-35ff"&gt;Part 1&lt;/a&gt; I said every project of mine now runs in a Docker Sandbox, and I promised to explain why I picked that over a plain dev container.&lt;/p&gt;

&lt;p&gt;A dev container is a big step up from running an agent straight on your laptop. It stops the agent wandering into your other repos and your &lt;code&gt;~/.ssh&lt;/code&gt;. It still leaves two gaps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gap 1: the kernel is shared
&lt;/h2&gt;

&lt;p&gt;A container shares your machine's kernel. If anything breaks out, it lands on your host, with all the credentials from Part 1 sitting there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gap 2: Docker inside Docker
&lt;/h2&gt;

&lt;p&gt;Most of my projects need Docker for Postgres, Redis and Mailpit. Giving an agent Docker from inside a container usually means mounting the Docker socket:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker run -v /var/run/docker.sock:/var/run/docker.sock ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;That effectively hands the agent your machine. Anything that can talk to the socket can start a privileged container with your whole filesystem mounted, and you're back where Part 1 started.&lt;/p&gt;

&lt;h2&gt;
  
  
  How sbx closes both
&lt;/h2&gt;

&lt;p&gt;Docker Sandboxes (&lt;code&gt;sbx&lt;/code&gt;) gives each agent its own microVM, with its own kernel and its own Docker engine. The agent can run the whole stack without touching mine.&lt;/p&gt;

&lt;p&gt;Outbound traffic goes through a network policy, so I decide what it can talk to:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sbx policy allow network registry.npmjs.org,packagist.org
sbx policy log    # what was blocked, and why
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Git credentials are injected by the proxy, so the token never sits inside the VM.&lt;/p&gt;

&lt;h2&gt;
  
  
  The trade-off
&lt;/h2&gt;

&lt;p&gt;As I said in Part 1, sbx skips permission prompts by default. That doesn't cure the habit of approving on autopilot. It replaces the prompts with a hard boundary, so the boundary has to be right.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the boundary stops
&lt;/h2&gt;

&lt;p&gt;Part 1 covered the obvious one: the project folder is shared, so the agent can break anything in it. Two less obvious ones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;That includes git history.&lt;/strong&gt; A reset or a deleted &lt;code&gt;.git&lt;/code&gt; folder is as easy to do as a deleted file. Push to a remote often, not just commit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Files it writes can run on your host.&lt;/strong&gt; Git hooks, &lt;code&gt;package.json&lt;/code&gt; scripts and build config all run on your machine the next time you use them outside the sandbox. Review what changed before you run it there.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If that worries you, sbx has a clone mode (&lt;code&gt;--clone&lt;/code&gt;). The agent works in its own git clone, and nothing reaches your checkout until you fetch it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next up
&lt;/h2&gt;

&lt;p&gt;Network rules: what your agent should be allowed to reach.&lt;/p&gt;

&lt;p&gt;If you're already sandboxing agents, what's on your allowlist? I'm curious where people draw the line on package registries and third-party APIs.&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>docker</category>
      <category>security</category>
    </item>
    <item>
      <title>Let's Talk About Claude Code, Part 1: Where Is Your Agent Actually Running?</title>
      <dc:creator>Ben Miller</dc:creator>
      <pubDate>Wed, 04 Nov 2026 17:01:17 +0000</pubDate>
      <link>https://dev.to/watermill/lets-talk-about-claude-code-part-1-where-is-your-agent-actually-running-35ff</link>
      <guid>https://dev.to/watermill/lets-talk-about-claude-code-part-1-where-is-your-agent-actually-running-35ff</guid>
      <description>&lt;p&gt;I've watched a coding agent wander out of its project folder and start reading other client repos on the same laptop. It wasn't doing anything malicious. It was trying to be helpful. But some of those repos had production credentials in them, and they all got rotated that afternoon.&lt;/p&gt;

&lt;p&gt;Most discussion about coding agents is about which model to use. Much less of it covers where the agent runs, and that's where most of the risk is.&lt;/p&gt;

&lt;h2&gt;
  
  
  What an agent on your host can reach
&lt;/h2&gt;

&lt;p&gt;Run Claude Code directly on your machine and it runs as you. Whatever your user account can read, it can read too, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SSH keys in &lt;code&gt;~/.ssh&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Cloud credentials in &lt;code&gt;~/.aws&lt;/code&gt;, &lt;code&gt;~/.config/gcloud&lt;/code&gt; and similar&lt;/li&gt;
&lt;li&gt;Every &lt;code&gt;.env&lt;/code&gt; file in every project on the disk&lt;/li&gt;
&lt;li&gt;Every other repo you've cloned, including ones for other clients&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last one is what caught me out. Nobody worries about the agent reading the repo it's working in. The problem is everything else that happens to be on the same disk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why permission prompts aren't enough
&lt;/h2&gt;

&lt;p&gt;Claude Code asks before it runs commands or touches files outside the working directory. That works for the first few prompts. By the fortieth in a session you're approving without reading, or you've turned on skip-permissions so they stop interrupting you.&lt;/p&gt;

&lt;p&gt;Prompts depend on a human paying attention every time. That's a weak control to build on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I do now
&lt;/h2&gt;

&lt;p&gt;Every project now runs in a Docker Sandbox (&lt;code&gt;sbx&lt;/code&gt;). Each agent gets its own microVM, and the only part of my machine it can see is the project folder.&lt;/p&gt;

&lt;p&gt;Two things to know before you switch:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;sbx starts Claude Code with permission prompts skipped by default.&lt;/strong&gt; That's deliberate, because the VM is the boundary instead of the prompts. It does mean the agent will act without asking inside the sandbox.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your project folder is still shared.&lt;/strong&gt; The agent can delete or break anything in the repo. Commit often, and keep secrets out of the working tree.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Next in the series
&lt;/h2&gt;

&lt;p&gt;Part 2 covers why I went with sbx over a plain dev container, and what a container doesn't protect you from.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;How are you running your agents? Directly on the host, in a container, or in a VM? Tell me in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>security</category>
      <category>docker</category>
    </item>
    <item>
      <title>We checked over 2,000 AI answers for 14 businesses. Four times out of five, the business wasn't named.</title>
      <dc:creator>Ben Miller</dc:creator>
      <pubDate>Mon, 02 Nov 2026 12:01:13 +0000</pubDate>
      <link>https://dev.to/referenced-ai/we-checked-over-2000-ai-answers-for-14-businesses-four-times-out-of-five-the-business-wasnt-38p0</link>
      <guid>https://dev.to/referenced-ai/we-checked-over-2000-ai-answers-for-14-businesses-four-times-out-of-five-the-business-wasnt-38p0</guid>
      <description>&lt;p&gt;We asked ChatGPT, Perplexity and Google AI Overviews the questions real buyers ask, for 14 different businesses, through October 2026. Across 2,172 answers, the business being asked about was named 22% of the time. In 72% of answers, the AI named other companies and left it out.&lt;/p&gt;

&lt;p&gt;Full disclosure: I'm Ben, and I built &lt;a href="https://getreferenced.ai" rel="noopener noreferrer"&gt;Referenced&lt;/a&gt;, a tool that tracks how brands show up in AI answers. These figures come from the scans it ran. The businesses we track are anonymised, so no one is named here.&lt;/p&gt;

&lt;h2&gt;
  
  
  How often each engine named the businesses
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Engine&lt;/th&gt;
&lt;th&gt;Answers&lt;/th&gt;
&lt;th&gt;Named the business&lt;/th&gt;
&lt;th&gt;Named others instead&lt;/th&gt;
&lt;th&gt;Brands per answer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT&lt;/td&gt;
&lt;td&gt;724&lt;/td&gt;
&lt;td&gt;28%&lt;/td&gt;
&lt;td&gt;68%&lt;/td&gt;
&lt;td&gt;5.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Perplexity&lt;/td&gt;
&lt;td&gt;724&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;74%&lt;/td&gt;
&lt;td&gt;5.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Google AI Overviews&lt;/td&gt;
&lt;td&gt;724&lt;/td&gt;
&lt;td&gt;18%&lt;/td&gt;
&lt;td&gt;73%&lt;/td&gt;
&lt;td&gt;4.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;All three&lt;/td&gt;
&lt;td&gt;2,172&lt;/td&gt;
&lt;td&gt;22%&lt;/td&gt;
&lt;td&gt;72%&lt;/td&gt;
&lt;td&gt;5.0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;What surprised me was how crowded the answers were. The average answer named five brands, and more than half of ChatGPT's and Perplexity's named five or more. Even with that many spots on the list, the businesses we tracked usually didn't get one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The engines rarely agree
&lt;/h2&gt;

&lt;p&gt;When all three engines answered the same question on the same day, they all named the business only 10% of the time. On 64% of questions, none of them did. When a business did show up, nearly half the time it was on one engine only, so seeing your name in ChatGPT doesn't mean you're mentioned by Perplexity or Google.&lt;/p&gt;

&lt;h2&gt;
  
  
  Some businesses do far better than others
&lt;/h2&gt;

&lt;p&gt;The best-placed business was named in 73% of its answers. The next best managed 37%, and two of the 14 weren't named in a single answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Your own website is a small slice of what AI reads
&lt;/h2&gt;

&lt;p&gt;The models cite plenty of sources: about 11 links per answer from ChatGPT, 10 from Perplexity and 7 from AI Overviews. Only 1.5% to 3% of those links pointed at the website of the business being asked about. ChatGPT and Perplexity linked to that site in 17% of answers, AI Overviews in just 8%.&lt;/p&gt;

&lt;p&gt;Most of the links went to other companies' websites. AI Overviews also leaned on forums and user posts far more than the other two (16% of its links, against 2 to 3% for ChatGPT and Perplexity). And Facebook turned up among the sources for all 14 businesses.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do with this
&lt;/h2&gt;

&lt;p&gt;Start with the names that keep appearing where yours doesn't, and read the pages cited next to them. That's the closest you'll get to seeing what the models think the right answer is. Then spend your effort where they're actually reading: directory listings, social profiles, review sites and other people's articles.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we measured this
&lt;/h2&gt;

&lt;p&gt;The data covers 14 unrelated businesses, mostly small and mid-sized firms in retail, professional services, software and travel, with our own site excluded. Each business had its own set of 15 questions, written the way its buyers would ask them. We dropped any question that already contained the business's name, leaving 203 questions across the 14.&lt;/p&gt;

&lt;p&gt;Every business's questions went to ChatGPT, Perplexity and Google AI Overviews in scans run between 1 and 31 October 2026. The engines searched the web for all but 3 of the 2,172 answers, and none of the answers failed. An answer counts as naming the business when its name or a known alias appears in the text.&lt;/p&gt;

&lt;p&gt;Some businesses scanned more often than others, so every percentage is worked out for each business first and then averaged across the 14. A business that scanned daily counts exactly as much as one that scanned once.&lt;/p&gt;

&lt;p&gt;Fourteen businesses is a small sample, and AI answers change from day to day, so treat any one business's result as a snapshot.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>marketing</category>
      <category>chatgpt</category>
    </item>
  </channel>
</rss>
