Security, Encryption & Data Protection at ScalePods
ScalePods Outreach is engineered around defense-in-depth controls for sensitive mailbox credentials, OAuth tokens, and prospect data. Below is a transparent summary of the technical controls actually enforced in production—described accurately without unverified certification claims.
Every OAuth access/refresh token, Google App Password, and custom SMTP/IMAP credential is encrypted before database storage using AES-256-GCM authenticated encryption with a server-side 32-byte ENCRYPTION_KEY, a unique cryptographically random 12-byte IV per record, a 16-byte GCM authentication tag, and versioned key metadata (key_version). Encrypted secrets are never returned in client API responses.
All traffic is protected with TLS/HTTPS and enforced HTTP security headers including Strict-Transport-Security (max-age=63072000; includeSubDomains), X-Frame-Options: DENY, X-Content-Type-Options: nosniff, Referrer-Policy, and Cache-Control: private, no-store on authenticated API routes.
Whitelisting the ScalePods GCP Client ID in Google Workspace Admin Console (Manage App Access → Trusted) only lifts the unverified-app policy block. Zero mailbox access is granted by admin whitelisting alone—access occurs only when an individual user explicitly completes OAuth consent, validated with HMAC-SHA256 signed state parameters.
Workspace boundaries are enforced at the PostgreSQL layer via Row-Level Security (RLS) using public.get_user_workspace_ids(). Users can enroll TOTP Two-Factor Authentication (2FA), revoke all active sessions globally, export workspace data, or review immutable Security Audit Logs with CSV export.
- SSRF & Redirect BlockingOutbound webhooks resolve DNS before connecting, block loopback/RFC-1918/metadata IPs, enforce
redirect: 'manual', and sign payloads with HMAC-SHA256. - XSS & HTML SanitizationAll inbound Unibox email bodies are sanitized via isomorphic DOMPurify before rendering in the browser.
- Privacy-Preserving TrackingOpen/click tracking events hash client IP addresses with SHA-256 instead of storing raw visitor IPs.
- AI Prompt-Injection IsolationInbound prospect messages are wrapped in strict XML delimiters (
<untrusted_prospect_email>) before AI classification.
| Subprocessor | Purpose | Region |
|---|---|---|
| Supabase (Postgres & Auth) | Multi-tenant database hosting, Row-Level Security (RLS), authentication & TOTP MFA | United States / Cloud |
| Google Cloud / Microsoft Azure | User-authorized Gmail API & Microsoft OAuth email transport and reply synchronization | Global |
| OpenAI / Google Gemini | Optional AI Reply Copilot classification and draft generation (disabled unless configured) | United States |
| Hosting & Edge DNS Provider | Application compute, TLS termination, and custom CNAME tracking domain routing | Global Edge |