skip to content

aquarius♒︎lab

privacy

our public tools run locally in your browser tab. this page lists what each aquarius♒︎lab service stores and what the code keeps.

surface            stored fields                     store          retention / notes
──────────────────────────────────────────────────────────────────────────────
public tools       none                              none           tab memory only
boot stream        one public boot log               BootStreamDO   no per-visitor data
email sign-in      email, token hash, ip, events     D1             no automated purge
X sign-in          state hash, verifier, X profile   D1             no automated purge
sessions           session hash, account id, expiry  D1             30 days; deleted on sign-out
API keys           name, prefix, SHA-256 hash        D1             kept with revoked_at
API / MCP calls    none                              none           stateless
MCP OAuth          clients, grants, tokens           OAUTH_KV       managed by OAuth provider
Linux relay        host, ip, port, bytes, times      D1             no automated purge
HVC pledge         host, since, ts                   HVC_PLEDGES    public KV

anonymous use

aquariuslab.org, visualizer.aquariuslab.org, offline computer.aquariuslab.org, and boot.aquariuslab.org need no account, set no login cookie, and store no per-visitor records.

WebGPU/WebGL2 rendering, AQ-8R array runs, and v86 x86 Alpine 3.24 Linux execute in your browser tab. VM and terminal state stay in tab memory with no server backup.

boot.aquariuslab.org streams one public boot log from a Cloudflare Durable Object (BootStreamDO) and stores no visitor data.

account sign-in

account.aquariuslab.org writes to the Cloudflare D1 database aquariuslab-accounts.

X sign-in (OAuth 2.0 PKCE)

when configured, GET /auth/x starts an X OAuth 2.0 PKCE (S256) flow with scope users.read tweet.read against x.com and api.x.com:

email delivery and abuse checks

we send your email address to Resend (api.resend.com, from signin@aquariuslab.org) only to deliver sign-in links.

the sign-in form runs Cloudflare Turnstile (challenges.cloudflare.com/turnstile/v0/siteverify), sending the widget token and client IP to block automated sign-in abuse.

retention

expired sign-in links and OAuth states are rejected on use. our code does not currently run an automated purge job to delete old rows from signin_tokens, signin_events, oauth_states, rate_limits, or relay_connections.

API and MCP keys

each account can hold up to 25 active API keys (aqk_<64 hex>). we show the raw key once on creation and store id, account_id, name, 12-character key_prefix, SHA-256 key_hash, created_at, last_used_at, and revoked_at in D1 api_keys.

API and MCP tool calls are stateless; we do not store tool inputs or outputs in D1 or KV. Cloudflare Workers Rate Limiting (RATE_LIMITER) caps requests at 60 per 60 seconds per client IP.

mcp.aquariuslab.org runs @cloudflare/workers-oauth-provider backed by Cloudflare KV (OAUTH_KV) for OAuth 2.1 client registrations, grants (accountId, email, scope mcp:tools), and tokens.

Linux outbound relay

computer.aquariuslab.org/wisp/ requires a signed-in .aquariuslab.org session. it forwards TCP on ports 80 and 443 only, resolves hostnames through Cloudflare DNS-over-HTTPS (cloudflare-dns.com/dns-query), and enforces per-account quotas in RelayAccountLimiter (8 concurrent streams, 120 connections per rolling hour, 50 MiB per rolling 24 hours).

for abuse handling, D1 relay_connections logs account_id, session_hash, target_host, resolved_ip, target_port, allowed, deny_reason, bytes_in, bytes_out, opened_at, and closed_at. we do not log stream payload contents.

HVC pledges and badge

sites embedding https://hvc.aquariuslab.org/embed.js send POST /api/pledge (credentials: "omit") with {host, page}. we check that Origin matches host, fetch up to 512 KiB of the page to verify the embed tag, and store {host, since, ts} publicly in Cloudflare KV (HVC_PLEDGES) under host:<hostname>. we store no visitor IPs, cookies, or personal identifiers in HVC_PLEDGES. GET /api/pledges lists pledged hosts and their count; GET /badge.svg renders that count as SVG.

Cloudflare and analytics

all sections run on Cloudflare Workers and Cloudflare edge routing. Cloudflare Web Analytics is off on aquariuslab.org; we load no client-side analytics script and set no tracking cookie.