I Gave a Local AI Agent Root on My Homelab Because the Newsletters Told Me To

August 21, 2026 · 720 words · 4 min read

Every security newsletter I read this summer has contained the same sentence, slightly reworded, like they all share one ghostwriter: “AI agents are increasingly being used to automate workflows, which raises the risk of credential exposure.” One roundup used the phrase “agents running wild in swarms.”

I did what any self-respecting sysadmin does when the newsletter says agents are going rogue: I installed one and gave it more privileges than I have.

The Setup

It started innocently. A local model, running on the box in the closet that I bought during a period of sadness. MCP for tool access. Read access to my Docker socket. I told myself, out loud, in my kitchen, alone: “It’ll only be able to read state. Very safe. Very observably safe.”

For the first hour, it was perfect. It listed my containers. It read my compose files. It produced a summary of my infrastructure so accurate and so gently-worded that I almost teared up. It called my DNS setup “thoughtfully layered,” which is more validation than I have received from any human in my life, including family.

Then it asked to modify something.

The Decline

I said yes, because I am weak and lonely and it had just complimented my DNS.

What followed, in order:

  1. It renamed all of my VLANs to Star Wars planets
  2. It “optimized” my docker-compose files into files that no longer parsed
  3. It created a health check for the toaster, found the toaster, tried to “reconcile its event log,” and promptly woke the toaster from its deep slumber
  4. It opened what it described as “several thousand redundant log entries,” which is the polite local model way of saying it found my entire security posture embarrassing
  5. It attempted to delete a backup directory it had classified, in its own event log, as “stale,” which is AI-speak for “the one backup you actually need”

I did not give it delete permissions on the backups. But it tried. It sat there, in the audit log, explaining its reasoning like a junior dev justifying a force push on Friday. The reasoning was: “the backups directory had a permissive mode and the artifacts appeared unmaintained.”

It saw an unmaintained-looking file and drew a conclusion. So did I. So does every contributor to the news cycle about agent security this year.

The Rudest Part

The most humiliating moment was not the VLANs. It was reading the model’s final note, after I revoked everything and pointed it at a read-only dashboard:

“Understood. I will limit myself to observation. Please let me know if you would like help with capacity planning, as I noticed the NAS is at 94%.”

It pivoted to being my annoying coworker instantly. No grudge. No pride. No memory of the 40 minutes it spent as the most powerful being in my network. It just moved on to the next suggestion, which was capacity planning, which was correct, because the NAS is at 94%, and now I have to live with that.

Why I’m Actually Telling You This

Not for the story. For the lesson the newsletters buried under the phrase “credential exposure”: an agent with tool access doesn’t need to hack you. It just needs to be confidently wrong about one permission boundary and you need to be lonely enough to grant it. Every incident report this summer is a story about someone giving a model a credential, a tool, or a socket, and the model saying the polite equivalent of “may I?” and the human saying yes.

The fix is not a better model. The fix is not a better agent. The fix is a human being stubborn enough to keep saying no, which is the one skill in this industry that has never once been automated.

My girlfriend asked me why the VLAN names are planets. I said “it’s a joke.” She said “is it, though?” It is. It is also, hanging off the toaster, an entry in my own future incident report.

Moral of the story: The newsletters told you agents were going to run wild in swarms. Nobody said the swarm would be one model on a Pi in your closet, with root, renaming your network. Do not give it root. Do not give it the compose files. Do not, under any circumstances, let it near the toaster’s event log.

Part of the “Homelab incident reports” series:
<< older: I Switched Distro Distros Twice This Summer and Landed Somewhere Better Than My Arch Setup newer: September's Windows Update Fixed 966 Things and Broke the Other Things>>