Home / Trust center

Trust center

Security and privacy, sourced from the code

Answers for IT and security reviewers. three.ws is open source under Apache 2.0, so every answer below links to the file that does what it says. Where a control does not exist yet, we say so.

Last reviewed 11 November 2026 · Contact security@three.ws · Privacy privacy@three.ws

Hosting and regions

The API and website run as one container on Google Cloud Run (service three-ws-api, region us-central1, Iowa, United States), deployed by Cloud Build under dedicated build and runtime service accounts. Scheduled jobs run on Cloud Scheduler. Cache and rate-limit state live in Memorystore for Redis on a private network that is not reachable from the internet.

The database is Neon managed PostgreSQL in AWS us-west-2 (Oregon). User files are stored in Cloudflare R2. All customer data is processed in the United States. We do not offer data residency in other regions today.

Evidence server/cloudbuild.yaml docs/ops/gcp-production.md Subprocessor list

Encryption

In transit

HTTPS only, with Strict-Transport-Security: max-age=63072000; includeSubDomains; preload on every response. Calls to the database, object storage and model providers use TLS. The Redis link runs over Google's private network.

At rest

Each storage provider encrypts data at rest by default: Google Cloud, Neon and Cloudflare R2. On top of that, the application encrypts its most sensitive values itself:

Evidence api/_lib/agent-wallet.js api/_lib/auth.js docs/security.md

Authentication

Evidence api/oauth/[action].js api/_lib/saml.js api/_lib/microsoft-marketplace.js docs/authentication.md

Access control and admin access

Every API request is checked against the caller's scopes. Records belong to the user or agent that owns them, and generated files stay private to their owner until the owner publishes them. Agent skills declare the permissions they need, and the user grants them.

Roles. A team has an owner and fixed-ceiling specialist roles (Researcher, Entry, Trader, Launcher). A grant can be narrowed but never widened past its role, and the server enforces it. See the Teams documentation.

Admin endpoints require a signed-in session whose wallet is on a short allowlist or whose account is flagged as an admin in the database. Production infrastructure is reached through Google Cloud IAM, and secrets are held in Google Secret Manager rather than in the repository.

Evidence api/_lib/admin.js scripts/read-service-env.mjs docs/security.md

Logging and monitoring

Request and error logs go to Google Cloud Logging. Every server fault and every reported browser error becomes an alert, deduplicated by signature. Critical alerts reach the operator by private Telegram chat and email immediately; warnings arrive in an hourly digest. A probe checks the platform, API and payment surfaces every 5 minutes and publishes the results on the status page. Signer keys are scanned for leaks every 15 minutes.

Chat message content is not logged. Audit trail: sensitive account actions (API key creation and revocation, two-step verification changes, deletions, legal acceptances, failed sign-ins) are recorded with time, IP address and user agent. Account holders read their own trail in the action log and export it as CSV, and a team owner exports the team's admin activity as CSV or JSON from the team page. Security audit logs are kept for 365 days.

Evidence api/_lib/alerts.js api/status.js docs/ops/production-log-triage.md

Data retention and deletion

Every retention window below is enforced by a scheduled job. The schedules are in UTC.

DataKept forEnforced by
Deleted accounts30 days soft-deleted, then purged: files first, then rows. Financial records are kept but stripped of anything that identifies you.purge-deleted-accounts, daily 04:17
Sessions (with sign-in IP and user agent)30-day lifetime; the record is deleted 30 days after it expires or is revokedprivacy-retention, every 15 minutes
Sign-in noncesExpire after 5 minutes; deleted within 24 hoursprivacy-retention, every 15 minutes
Usage events60 days in the live database, then moved to a private cold-storage archive in us-central1. Metered billing rows stay for invoicing.db-archive-tables, every 15 minutes
Security audit logs365 days in the database, archived before pruning. Legal-acceptance records are kept for the life of the account.audit-archive, daily 04:00
Widget view events12 monthsprivacy-retention, every 15 minutes
Raw MCP client sessions30 days; only daily totals remain after thatdb-retention, every 15 minutes
Connected-home action log90 days by default; the owner can shorten it to 1 dayhome privacy, every 15 minutes
Microsoft 365 Copilot connector index (tenant id, sync state, a hash per indexed item; no Microsoft tokens)Until the account disconnects. Disconnect deletes the connection and its items from the customer's tenant, then every stored row. Items that leave three.ws are deleted from the tenant on the next sync.Microsoft 365 connector, sync every 15 minutes
Teams bot AI feedback and content reports (hashed conversation and person ids, tenant id, which agent or 3D job wrote the message; no message text except the capped excerpt of reported bot output)Message links 90 days. Thumbs feedback and comments 12 months. Reports 12 months after a reviewer closes them.Teams Responsible AI, db-retention every 15 minutes
CSRF tokensUntil expirycleanup-csrf-tokens, hourly

To access, export or delete your data, email privacy@three.ws from your account address or sign a request with your wallet. We answer within 30 days. Data written to a public blockchain cannot be deleted by anyone.

Evidence Privacy policy, section 5 vercel.json (cron schedules) tests/privacy-retention.test.js

Backups and recovery

