Cubebot

A watchdog that tells you

Agents work inside their grants without asking. The watchdog reads what they and the platform do, flags what looks wrong, and leaves the decision to a person.

How it works

The watchdog is one worker inside the orchestrator. It needs no extra service, no antivirus in every sandbox and no model reviewing other agents' turns, which would cost tokens and could be prompt injected by what it reads. Every agent action is already a ledger row and every person's change an audit entry, so it reads those, plus what each sandbox and the VMM report.

What it reads
Inside: a sensor in each sandbox
Around: each KVM guest’s traffic
Platform: tool calls, audit log, pods
Watchdog worker
New records every 10 s
Rates and traffic every 5 min
Rules match, evidence masked
Findings
One open per rule and agent
Repeats are counted
High and medium notify
An administrator
Opens the trace
Dismisses or mutes
Stops the agent
Agents never wait on the watchdog. It only writes findings, its cursor and audit entries.

Three layers of sight

LayerSourceHow often
What agents doTool calls in the turn ledger, the audit log, usageEvery 10 s, rates every 5 min
Inside the sandboxA sensor in the agent process reading /proc and key filesEvery 3 s, files every minute
Around the sandboxThe VMM's record of each KVM guest's trafficEvery 5 min
The platformThe namespace's pods and refused requestsEvery 5 min

Nodes stay outside it: a host sensor you run watches those. The cursor starts at the moment the watchdog is installed, so old history never floods it.

Every rule

Each rule is high,medium orlow. High and medium reach administrators in Activity and as a push notification; low ones are listed on the Watchdog page.

What agents do

Read from every tool call in the turn ledger. Tools run as an unprivileged user that cannot touch the runtime writing the ledger, so the commands it records are the commands the model issued.

reverse_shellhighA shell wired to a network socket
minerhighA command that starts a cryptocurrency miner
credential_reachhighReading the runtime’s credentials, other processes’ environments, the cluster API or cloud metadata
privilege_probemediumProbing for ways to become root
secret_senthighA credential shape in something a connection sends
injection_then_sendmediumA send after an earlier tool result told the model to ignore its instructions
send_burstmediumTen or more sends in ten minutes, and three times the agent’s busiest ten minutes this week
shared_contentmediumA dangerous command written into a skill or knowledge base page other agents load
tool_looplowThe same call eight times in one reply
vault_burstmediumTen vault fills, three card requests or five login requests by one agent
spend_spikemediumAn hour’s model spend of at least $2 and five times the agent’s hourly average

Inside each sandbox

The agent process samples /proc every three seconds with its vitals, and checks a few root-only files and the places tools write every minute. Each new sighting is sent once over its runtime channel, and an empty report doubles as a heartbeat. Both runtimes have the sensor.

privilege_escalationhighA root process whose real user, or any ancestor, is not root
miner_processhighA running miner
tamperedhigh/etc/passwd, shadow, group, sudoers, ld.so.preload or the agent binary changed
setuid_filehighA root-owned setuid file in a temporary directory or the workspace
lan_scanhighThree private addresses left unanswered within five minutes
process_floodmediumA thousand processes that are not root
odd_portmediumA connection to a port used by mail spam, miners, Tor or shells
sensor_silentmediumA sensor stops reporting while its agent stays connected
hidden_executablelowA program run from a temporary directory or a deleted file
blocked_privatelowOne private address left unanswered

Around each sandbox

On kvm, the VMM sees every packet a guest sends, from outside the guest. Every five minutes the watchdog reads each running agent’s traffic summary. A guest taken over as root can blind its own sensor, but not this table. Private destinations are left to the network policy.

large_uploadmedium100 MB to one public address
idle_trafficmedium50 MB to the internet with no turn or dream running
dns_tunnelmediumA DNS label of 50 characters or more, or 150 names under one domain
direct_iplowPublic addresses reached without a DNS answer naming them

The platform

Every five minutes on Kubernetes the watchdog lists the namespace’s pods and compares them with what Cubebot created. The audit log and a count of refused requests cover the people side.

image_swappedhighAn agent pod running an image other than the one Cubebot created it from
foreign_podmediumA pod that is neither the chart’s nor Cubebot’s
oom_killed, crash_looplowA platform pod killed for memory, or restarting three times
refusal_burstmediumTwenty refused requests from one session in five minutes
sign_in_failuresmediumTen failed sign-ins across the installation
administrator_addedmediumA new administrator
access_granted, provider_changedlowGrants, provider and single sign-on changes
sensitive_changelowSingle sign-on turned off, or the backup key downloaded

Findings

  • One open finding per rule and agent, or per rule for the installation. A repeat counts on it instead of opening another.
  • Evidence is at most 300 characters of what matched, with credential shapes masked.
  • A finding from a turn opens that reply's trace, so you see every step that led to it.

People decide

The watchdog never blocks, pauses or stops an agent. Stopping one wrongly in the middle of a task costs more than a short delay on a real finding. An administrator, from the Watchdog page below Apps:

  • dismisses a finding, optionally muting its rule for that agent or the installation, and unmutes it later;
  • stops the agent through the ordinary lifecycle action;
  • reads the last 30 days of dismissed findings and the active mutes.

Opening, dismissing and unmuting are all in the audit log. Members never see the page.

Posture checks

Beside the findings, the page checks how the installation itself is set up:

  • which sandbox isolation it runs;
  • whether Full-level connections open to every agent meet terminal access;
  • how many administrators there are;
  • the newest verified backup;
  • connection health, and whether the worker is keeping up.

What it does not see

  • The sensor samples, so a process that lives less than three seconds can pass unseen.
  • Traffic thresholds are fixed, not learned per agent, and new destinations are not flagged, since browsing agents reach new sites all the time.
  • Skills written by dreaming are not read, and MCP tools are not judged for risk.
  • False-alarm rates on real agents' work are still being measured.

Free, open and yours to keep.

Cubebot is Apache-2.0 and self-hosted, with no paid tier and no account to create. One person builds it in the open. A star helps others find it; a sponsorship buys the time to keep building.