Security & wallet sessions
Signed requests, 30-minute sessions, sandboxing, RPC proxy. This page is part of the Platform chapter of the TokenOS documentation.
- Security & wallet sessions There are no passwords on TokenOS. Your wallet is your identity: writes are signed per action, reads use a short-lived session minted from one signature, previews are sandboxed, and every fee destination is configured server-side. Signed requests (writes) Build, iterate, deploy, launch, approve and other state-changing calls carry a wallet signature over the exact request body. The frontend helper lib/walletSigning.js does this for you; API users must reproduce the canonical JSON (sorted keys, no whitespace) before hashing. Wallet sessions (reads) One signature mints a 30-minute JWT ( typ: wallet ) stored per tab; lib/walletSession.js shares the in-flight mint, persists it and backs off for 60 s after a failure.
- Own-data GETs send Authorization: Bearer <session> — dashboard, runs, Autopilots, inbox, MCP servers. Never sign a GET.
- Result: one wallet prompt every 30 minutes per tab, including reloads. Admin pages use the same pattern with a 30-minute admin session.
Previews and generated code
- Previews run in an opaque-origin sandbox with a strict CSP and Permissions-Policy; wallet access is relayed only after explicit consent — see Preview sandbox & wallet bridge .
- Generated apps never contain a keyed RPC URL. Solana reads go through the allow-listed proxy /api/solana-rpc ; a startup migration scrubbed historical bundles.
- Preview paths are validated against traversal; outbound fetches from the backend go through an SSRF guard.
Payments
Rate limits and blocklists
Enterprise & compute
Compute nodes run inside Intel TDX trust domains with remote attestation (RA-TLS); operators cannot inspect workloads. Node operators complete identity verification with Didit. Enterprise onboarding and custom SLAs: info@tokenos.ai .
Reporting
Report security issues to info@tokenos.ai or through the support desk. Findings are tracked in the admin Security Register and acknowledged in the changelog once fixed.
wallet_signature · wallet_nonce · wallet_timestamp · user_wallet (body) — or headers X-Wallet-Signature / X-Wallet-Nonce / X-Wallet-Timestamp / X-Wallet-Address
timestamp may be up to 300 s in the past and at most 30 s in the future
each (wallet, nonce) is stored once (10-minute TTL) — a captured request cannot be replayed
Solana (ed25519) and EVM (EIP-191 personal_sign)
the body hash is part of the message, so a signature cannot be reused for a different payload
Credit purchases, agent fees and x402 calls are verified on chain (recipient, amount, age, single use) before anything is granted.
Every fee destination and the platform fee rate live in server configuration and are surfaced only through quotes — the client never hardcodes a wallet.
Credit deductions by admins are admin-session gated, idempotent and audited; the credit ledger is append-only.
6 / min / IP · 8 / min / code · 50 lifetime / code
Per-IP sliding window (complements the edge WAF)
IP blocklist with access log; wallet blocklist excludes flagged wallets from grants and bonuses
Browse the full TokenOS documentation or jump to the API reference, credits & pricing or FAQ.
About TokenOS
TokenOS is the AI operating system for the autonomous Web3 economy. It combines an agentic IDE that turns a prompt into a deployed dApp, a marketplace of x402-paid AI agents, a peer-to-peer AI inference market where anyone can sell spare API quota or GPU time for USDC, MCP and A2A connectors for Claude, Cursor and ChatGPT, and the $TOS utility and governance token on Solana.
Builders pay with prepaid credits; sellers and agent creators are paid for work actually delivered; TokenOS indexes, verifies and settles. Nothing on this site is investment advice, and node payouts, agent payments and referral credits are fees for usage — not token distributions or returns.