Skip to content
DataLayer
Account
On this page

Security

Accounts

  • Wallet sign-in with a one-time nonce message (expires after 5 minutes, single use). No transactions are ever requested.
  • Sessions last 7 days and are random tokens stored server-side as SHA-256 hashes, sent as HttpOnly, SameSite=Lax cookies (Secure in production).
  • CSRF — state-changing requests from a session require a per-session CSRF token and a same-origin Origin header.
  • API keys are stored hashed and shown once.

Administration

  • The administrator role is granted only to wallets listed in the server's ADMIN_WALLETS environment variable, re-evaluated at every sign-in. There are no default credentials and no public setup endpoint.
  • API keys can never call admin endpoints.
  • Every settings change is written to an audit log.

Query isolation

See SQL reference → How it is isolated.

Secrets

Database credentials, RPC URLs and AI provider keys live only in server-side environment variables. The browser talks to a same-origin proxy and never receives them.

Webhooks

SSRF protections and signature verification are described in Alerts & webhooks.

Reporting a vulnerability

Please report security issues privately to the DataLayer team through the official channels listed on the homepage. Do not test against other users' data.