← Back to Marbles
SECURITY & TRUST POSTURE · v11.4

Security, Privacy & Architecture

Last Updated: November 29, 2026 · Operator: Marbles Software (Perry Belcher, Austin, Texas — Early Preview) · Security Contact: security@marbles.buzz · System Status · Changelog

Honest Early Preview Disclosure: Marbles is currently in free Early Preview. We do not claim SOC 2 Type II, ISO 27001, or HIPAA certification today. Production currently runs two rolling Docker replicas alongside PostgreSQL 16 on a single hardened US VPS (Hostinger). Off-box managed database storage with disk-level encryption at rest & continuous point-in-time recovery (PITR), a front-door CDN/WAF, SSO/MFA, and third-party penetration testing are scheduled prior to paid General Availability.

1. Authentication, Password Hashing & Session Lifecycle

  • Password Hashing: Passwords are hashed with Node.js crypto.scryptSync using a unique 16-byte cryptographic random salt per account (N=16384, r=8, p=1, keylen=64) and verified with constant-time crypto.timingSafeEqual. Minimum password length is 8 characters.
  • Session Cookies: Authenticated sessions use an HMAC-SHA256 signed marbles_session cookie (HttpOnly; Secure; SameSite=Lax) with a 14-day lifetime and server-side session_version revocation. Signing out or resetting a password immediately invalidates all active sessions across browsers and SSE streams. (Legacy agilescrum_session cookies remain recognized during transition and are cleared on sign-out.)
  • Fail-Closed Rate Limits & Anti-Lockout Design: All auth throttling is backed fail-closed in PostgreSQL with sliding-window decay (never a permanent account lock):
    • Sign-in: 15 attempts / 5 min per IP, 8 attempts / 15 min per email + IP pair, and 30 attempts / hr per account (sliding window with HTTP 429 + Retry-After; completing a verified password reset immediately clears the per-account login throttle bucket).
    • Signup: 10 requests / 10 min per IP, mandatory 6-digit double-opt-in email confirmation, and server-side honeypot filtering.
    • 6-Digit Verification Codes & Password Resets: 6-digit codes expire after 30 minutes and are capped at 5 failed attempts globally per code/email across all IPs — on the 5th failed guess, the code is immediately invalidated and burned (requiring a fresh code resend); password-reset requests are capped at 5 / 15 min per IP.

2. Tenant Isolation, RBAC & Client Portal PIN Scoping

  • Workspace Isolation: Every authenticated workspace (usr_* / ws_*) is strictly scoped in PostgreSQL and validated server-side on every REST, SSE, and Yjs multiplayer request.
  • Role-Based Redaction: Workspace Owners and Admins can enable Hide Financials for Members to strip deal values, budgets, hourly rates, and restricted audit entries server-side before payloads leave the API.
  • Client Portals (Per-Portal + Per-IP PIN Rate Limiting): Newly spawned boards default to private Board Only access. When a Workspace Admin enables a Client Portal with an optional 6+ character PIN, PINs are stored as salted scrypt hashes and verified under strict dual limits: 5 attempts / 15 min per portal + IP AND 20 attempts / hr per individual portal token — never a shared cross-tenant global cap.

3. Anonymous Sandbox Hygiene (Zero-Write GET & Auto-Expiry)

  • Zero DB Rows on Cookieless GET: Visiting GET /app, GET /api/scrum/board, GET /api/scrum/stream, or GET /api/billing/launch-special without cookies sets zero cookies and writes zero database rows (serving an in-memory demo preview).
  • Write-On-First-Mutation, Mint Caps & Global AI Breaker: Only when an anonymous visitor makes their first interactive edit does Marbles mint an isolated anon_* sandbox cookie (marbles_anon_ws, 7-day expiry), capped at 10 fresh sandboxes per IP per hour. Unauthenticated sandbox AI runs are locked to Fast-tier models only, capped at 15/mo per IP and guarded by a 500/day global daily circuit breaker across all anonymous sessions.
  • Automated Cleanup: A background retention job sweeps and permanently deletes inactive anon_* workspaces older than 7 days every hour.

