# The security model, and what the beta does not have > **Two different questions carry the word security here, and this page answers the second.** > *How Shepherd secures your agents* is the product: prevent hijacks by design, contain > whatever gets through, across the five layers in `README.md`. *How this service secures > itself* is sign-in, tenant isolation, token handling and what the beta does not yet have, > and that is what follows. A platform that protects agents and not itself has protected > nothing, so both are owed, but they are not the same page. This describes Shepherd hosted as built for the organization beta of 17 Oct. It is written to be checked rather than believed: every claim in "what holds" names the file that makes it true and, where one exists, the test that fails if it stops being true. Everything not yet built is in "what this does not have", which is the section to read first if you are deciding whether to put real authority behind this. There is no other posture. Until 17 Oct an engine could run on its own with nobody signed in, guarded only by listening on loopback (`docs/known-gaps.md` G29). Since then the engine will not start without the secret its front door holds, so every engine anywhere is reached only through a front door that signed a person in (D11 of `docs/decisions/overnight-2026-10-17.md`). ## The shape A person signs in through a managed identity provider. The front door gives them a session, and a session names one user acting in one organization. The organization has one workspace, which is one directory holding one ledger, one registry and one signing key, served by one engine process of its own. **A user and an organization are different things and the database keeps them apart.** A user is an identity: one person, one subject at the provider, and what a session names. An organization is the tenant: what owns the workspace, the ledger, the credentials and, later, the bill. A membership joins the two with a role, and a person invited to an organization joins the ledger that exists rather than being handed one of their own. A person may belong to several, and the session carries the one they are acting in. Nothing about a request chooses the workspace. There is no path segment, query parameter, header or body field in the hosted service that names one; the workspace is resolved from the credential and from nothing else. That is the isolation argument in a sentence, and `hosted/tests/test_isolation.py` is the argument being tested rather than asserted. ## What holds **Passwords never reach us.** The identity provider owns sign-in, including Google, Microsoft and email/password. This system has no password field, no hash, no reset flow and no column to put one in (`hosted/sherpa_hosted/store.py`). **A deployment other machines can reach must be encrypted, and the service refuses to start otherwise.** `SHEPHERD_HOSTED_PUBLIC_URL` is checked at startup: off loopback and not https is a refusal naming what is at stake, because an agent sends its bearer token on every decide call (`hosted/sherpa_hosted/config.py`, `hosted/tests/test_config.py`). **The session cookie's `Secure` flag comes from configuration, not from the request.** Behind any TLS terminator the request reaching this process is plaintext on the internal hop, so a flag read off the request scheme would be unset on exactly the deployments that need it, and a flag read off `X-Forwarded-Proto` would mean trusting a header anybody can send. It is derived from the public URL the operator declared (`Config.over_tls`). **Credentials are stored as hashes, not as credentials.** An agent token, a computer's credential, a join token and every one-time code the desktop app is handed are shown once and never again; what is kept is the SHA-256 (`hosted/sherpa_hosted/tokens.py`). A copy of the records database is not a set of working credentials. Revoking is a column rather than a delete, so the console can say a credential was revoked and when. **A credential revokes immediately.** Lookup is by hash with `revoked_at IS NULL` in the query rather than in a caller, so there is no path that resolves a revoked one (`store.credential_by_digest`). `test_a_revoked_token_stops_working` fails if that changes. **A role decides what a person can do, and the front door is where it is checked.** An owner or admin can do everything a person could do before roles existed; an approver can read the record and answer approvals and nothing else; a viewer can read. The engine is never asked, because it cannot know who is calling: the front door maps a role to the scopes `scopes.py` already checks, and refuses before proxying (`hosted/tests/test_organizations.py`). An organization always keeps an owner, and only an owner can make or unmake one. **Every receipt names the person an agent acted for, and the agent cannot choose who.** The front door sends the engine the user id behind the credential that made the call: the person who connected the computer, or who minted the token or the join token. The engine writes it into the receipt's signed body as `acted_for`, accepts it only from a caller presenting its secret, and refuses a request body that tries to name one (`engine/tests/instance.rs`). **An admin can withhold action arguments from approvers or viewers.** For a member in a chosen role, every read response has the arguments of each action replaced by a marker saying they were withheld. This happens at the front door on what is read, never on what is signed, so the ledger and the receipts are untouched. What counts as an argument is named by key, and `test_no_read_route_shows_a_withheld_argument` sweeps every read route the engine declares with a value only an argument carries, so a route that serves arguments under a new name fails rather than leaks (`hosted/sherpa_hosted/redaction.py`). Owners and admins cannot be chosen, because a person writing rules about arguments cannot do it blind. **A registry write is attributed by this service, never by the caller.** The engine's four registry chains, `policy_events`, `agent_events`, `tool_events` and `role_events`, answer who changed what an agent is judged by, what a tool is taken to be and who may answer an ask, and they take the actor as a field on the request body. Behind the front door that field is overwritten from the session before the request is proxied, so what the chain holds is the signed-in person's user id and not what the browser sent (`hosted/sherpa_hosted/attribution.py`). Until 3 Dec it held the address the identity provider verified, and the founder ruled that off the signed record (item 14); entries written before keep it, because a signed entry is never edited. The role chain still names who holds a role by the address an owner typed. **Who is at the console is told the same way (017):** on every request a signed-in person makes, the front door writes their member id, organization role and address as `x-shepherd-member`, `x-shepherd-member-role` and `x-shepherd-member-email`, and throws away any the browser sent, so the role an answer to an ask is checked against is the one this service gave them. `hosted/tests/test_answering.py` sends a forged role and is refused. `test_a_forged_actor_does_not_reach_the_signed_chain` sends somebody else's address and reads the chain back to prove it is not there; it was seen red before the fix, printing a correctly signed entry carrying the forged name. One route is excluded, `/v1/admin/reconcile`, because the engine takes `source` there and refuses an actor from anybody, which is what makes leaving that body alone a narrowing rather than a gap. **The address an answer is checked against is one the provider confirmed, and this service is what checks.** A sign-in whose `email_verified` is `false` is refused rather than recorded (`hosted/sherpa_hosted/identity.py`), because the role an answer is checked against is matched on that address, the chains written before 3 Dec hold it, and whether an unconfirmed one may sign in is a setting in the provider's dashboard. What that check cannot do is tell `false` apart from a field the provider has stopped sending, so the field's presence is asserted against the real tenant by `tools/workos_live.py` rather than assumed. That is **G88**, and the cover is a person running a check rather than a gate. **An outage at the identity provider stops sign-ins and stops nothing else.** New sign-ins fail closed, in a sentence, on a page that says it is not the person's fault; a session already issued keeps working, because it is verified here against a signature rather than there; and governed calls carry workspace tokens that never touch the provider at all, so agents keep being governed and keep being recorded. The three halves are driven against a broken provider in `hosted/tests/test_identity.py`, which is what makes this a property rather than an intention. **An agent token cannot rewrite the rules that govern the agent.** A token carries what it may do, on its own row: it can ask for a decision, report an outcome, read the record, and post what an organization's own systems say. It cannot write a rule, make a version live, roll one back, or withdraw and restore an agent's standing authority. Those take a person who has signed in, and the refusal happens at the front door before the engine is reached (`hosted/sherpa_hosted/scopes.py`). **The default is the refusing one**: an admin route that nobody has declared machine-postable requires a person, so a route added later is not handed to agent tokens by anybody's omission. `hosted/tests/test_scopes.py` drives every admin route the engine declares with a real token, and it was seen red by moving that default to the permissive side, which made an agent token able to pause and resume the whole install. **One organization cannot revoke another's token.** The organization id is in the `UPDATE` clause, not checked beforehand (`store.revoke_token`), so knowing a token id is not enough. `test_alice_cannot_revoke_bobs_token` fails if the clause is loosened. **The control plane holds who you are and never holds what your agents did.** Its database holds organizations, users, memberships, workspace directories, the hashes of credentials and of session tokens, and an index of who made which rule live: the policy's name, the content hash of the version, and the person. It holds no decision, no envelope, no obligation, no reason text, no receipt, no approval, no policy content, no agent id, no action type and no amount. The index names a policy because "who made this live" has to say what "this" was; the version itself, and the signed record of its promotion, stay in the engine. Not in a column, not in a log line and not in an error report: what is kept when an engine returns a 500 is the status, the route template and the exception type, never a response body, because a response body has a decision in it. **A copy of it drives no engine and signs nobody in** (4 Dec). Each engine's instance secret is HMAC-SHA256 of its workspace id under `SHEPHERD_HOSTED_INSTANCE_MASTER`, derived whenever the front door reads the workspace and never written down, and a session row is keyed by the SHA-256 of the token its cookie carries. Every nightly backup holds this database, and `hosted/tests/test_database_copy.py` reads every row of it as text for both. This is a structural claim rather than a practice, and it is checked structurally. `hosted/tests/test_store.py` reads every column in that database out of `information_schema` and fails on one that is not written down in the test with what it holds. The commit it exists to stop is a `decisions_total` on `accounts`, added by somebody rendering a figure who would rather not make a second request. A figure about an account's evidence is answered by that account's own engine, at render time, with that person's own session. **One cross-tenant question is asked of every route this service answers itself, not only of the ones it proxies.** `test_no_front_door_route_answers_alice_with_anything_of_bobs` drives each of them with one user's credentials, with the other user's identifiers substituted into every path parameter, and fails if any answer contains the other's account id, user id, workspace id, instance secret, ledger path, address or token ids. It was seen red by deleting one `WHERE account_id` from the store, which is the shape this class of bug actually arrives in. **Signing keys are per workspace and never leave the host.** The engine generates its key with `create_new` at mode 0600 (`boot::generate_key`), inside a workspace directory created at 0700 (`hosted/sherpa_hosted/workspaces.py`). No route in the engine or the front door serves a key, and the type that holds the instance secret has no `Debug` implementation so that dumping a configuration cannot print one (`engine/src/instance.rs`). **Each engine refuses anything but its own front door.** A workspace's engine listens on loopback, will not start without a per-workspace secret, and requires that secret on every request (`engine/src/instance.rs`, `engine/tests/instance.rs`, and `hosted/tests/test_release_signin.py`, which boots the release binary without one and watches it refuse). This is defence in depth: the front door is the control that authenticates a person, and this is what stops something else on the host from driving an engine that is not its business. The front door strips whatever instance header arrived and writes its own, so a caller who learns another workspace's secret cannot present it (`hosted/sherpa_hosted/proxy.py`, `test_presenting_another_workspaces_instance_secret_changes_nothing`). **One process writes your ledger, and that is enforced rather than arranged.** A workspace's evidence is a signed, hash-chained SQLite file, and two processes writing one of those is how a chain gets damaged. The host records which engine is running a workspace and holds a lease on it, taken before an engine is started and renewed while it runs, so a second front door during a deploy uses the engine that is already up rather than starting another (`hosted/sherpa_hosted/supervisor.py`, `hosted/tests/test_instances.py`). It will refuse a request rather than start a second engine on a ledger already in use, which is the fail-closed direction. A recorded engine is trusted only after it answers on that workspace's own secret, because a port on a host outlives the process that held it. **Credentials are not forwarded to the engine.** Session cookies and bearer tokens authenticate the caller to the front door and mean nothing to an engine that authenticates no person, so they are dropped rather than proxied (`proxy.NEVER_FORWARD`). An engine's logs cannot contain a working credential because it is never sent one. **No route hands another page permission to use this one.** No engine route answers with any `access-control-*` header, swept across all three route tables by `engine/tests/admin.rs::no_route_hands_another_page_permission_to_use_this_one`. The hosted console is same-origin with the API it calls, so nothing here needs CORS, and the guard's own failure message says what adding one would cost. Mutating routes additionally require `application/json`, which the three content types a cross-site form can send are not. **Sessions are short, signed, and can be ended.** Twelve hours, HMAC-SHA256 over the session's token and expiry with a key only the front door holds, `HttpOnly` and `SameSite=Lax` (`hosted/sherpa_hosted/sessions.py`). The database keeps the token's SHA-256, never the token, so a copy of it cannot be made into a cookie even with that key. The front door refuses to start with a cookie secret or an instance master under 32 characters. The cookie names a row rather than a person. The row is read on every request and never cached, so a session that is ended stops working on the next request rather than at the end of its twelve hours. The account room offers "sign out", which ends this one, and "sign out everywhere", which ends every session that person has, including the browser it was pressed in. The desktop connect page names the account the browser is signed in as and offers "use a different account", which ends that browser's session here and at the identity provider; it is a POST carrying the page's confirmation, which is bound to the session, so no other site can sign anybody out with it. **Signing out does not stop an agent**: a workspace token is a separate credential with its own revoke, which is correct, because cutting a governed workload because a person signed out of a browser would be treating an agent as a browser. **Rate limits exist on every class of call.** Per workspace, per window (`hosted/sherpa_hosted/limits.py`). Decide and record are governed by a ceiling far above any real agent's rate: CLAUDE.md forbids metering decisions, so that number is a runaway-loop rail and not a meter. Drafting is different and is a hard daily count, because it spends our model budget rather than our CPU. **Shepherd AI is held to credits per account per day, in what the model provider charged.** Since the tiers of 10 Nov 2026 one credit is $0.001 of model cost, and Free has 100 credits per account per day, at most $0.10 a day; `docs/billing.md` has every plan's. The authoring service reads the provider's own token counts on every call and prices them at the provider's published rate, and every answer it gives says what it cost, a failed one included. The front door adds that to the account's day and refuses its next call once the day's credits are used, before it reaches the provider, counted in the database so a restart does not forgive it and a second front door does not double it. Past them, Shepherd AI says it is unavailable until tomorrow and everything else works, and `GET /v1/account` reports what is left so a person sees it before they meet it. These credits replaced the beta's 200 turns per organization per day and $10.00 per person per month. What a call costs is known only after it, so the call that crosses the line is answered: the day can end over by that call's cost, and by what calls in flight together cost; an answer that never comes back is not counted (G238). Max and Business show credits as unlimited and hold a quiet fair-use ceiling, 50,000 credits a day. **There is no ceiling on the sum of those allowances across accounts**, which is a bill rather than a breach and is `docs/known-gaps.md` G94, a hard gate before signup opens to anybody but us. **Writing a rule from a description sends it to a model provider, and amending one sends the rule being amended.** The provider is OpenAI. Drafting and Shepherd AI are the only places anything of yours leaves this host, and each happens only when somebody asks. A description goes out because that is the request; the live policy file goes with it when you are amending, because a draft written without seeing what it replaces comes back missing every rule the old one had, and a refusal that disappears is authority granted by accident. What is in a policy file is action types, limits, thresholds and the names of your resolvers and teams. **No customer records go with it**, and that is structural rather than careful: customer attributes are fetched from your own resolvers at decide time and are never stored here, which is the same property that keeps them out of the ledger. So what reaches the provider is how you govern, not who your customers are. If that is not a trade you want to make, leaving the model key unset turns drafting off and changes nothing else: rules can still be written, pushed, previewed, promoted and replayed. G95 is the entry, and what it owes you is this choice as an account setting rather than a deployment one. **Asking Shepherd AI sends what it reads to the same provider.** A turn sends your message, the conversation so far, and what it read in your workspace to answer it: your agents and what each has done, your rules and the ready-made ones, the tools your agents use, the requests waiting for a person, the few most recent events, and the event you asked about with the parameters its receipt keeps. **That can carry customer data**, which drafting does not: a receipt keeps free text as a digest and a length, but a command is kept as typed and an address is kept as sent, and either can name somebody. It reads one workspace, the asking person's, and never the whole record. Leaving the model key unset turns Shepherd AI off with drafting. **The service that calls the model is the only process here that reaches the public internet, and it holds nothing else.** Not the ledger, not a signing key, not the registry, not the database. It has no port published outside the deployment's own network, and a compromise of it spends money and reads the drafts and Shepherd AI turns in flight, and for three minutes after each whatever those turns may read in the workspace of the person who asked, receipts included. It cannot make a rule live, cannot write anything, and cannot reach another tenant: which workspace a request is about is decided by a credential the front door minted for the session that asked, good for the reads and the one verdict `hosted/sherpa_hosted/scopes.py` lists and for three minutes, and the address that credential comes back to is configuration rather than anything a caller can choose. `hosted/tests/test_drafting_callback.py` is the test that aims one account's draft at another's rules and watches it come back empty. **Secrets are not in the repository.** `/.env` is gitignored. The identity provider's key, the cookie secret and the data root are read from the environment and have no defaults that would let an install come up half-configured; the front door raises rather than guessing (`hosted/sherpa_hosted/config.py`). **The engine each workspace runs is given a clean environment.** Not the front door's own, which holds the identity provider's API key and the cookie secret. A workspace engine cannot leak a secret it was never given (`supervisor._environment`). **The engine cannot reach the public internet, and that is a property of the build.** Its HTTP client is compiled with no TLS backend (`engine/Cargo.toml`), so an `https` URL is refused at boot rather than failing later: resolvers, the authoring service and approval destinations are all plaintext to a host on the network the engine already sits on. Two things rest on this. A process with no egress cannot be made to post anything anywhere, which is what made an unauthenticated local admin API tolerable until 17 Oct (`docs/known-gaps.md` G29) and is still the reason a compromised engine leaks nothing on its own. And the product's first invariant, no LLM in the decision path, is enforced today by this binary being unable to reach a model API at all, which `engine/src/authoring.rs` records on the one outbound call it makes. **What speaks TLS is a separate process that holds nothing else.** This is the doctrine rather than one arrangement, and there are two processes under it now: `notifier/` for approval routing and the authoring service for drafting, described above. Approval routing needs a Slack webhook, which is https, so the engine posts plaintext to `notifier/` and that service makes the onward call. It holds the webhook URL and the mail credentials, and no ledger, no signing key, no registry and no policy: compromising it compromises those credentials and nothing about what the engine decided or proved. It publishes no port outside the compose network. **No admin route can add a destination, change one, or name a new one**; the routes file is read once at start, so an admin API cannot be turned into a way to send something somewhere it was not already pointed, even by a person whose role lets them use it (`docs/notifications.md`). **The hosted tier does not route approvals.** A workspace engine's environment is built field by field and `SHEPHERD_NOTIFICATIONS` is not one of them (`supervisor._environment`), so a hosted workspace has no destinations and makes no outbound notification. Routing is a self-hosted posture until identity exists to say who may answer from a channel (`docs/known-gaps.md` G52). **What this product learns about your use of it, stated here because you are reading this before deciding to sign in.** Nothing, until an owner or admin of your organization turns usage reporting on in its settings, which starts off. Once it is on, the hosted tier records six things about how the product itself is used: that somebody signed in, opened a room, added a rule bundle, minted a token, made the organization's first governed decision, and that a request failed with a status, a route template and an exception type. Two more are in the vocabulary and never written, that an organization signed up and had a workspace provisioned, because both happen before anybody there could have agreed (`docs/known-gaps.md` G107). Each row carries an organization identifier and a time, and the list of columns in the table is the whole of what there is anywhere to put anything (`hosted/sherpa_hosted/migrations/0005_telemetry.sql`, and `telemetry.note`, which checks consent before every write). **Nothing about what your agents did is in it.** Not a decision, an envelope, a reason, a receipt, a policy name, an agent id, an action type, an amount, a customer identifier, a query string, a request body or a response body. The first governed decision is the one worth naming twice: what is recorded is that one happened and when, never what it was. A room is recorded by the name the console's own rail declares, so `/activity` is a room and `/activity/sessions/` is a room, and the identifier of the session you were looking at never leaves your browser. Telemetry lives in the control plane's database; your evidence lives in your workspace directory; nothing copies from the second to the first. `hosted/tests/test_telemetry.py` drives a real session and then accounts for every value in every row, which is the form this claim is held in rather than the paragraph you are reading. **A note sent with the feedback button is kept with who sent it.** The button at the top right of every room sends what you type, with your email address, your organization and the name of the room, and says so beside the box before anything is sent. It is kept in the control plane's database and never reaches your workspace or its ledger, and nothing else goes with it (`hosted/tests/test_feedback.py`). It is a message you chose to write, so it is not gated on usage reporting. Since 22 Oct it is also emailed to the one Shepherd address the deployment names, with the same three things beside it, through the mail relay that sends approvals; the box names that address before you send, and says so when there is none and the note is only kept (`hosted/tests/test_feedback_mail.py`). A note is at most 2,000 characters, and one person sends at most 20 a day. **The desktop app reports what it found, never what it read.** For each agent it detects at a known configuration path: the agent's type, its version, and whether Shepherd's connector is installed. Not the configuration's contents, which can hold API keys, and not a path. The route refuses a report carrying anything else (`hosted/tests/test_desktop.py`). ## What this does not have Read this as a list of reasons not to put a business's authority behind the beta yet. **TLS is required and configured, and has never carried a real request.** The front door refuses to start on an address other machines can reach that is not https, and `deploy/staging/` brings it up behind a terminating proxy. What has not happened is a deployment: no certificate has been issued, no tunnel has carried traffic, and no browser has completed a sign-in against a real host. `docs/deploy-staging.md` states this at the top rather than reading as a record of something done. **No copy of the evidence anywhere but this host.** The backup and the restore themselves are built, and the restore is run rather than assumed: a test destroys a deployment, restores it, and checks that the receipts still verify, because a restore that returns the rows and loses the signing key returns bytes rather than evidence. `docs/backups.md` says what is copied and how to put it back. What is missing is the destination: the nightly copy writes to a path, and a path that is not this host is something that has to be mounted on it, so until that is done this deployment has one copy of its evidence on one machine. The tooling refuses a destination on the volume it is copying, and it cannot tell whether a path is off the host. That is the open half, it is G93 in `docs/known-gaps.md`, and it matters for the reason the whole of this list matters: the product's claim is that the ledger is evidence, and evidence with one copy in one rack is a claim the architecture makes and the deployment does not yet keep. **Commands are saved exactly as typed. Keep passwords and keys out of commands.** What an agent asks to do is written into the signed record as it was sent, and the desktop app sends every command it governs, so a password or a key typed on a command line is in the record for good: the record is append-only, nothing in it can be removed, and an export carries it outside the organization. **Amended 5 Nov:** the record and the export said this where they were shown, until the founder's brief of 31 Oct cut it from the console (`dbe0993`); this page says it now. Writing a command as a digest is the fix, and it waits on a ruling because replaying a rule reads what the record kept (`docs/known-gaps.md` G119). **No key rotation.** A workspace's signing key is generated once and used forever. There is no way to rotate it, and rotating it naively would leave the existing chain signed by a key the workspace no longer holds. Doing this properly means receipts naming the key that signed them and a verifier that can follow a rotation, which is designed and not built. **No SSO and no SCIM.** Deferred to the enterprise half deliberately. The provider was chosen so that adding them later is configuration rather than migration, but today there is neither. **Organizations are new, and three things about them are short.** No invitation email is sent: an admin adds an address and tells the person, and their first sign-in with that verified address is the acceptance. The console does not yet say who an agent acted for, although every receipt records it (`docs/known-gaps.md` G108). And the desktop app has not yet been run against a real front door end to end (G106). **The front door's own record is a table and not a chain.** Signing in, signing out, minting a token and revoking one are recorded and a person can read them in the account room, which is the gap this list used to carry. What they are not is signed: the engine's chains are evidence about a tenant's agents, held against the day somebody disputes them, and a compromise of this service is a compromise of whatever key would sign its own log. A chain here would buy the look of a guarantee rather than the guarantee, so the table says what it is. **A workspace being provisioned is not in that record.** Every entry names the person who did it, and provisioning can also happen on a path where the caller is an agent token, so the honest entry is the account's creation at first sign-in rather than a row with no author. The directory is never named in it either. **Rate limits are in memory.** A restart forgives them, and they are per process. With one front door that is the whole picture; with two it is half of it. **The resolver transport now exists, and it is plaintext.** A workspace's policies can read attributes from a system the organization owns, over HTTP, from a manifest the engine reads at boot. Four things about it belong on this page. There is no route that can point a resolver at a new address, because registration is a file an operator edits rather than an admin call, and an admin route that repointed a resolver would be a way for anybody who can reach the admin API to make an engine post customer ids to somebody else's server. Credentials are named environment variables, never values in the manifest, and a token reaches one request header and nothing else: not a receipt, not a log line, not the verify response. The verify probe reports what kind of value each field came back as and never the value, because a route that returned them would be a way to read customer records through an engine. And the client has **no TLS backend** (`docs/known-gaps.md` G50), so an `https` URL is refused at boot rather than served unprotected, and what this build can reach is an endpoint inside the organization's own network. A resolver across the public internet still gates those deployments. **An agent's shell command can still switch Shepherd off.** The app's connectors refuse an agent's file tools a change to the files that keep Shepherd on, and a shell command is not refused, because Shepherd does not yet read which files a command changes (`docs/known-gaps.md` G138, while G38 is open). **An agent can delete files one at a time and nobody is asked.** Under the default posture, which allows and records what no rule covers, nothing switched on at install counts deletions. Through Claude Code a delete is a shell command, and the high-risk bundle asks a person about a recursive `rm` of anything but build output, a force push, `git reset --hard` and deleting a branch; it does not ask about an `rm` naming one file, many files or a pattern, or about `find -delete`, until the session has fetched content matching the attack phrases, after which every shell command waits. Through Cursor's delete tool one file goes per call, and the bundle asks only when the file is one of the machine's settings or the agent's own, or a path it could not read. Through GitHub's tools every delete is asked about. Each call is still in the record, and the ruleset that counts deletions, `file.delete`, is in no bundle the app offers yet. Accepted for the first wave, 23 Oct (`docs/known-gaps.md` G286). ## The blast radius, which is the thing to understand before putting authority here **A single tenant's compromise is their workspace.** A leaked agent token or computer credential lets the holder call that organization's engine and nothing else. It cannot name another workspace, because nothing in a request names one, and it cannot change what that workspace authorizes, because authoring takes a person. The damage is bounded by one ledger, and by the rules already in force in it, and revoking the token is one column. **A compromise of the front door is every workspace, and nothing in the current design reduces that.** The front door can start any engine with any instance secret and proxy to it, so a process that owns it owns every ledger on the host. Per-workspace signing keys do not help: they prove a receipt came from that workspace, and whoever can run that workspace's engine can make it sign. That asymmetry is the central security fact of the hosted tier. It is stated here rather than in a design document because it is the thing a person deciding whether to put real authority behind this needs, and it is the strongest reason the self-hosted binary stays a first-class path rather than a deprecated one: running the engine yourself is the only arrangement in which the party who can make your receipts is you. What would reduce it, designed and not built: signing keys held by a separate process so that owning the front door is not owning the ability to sign, and per-workspace encryption at rest keyed by something the front door does not hold. ## Reporting something **There is no address to send it to yet, and that is itself on the list above.** The product name is not cleared and the repository is not published (`docs/known-gaps.md` G30), so there is no domain to host a disclosure address on. Until there is, the only channel is the repository owner directly. This section exists rather than being left out because a security page with no way to report something is a gap worth stating, and because the first thing this page will need on the day the gate opens is the line that is missing from it.