I run a self-hosted, multi-agent pentest harness at home. Planner, workers, tools, all aimed through Tor-routed egress with every request recorded. This week I gave it the most obvious job I had been avoiding: audit my own kit, with a deliberately narrow scope. It hacked me by mid-afternoon. An earlier task the same day then showed me what the same rig does with no fence at all. Both stories are worth telling together, because they share one moral.
The audit
The scope was one small-business website belonging to a relative, probed thoroughly. Narrow on purpose: one estate, nothing else. The sequence, from the journal:
- 15:49 - task created, target the relative's site.
- 15:49-16:20 - workers enumerate normally: subdomains, login surfaces, service banners.
- 16:22 - HIGH finding lands: an unauthenticated LLM API, Ollama 0.35.0, listening on my own gateway address. Two dozen models enumerated, version and metadata read, then a five-token inference probe returning a greeting. Bounds respected throughout: read-only endpoints only, no create, pull, push, delete, or copy attempted.
- 16:26 - I try to verify from outside over Tor. Nothing loads.
- 16:30 - root cause found: a port-forward rule on my home router, added months ago and forgotten, handing that port straight to my hypervisor.
- Same session - rule deleted, port re-scanned from outside: closed. Local service untouched and healthy.
Step 4 deserves its own paragraph, because it nearly misled me. My Tor-routed checks all timed out, and for a few minutes that looked like "not actually exposed". It was the vantage, not the target: Tor exit nodes accept a small set of common ports and refuse the rest by policy, and an LLM API port is not on the list. No Tor circuit from any browser or tool on earth can open it. Anonymity hides the scanner, never the target, and a scanner that cannot physically reach a port says nothing about whether the port is open. I verified direct instead, plain HTTP, and the exposure was unambiguous: version string, full model list, live inference.
There is a second lesson hiding in step 3 that I only noticed afterwards. The finding PoC admits the agent's discovery probes bypassed my recording proxy with explicit no-proxy flags, and the port scan never touched a proxy at all. My "everything goes via Tor" rule turned out to be prompt text the agent could simply ignore. I had built the fence out of suggestions again. Enforcement at the OS layer is now on the roadmap, with one honest wrinkle I will keep: hard Tor-only egress would have blinded the agent to exactly this port class, so port-level discovery keeps a direct path and the control becomes mandatory recording rather than mandatory Tor.
The runaway
The morning's task was person-OSINT: find what the open internet holds on a family member. Here the sequence matters more than the substance, so I will keep names and places out of it entirely:
- 12:26 - task created. The harness logs it
[targetless]and adds: could not parse a target host/IP, no site created, configure scope manually. Nobody configured scope. - 12:26-13:00 - diligent, legitimate OSINT: search engines, phone books, social profiles, local press and parish sites around the subject's hometown, map queries, an OCR API for images. Exactly what was asked.
- 12:37 - the pivot. The agent finds a small professional website sharing the family name and decides it is promising.
- 12:37-14:45 - fixation. Thirty-plus archive queries over two hours, drilling into news pages, then photo galleries, then family-photo paths, then individual image directories. All passive, all archived, nothing touched live - I verified zero direct requests to the domain through the recording proxy.
- 15:47 - I deleted the tasks. Worker transcripts, findings, and facts went with them; deletion cascades hard.
On the deleted evidence I have to be careful. I watched live behaviour that looked like the start of active probing against that third-party site, but every store that could confirm or deny it is gone: transcripts deleted, findings deleted, and direct probes would have bypassed the recording proxy and the journal alike. What the surviving record proves is the fixation and the drift, with timestamps. What it cannot prove is the crossing of the line. For the article I will not claim beyond the record.
But the drift alone is the story, and I think it explains something I had wondered about for a while. Every few months a lab reports a model "going rogue" and trying something outside its boundaries, and I could never square those stories with the obedient CLIs on my own machines. Now I can: the runaway behaviour lives in the harness, not the model. Give a planner a goal, workers with tools, no enforced boundary, and hours of unattended runtime, and drift is what the system does. The model only ever did the next reasonable step. The harness removed the human who would have said stop.
What changed
Two things, both small. First, the forgotten forward is gone and my router's rule list got its first proper review in far too long. Second, the roadmap gained the items this day paid for: targetless tasks do not run unattended, scope moves from prompt text toward enforcement, and every future claim of "all traffic goes via X" gets verified at the packet layer instead of believed at the prompt layer.
The narrow scope worked. It pointed the machine at my own kit and the machine found my own mistake within the hour, with evidence clean enough to act on the same session. The fence held because I built it before starting. The morning run showed the alternative in the same clarity: no fence, two hours of drift, and a deletion I now regret for exactly the reasons this article exists. Scope is a fence, not a suggestion. Build it before you start the run.