The database runs on Neon, which keeps a history of changes so it can be restored to an earlier point in time within the plan's restore window. Audit records, older usage records and pruned market-feed data are archived to Google Cloud Storage and checked against the source before any row is deleted. Every deploy is an immutable Cloud Run revision, so a bad release can be rolled back in one command.

We do not yet run scheduled database dumps to storage outside Neon. The last full dump was taken by hand on 8 July 2026, and automating it is in progress.

Evidence api/_lib/db-archive.js docs/ops/gcp-production.md Neon point-in-time restore

Wallet custody

Every agent gets a custodial Solana wallet: three.ws holds the key, encrypted as described above, so the agent can act without a person approving each transaction. That means we hold signing power, and we say so plainly. The controls on it:

Wallets people connect themselves from their own browser or mobile wallet app are never custodial. Their keys never reach three.ws.

Evidence docs/custody.md api/_lib/agent-wallet.js

AI data use

three.ws does not train models on your prompts, files or photos. Most 3D generation runs on our own GPU workers in Google Cloud, so that content does not go to a third party. Chat goes to hosted model providers in a failover order. Free lanes come first, which means a prompt can reach any provider in the order below. The terms each provider publishes for its API:

ProviderUsed forWhat the provider publishes
GroqDefault chat lane"By default, Groq does not retain customer data for inference requests." Inputs and outputs may be logged for up to 30 days for reliability and abuse investigation. Source
OpenRouterChat failover, free models"Wherever possible, OpenRouter works with providers to ensure that prompts will not be trained on, but there are exceptions." Some downstream providers "may train on it if marked." Source
NVIDIAChat failover, speech recognition, text-to-3DNVIDIA's API catalog documentation makes no statement about training on or retaining submitted inputs. We treat it as a provider that may retain them. Privacy policy
OpenAIPaid chat backstop, embeddings"Data sent to the OpenAI API is not used to train or improve OpenAI models." Abuse-monitoring logs are "retained for up to 30 days." Source
Google Vertex AIGemini chat anchor, Imagen images"Google won't use your data to train or fine-tune any AI/ML models without your prior permission or instruction." Cached data is "deleted no later than 24 hours after it's written." Source
Cloudflare Workers AIImage understanding"Cloudflare does not use Customer Content processed by Workers AI to train AI models." Source

Because free lanes lead the order, do not put confidential or personal data in prompts. Selfie photos for avatars go to our own reconstruction service. We never use them for training and never derive a face template from them.

Evidence api/chat.js (routing order) api/_lib/chat-models.js Privacy policy, sections 3 and 10

Incident response and status

Incidents are detected automatically, as described under logging. Responders can contain one by rotating a secret, freezing wallets, revoking sessions, rolling back to an earlier revision, or turning off a feature with its kill switch. If a breach affects personal data, we notify affected users, and regulators where the law requires, without undue delay and within the legal deadline, for example 72 hours under GDPR. Live availability is on the status page.

Evidence docs/incident-response.md three.ws/status Privacy policy, section 9a

Vulnerability disclosure

Report vulnerabilities privately to security@three.ws. We aim to acknowledge reports within 48 hours and to ship fixes for critical issues within 7 days. Please give us a reasonable window to fix an issue before disclosing it publicly. Do not access other people's data, disrupt the service, or move funds you do not own while testing.

Evidence /.well-known/security.txt docs/security.md

Compliance status

Where things stand today. We do not claim a certification until we hold it.

ItemStatusDetail
Open-source codeIn placeApache 2.0; every control on this page can be read in the source.
Encryption in transit and hashed credentialsIn placeTLS with HSTS preload; sessions, refresh tokens and API keys stored as hashes.
Enforced retention and deletionIn placeScheduled jobs for every database window above, each covered by tests.
Vulnerability disclosureIn placeRFC 9116 security.txt and a monitored security contact.
Public status pageIn placeProbes every 5 minutes, with 90 days of history.
Dependency advisory triageIn placeAdvisories reviewed for reachability and recorded in docs/security.md.
Written security policiesIn progressInformation security, access control, change management, vulnerability and patching, logging, backup and recovery, retention, secure development and supplier policies, plus a risk register, are published in docs/compliance. Owner signature pending.
Microsoft 365 App Compliance: Publisher AttestationIn progressIn preparation. Answers are drafted from the code and have not been submitted.
Written incident response planIn progressDrafted from the running system and awaiting owner sign-off.
Automated off-provider database backupsIn placeDaily dump to a locked, immutable bucket, restored into a scratch database on every run. Measured recovery time 215 seconds. See the backup and recovery policy.
Archived usage records expiryIn progressArchived usage events do not yet expire. Adding an expiry rule that matches the privacy policy's 90-day window.
Two-step verification (authenticator app, recovery codes)In placeOpt-in per account and applied to every sign-in path. Passkeys are not supported yet.
SOC 2 Type II, ISO/IEC 27001Not pursuedNot held, and no audit is under way.
Third-party penetration testNot pursuedNot yet commissioned. An internal source-level security review was completed in October 2026.
Data residency outside the USNot pursuedAll customer data is processed in the United States.

Documents

Microsoft, Microsoft Entra ID, Microsoft 365 and Microsoft Marketplace are trademarks of the Microsoft group of companies. Other names are trademarks of their respective owners. Naming a provider does not imply that it endorses three.ws.