4. Transport Security, CSP & Application-Layer Encryption

  • In Transit: TLS 1.3 enforced across marbles.buzz with the HSTS header configured with the preload directive (Strict-Transport-Security: max-age=31536000; includeSubDomains; preload, including on the www 301 hop — public hstspreload.org registry enrollment is pending full subdomain verification). Self-hosted fonts eliminate external font hosts from CSP; Stripe 3DS origins (*.js.stripe.com, hooks.stripe.com, checkout.stripe.com) and Pipedream origins are allowlisted. Note: script-src currently retains 'unsafe-inline' for Astro SSR island hydration scripts; nonce-based strict CSP migration is scheduled pre-GA.
  • Data at Rest (Plain Disclosure): Direct Google Calendar and Microsoft 365 OAuth access/refresh tokens are encrypted at the application layer using AES-256-GCM with a 256-bit key held in server-side runtime environment secrets (outside the database), and nightly logical backups are encrypted before storage. General workspace tables inside the community PostgreSQL 16 container on the Early Preview VPS are not currently encrypted at the database-column or managed-volume layer; migration to managed cloud PostgreSQL with provider disk-level encryption at rest and continuous PITR is scheduled prior to paid General Availability.
  • 2,500+ App Marketplace Custody: Marketplace integrations connect through Pipedream Connect, where third-party OAuth credentials stay inside Pipedream's managed token vault and are never stored in Marbles' PostgreSQL tables.

5. Zero-Training Commercial AI APIs (30-Day Provider Abuse-Log Disclosure)

When you trigger a Marbles AI agent (Taw, Tilt, Roller, Coast, Peak, or Spinner), scoped workspace records are transmitted over TLS to US commercial API endpoints operated by Anthropic, OpenAI, and Google Gemini under their standard commercial API terms (zero model training on API inputs/outputs; transient abuse/safety monitoring logs retained up to 30 days per provider policy). Every proposed board, CRM, Doc, or external action is strictly approval-gated — agents never silently send emails or overwrite production records without your explicit click.

6. Subprocessors

SubprocessorRegion & PurposeData Scope
Hostinger (US VPS)United States · Application compute & PostgreSQL 16 databaseWorkspace records, docs, tasks, encrypted OAuth tokens
Resend (via Amazon SES)United States · Outbound verification, password reset & alert emailRecipient email, display name, verification codes / briefings
Inbound Email Routing (rmta.net / Gmail)United States · Inbound support, privacy & security mailbox routingEmails voluntarily sent to @marbles.buzz addresses
Pipedream ConnectUnited States · 2,500+ app OAuth vault & integration relayWorkspace ID & user-authorized third-party OAuth tokens
Anthropic / OpenAI / Google GeminiUnited States · Zero-training commercial LLM APIsScoped task, CRM, and Doc context only when an agent runs
Stripe (Inactive in Preview)United States · Future paid billing & checkoutNone during $0 Early Preview; payment metadata once GA activates

7. Operations, Monitoring, Backups & Incident Response

  • Access, Monitoring & Build Checks: Production SSH and database access is restricted strictly to the principal operator (SSH key auth only, root password login disabled, non-root Docker containers). Docker replica health probes (/api/health) and PostgreSQL liveness checks run continuously; structured JSON API request logs rotate inside container logs (14-day retention); automated TypeScript, Vitest (42 unit & API contract tests + 11 Postgres integration tests), and npm audit checks run during release builds (see Changelog). Alerts and security reports route directly to the principal operator at security@marbles.buzz; external independent uptime monitoring is scheduled pre-GA.
  • Backups: Automated nightly encrypted logical PostgreSQL dumps stored off-container on the VPS with 30-day retention, paired with an in-app 30-day Recycle Bin. Off-box backup replication, managed PITR, and logged restore drills are scheduled prior to paid GA.
  • Incident Response & Evidence on Request: Confirmed security reports sent to security@marbles.buzz (see /.well-known/security.txt) are triaged within 24 hours. Upon becoming aware of a personal-data breach affecting customer workspaces, Marbles notifies impacted Workspace Owners within 72 hours with scope, containment status, and remediation steps. Prospective teams and reviewers may request our architecture summary, automated Vitest output, and countersigned DPA copy anytime via security@marbles.buzz.
Data Processing Addendum · Privacy Policy · Terms of Service · Changelog · Status · Home