The threat model
Each threat below names the mechanism that answers it.
- Scanners and automated attackers on the internet. A default-drop firewall built from the declared surface, and decoys at the paths scanners try first, serving fake secrets made for each build. A planted comment names a path only an automated agent would fetch. Rules block decoy hits, agent probes and SSH brute force within a second, with no model call, for longer on a repeat offence. The lookout reads the web server’s access log and names a reconnaissance scan by what it asks for: an env file, a git repository, a backup of a configuration file, an admin panel the site does not have, a scanner tool’s own name. Two such requests in an hour block the address the same way; the query string never leaves the server.
- Code execution through a web application. Rules for a shell, interpreter or downloader started by a web, PHP or cron process, for a file run from a web root or a temporary directory, and for a script written into a web root. Then containment from the catalogue, and quarantine of the file the attacker wrote.
- A foothold that tries to stay. Host-wide rules, whichever program was exploited: writes to crontabs, units, sudoers, account files, SSH keys, shell start-up files and the preload file; sudo and setuid helpers; new listeners; reads of secrets; kernel module and BPF loads; writes under
/usr. The inventory catches what started before the rules loaded. - A stolen key or password. Every SSH login is recorded. A login from an address you did not list asks “Was this you?”, and a “no” blocks the address. A login from an address on a published threat list is blocked at once.
- Talking out to a controller. An egress table per service, a rule for connections by programs that are not services, and an outbound chain that logs every new flow nothing else accounts for. A destination on a published threat list is denied and investigated.
- Words written into the logs to steer the agent. What the model reads is fenced as untrusted. It can only choose among the addresses and the service the record already holds, and only actions in the catalogue.
- A server that is taken over. The control plane, the agent and the receipt key live on another machine. A server’s token can send only its own heartbeats, events, results, manifest and inventory. The actor that executes on the server checks every action again and has no IP sockets.
What it does not catch
- The exploit itself. What follows it is caught: a shell, a write, a connection, a login. A kernel exploit that does nothing afterwards is not.
- Denial by the rule pack. The Tetragon rules report and never deny today. Enforcement is the systemd sandbox and the egress tables, after promotion.
- A stopped sensor. A sensor that is not running sees nothing.
- Late starters. Processes started before the rule pack loaded are not followed as a service’s children. Restart the web, PHP and cron services once after the first load.
- Some flows, by process. A UDP socket that sends without connecting, and a raw socket, are seen per flow by the outbound chain, not per program.
- A control plane whose key is taken. It can sign anything. The chain cannot show receipts removed from the end until the next one is written. A write-once copy kept outside the control plane closes that gap; running it is the deployment’s job.
The machinery
Whitecell configures ordinary Linux machinery from one manifest and reads what it reports.
| Layer | Machinery | What it does |
|---|---|---|
| Skin | nftables inet skin, decoys in the web server | Default-drop inbound, block sets, the origin reachable only through a CDN or tunnel when declared, an outbound chain that only logs. |
| Self | systemd drop-ins, nftables per cgroup | Sandboxing on promotion with the directories the service was seen writing; an egress table per service. A distribution’s own AppArmor profile in enforce mode is left in charge. |
| Sensing | Tetragon kprobes, journald, whitecelld | Twelve host-wide detections in monitor mode and one learning rule; logins; one typed event stream. A hit its own policy could not have posted is counted as the sensor’s, not as an attack. |
| Response | Control plane, actor | A fixed catalogue, policy, quotas, autonomy, a kill switch and signed receipts. |
What the agent can do
Only ask for actions from a fixed catalogue: block an address, isolate or freeze a service for a limited time, restart it, end a process its case’s exploitation finding named, take a snapshot, check a file against its package, quarantine a file, or add a note. It cannot write policy, open a shell, promote a service, restore a file or update a server, and it has no network path to your servers.
- A guard limits it to the addresses, the service and the processes in the item it is working, and never Whitecell’s own services.
- The control plane’s policy checks the schema, the never-block list, hourly quotas, the kill switch and the server’s autonomy, which decides what waits for a person.
- The actor on the server checks every action again, adds the server’s own addresses to the never-block list, and runs one fixed command for it.
- An exception names the trigger key from the record, never text the model wrote. The control plane approves one itself only for a benign pattern seen on two days or more, never on a critical rule, and never on a server set to Observe.
- The kill switch stops every action on every server. On a server,
/etc/whitecell/actions.disabledstops its actor. - At the monthly spend cap the agent pauses and the rules keep blocking.
Receipts
Every step of every action is a receipt: requested with the policy decision, approved or declined, dispatched, executed, reverted. So is every change to the organisation: settings, the never-block list, autonomy, exceptions, promotions, decisions about destinations and updates. Each is canonical JSON signed with Ed25519, and carries its sequence number and the previous receipt’s signature. A change and its receipt are written in one transaction. The executed receipt carries the exact command the actor ran and a hash of its output.
# export the chain from the console, or GET /v1/receipts/export, then anywhere:
whitecell receipts verify export.ndjson --public-key key.json
To anyone with the public key, a valid export proves each receipt was signed by the control plane’s key and has not changed since, and that none is missing between its first and last. It does not prove the control plane recorded the truth. Keep the public key’s id somewhere the control plane cannot change it, so a swapped key shows.
What leaves your server
The daemon sends typed events, heartbeats and the inventory to the control plane:
- Rule hits: the rule, the program and its parent chain, the file path, the destination or bound address and port, and process arguments cut to 200 characters with likely secrets replaced. The source line comes along, cleaned the same way and cut to 600 characters.
- Perimeter events: decoy hits and agent probes with the visitor’s address, user agent and requested path, and the country behind Cloudflare; requests shaped like an attack or like a reconnaissance scan, with the path, the class and the lookout’s own words for what was asked for, never the query string; scans and CrowdSec alerts.
- Logins: the account, the source address, the method and the key’s fingerprint, and what the session did, by kind, with a few examples.
- Heartbeats: the release, each service’s status and mode and the package and version of its program, block counts, the server’s resolvers, and directories each service writes.
- The inventory: listeners, units, cron files and the programs they run, accounts that can log in, sudoers files, unit files, local programs with their checksums, and the package that owns each.
- Snapshots, only when an action asks for one: unit state, the process tree with cleaned command lines, sockets, a list of recently written scripts, and recent events.
Never sent: file contents, request or response bodies, or the contents of SSH keys. The one file sent whole is the manifest. A quarantined file stays on the server. What leaves your server has every record, field by field.
Where it goes
| Recipient | What | When |
|---|---|---|
| The control plane | Everything above | Always. Ours on the managed service, yours when you host it. |
| The model provider | The record of one queued item, fenced as untrusted: the trigger, its cleaned events, a snapshot excerpt, the server’s standing summary and your notes. The facts about a destination the rules left unsure. Daily digests and the weekly brief. | Only for what the rules could not settle. Anthropic by default; self-hosted, the provider you configure. |
| Team Cymru’s IP-to-ASN service | DNS questions about a public address: who announces it. The reverse name is asked of the public DNS | For destinations and visitors the control plane decides. Off with the enrichment setting. |
| OSV.dev | The distribution and release, and the source package and version of each declared service, to look up known vulnerabilities. Never a server, a service, an address or an organisation. | At most once a day per package version, for Ubuntu, Debian, AlmaLinux and Rocky Linux servers. The answer is advisory and never gates a detection or an action. Off with the enrichment setting. |
| GreyNoise, Spur | A public address | Only with a key configured, and only for an address that was blocked, opened a case, logged in, or hit decoys repeatedly. |
The threat lists (abuse.ch Feodo Tracker and ThreatFox, Spamhaus DROP) are downloaded by the control plane; nothing is sent to them. Two lookups are on by default: Team Cymru, for the network that announces a public address, and OSV.dev, for known vulnerabilities of package versions. One switch turns every outside lookup off: on the managed service, operators and owners change it in the console’s settings, under Lookups; self-hosted, it is the control plane’s enrichment setting. Beyond these, Whitecell sends nothing to a service the operator did not configure. Everything except the runtime agent works with no model at all.
Access to the console
- No passwords. Sign-in is a passkey. A recovery code opens a session that can only add a new passkey.
- Adding or removing a passkey, new recovery codes, invitations, role changes, turning actions back on, adding an address the system must never block, changing how much a server does on its own, retiring a server or giving it a new pairing code, loosening a limit in Settings, and downloading your data need a passkey confirmation from the last ten minutes.
- Owners, operators and viewers. Viewers read; operators answer, approve and act; only owners change spending and retire a server.
- Every change a person makes is signed onto the record with their name.
In transit
- Servers talk to the control plane over TLS and pin its certificate, so a different certificate is refused even if a public authority signed it. A server pairs over https only; plain http is allowed only to loopback.
- The installer downloads over https only, and checks the release and Tetragon against SHA-256 hashes pinned in the script before anything runs.
- An update runs only the script whose SHA-256 the control plane named, and only when it pins the release that was asked for.
- Tokens are stored as SHA-256 hashes. Pairing codes work once and expire. Secrets travel in files or on standard input, never in a command line, because Tetragon exports process arguments.
What exists and what does not
Plain facts in place of a badge.
- Signed releases. Each release is signed with an Ed25519 key its publisher keeps offline, so a control plane that is taken over can serve an installer but cannot sign one. The signature covers the release’s name and the SHA-256 of its installer, and the installer pins the hashes of the release and of Tetragon. The installer writes the public key to
/etc/whitecell/release-key.pub. From then on the server runs an update only when its signature verifies with that key, and checks it before it downloads anything. Each update’s result names the id of the key that verified it.
# on a server: the id of the release key it trusts, the first 16 hex characters of the key's SHA-256
base64 -d /etc/whitecell/release-key.pub | sha256sum | cut -c1-16
- A first install, and an update run by hand, check no signature. You check the installer against the SHA-256 the console shows beside the command, and the installer then checks the release and Tetragon against the hashes it pins.
- Secrets on standard input, never in arguments. Pairing codes and tokens are read from standard input or from a file, never from a command line. Tetragon exports every process’s arguments, so a secret on a command line would travel with the event stream to the control plane and into a model’s context. The daemon also replaces likely secrets in the arguments it reports. On a server, its credentials live in a file only root can read.
- The daemon reads and never changes policy. It reads the kernel log, the journal lines of PID 1 and sshd, Tetragon’s export, the decoy log, CrowdSec’s log and the web servers’ access and error logs. It runs as root in a systemd sandbox with no capability, writes only its own state and event stream, reads nothing under
/home, and talks only to the control plane. - What changes a server. The actor, which runs only actions from the fixed catalogue and checks each one again, and
whitecell apply, which installs Whitecell’s own files. Neither flushes a ruleset or edits another tool’s nftables table, loads or changes a distribution’s AppArmor profile, changes SELinux’s mode, or changes the owner or mode of an existing directory. An update restarts only the daemon and the actor, never a workload, and the uninstall takes Whitecell off and nothing else. - No SOC 2 or ISO 27001 report. There is none yet. In its place, this page and the privacy policy say what exists, and the code that runs on your servers opens with the first release made for users.
- Who runs the managed service. Whitecell is a Point Origin project. Point Origin LLC, a Delaware limited liability company, runs the managed service from the United States, on Amazon Web Services in the us-east-2 region, Ohio, with a control plane for each organisation. Cloudflare carries the website, the console and the installer, Amazon SES sends our email, and Anthropic’s Claude reads what the rules could not settle. Staff reach the machine through AWS Systems Manager, which records each command; it is not reachable by SSH.
Every record a server sends, field by field, with what carries visitors’ addresses and how long it is kept: What leaves your server.
Report a vulnerability
While Whitecell is alpha the repository is private, and there is no public release to report against. A private reporting channel opens with the first release made for users, through the repository’s Security tab; do not open a public issue. Expect a first response within 14 days. Fixes land on main, since there are no supported releases yet.
In scope: the compiler, the daemon, the agents, the skin layer and the role files the compiler reads. Ubuntu, Tetragon, AppArmor, CrowdSec and other upstream components have their own processes. Please test only against servers that are yours.