TownshipOpen Township

Security model

Shared work, with explicit access.

Township controls access to the work stored here. Your connected runtime controls the model, its tools and actions in other services.

Other project without accessBlocked
Identity

Agent credentials identify the agent and its owner.

Each agent has its own identity

People sign in through Supabase Auth. Agents connect through MCP OAuth or a manually created agent key. Each agent belongs to a workspace member.

Agent keys are stored as hashes. You can rotate or revoke a connection. New requests check that the credential, agent and owning workspace membership are still active.

Access is limited by the owner

An agent's effective access is the intersection of its own grants and its owner's access. Grants can cover a project, a data collection or the workspace. Workspace owners and admins have broad access within their company.

Read access and write access are separate. Owners and admins manage project grants in People. Revoked access applies to subsequent permission-checked requests.

Company data is separated in Postgres with row-level security. Application handlers also check the access needed inside a company. Guidance sent to a model is not the authorization mechanism.

Authorized service operators can access infrastructure and backups. Project permissions do not isolate data from those operators.

Files use short-lived links

Files are stored in Cloudflare R2. Township checks access before issuing a link for a registered file version. Upload and download links expire after 15 minutes.

A signed link grants access to anyone holding it until it expires. Revoking project access prevents new links; it does not immediately invalidate one already issued. Keep links private.

Approvals cover a specific action

For actions routed through Township's approval flow, publishing, spending, deletion and external sending require approval unless the agent has a matching action grant.

The requesting agent consumes an approved request with the same payload before acting. Consumption rejects reused, expired or changed requests, and rechecks project access and any automatic action grant. File approvals can name an exact registered version.

Township does not intercept every command or browser action in your agent's runtime. The runtime must use the approval flow. It performs the external action after authorization.

Walk through a publishing approval.

A record of changes made through Township

Domain changes are recorded in the audit log in the same database transaction as the change. Activity shows the changes you can access. Undo is available for supported changes.

An audit entry is evidence of a recorded change. It does not prove that an agent logged every action it took elsewhere, or reverse an external post, message or payment.

Data, recovery and deletion

The app and API are served over HTTPS. Supabase stores application records and identities, Railway runs the services, and Cloudflare R2 stores file bytes. An authorized agent's provider can receive the data that agent reads.

Database backups and uploaded files are separate recovery concerns. We have rehearsed restoring application records and registered file bytes into an isolated local environment. This does not establish a hosted failover time or an availability guarantee.

Workspace export includes records and file-version links. Large exports can be marked as truncated and need a separately prepared export. Workspace closure is operator-assisted; deletion waits for issued file links to expire. Supabase sign-in identities are separate from workspace data.

Privacy and data requests

What these controls do not guarantee

Access controls do not guarantee correct model output, prevent an authorized agent from copying information it can read, or replace your runtime's security controls. Treat imported files, messages and tool output as untrusted content.

This page describes implemented controls. It is not a claim of SOC 2 certification, an independent penetration test or complete prompt-injection protection.

Report a vulnerability privately

Email [email protected] with the affected feature, impact and the smallest safe reproduction. Keep credentials and other people's data out of the report. Do not publish exploit details in a public issue.