Security at Thrum

Your project data is sensitive. We treat it that way. Here's exactly how we protect it — no vague promises, just specifics.

AES-256

Encryption at rest

TLS 1.3

Encryption in transit

53

Authenticated API routes

0

Third-party trackers

Encryption

Data in transit

TLS 1.3 on all connections. HSTS enforced with 2-year max-age and preload

Data at rest

AES-256 encryption on all database storage and backups

File uploads

Encrypted storage with signed URLs (1-hour expiry). No public file access

Passwords

Hashed with bcrypt via Supabase Auth. We never store or see plaintext passwords

Access control

Authentication

Supabase Auth with secure HTTP-only cookies. Session tokens refreshed on every request

Row-level security

Every database table has PostgreSQL RLS policies. Users can only query rows they have access to, enforced at the database level — not just the application

Role-based permissions

Three roles per project: Viewer (read-only), Member (create/edit), Admin (full control). Enforced on every API route

API authentication

All 53 API endpoints require valid authentication. Public endpoints (docs, webhooks) use HMAC signature verification

Application security

CSRF protection

Origin header validation on all state-changing requests (POST, PUT, PATCH, DELETE) via middleware

XSS prevention

DOMPurify sanitization on all user-generated HTML. Strict Content-Type-Options: nosniff

Input validation

Zod schemas on every API mutation. Field length limits, type checking, enum validation, UUID format enforcement

Rate limiting

Per-user sliding window rate limits on expensive operations: checkout, translation, imports, exports, invitation acceptance

File upload safety

20MB size limit. Dangerous file types blocked (exe, bat, cmd, ps1, sh, etc.). Filenames sanitized to prevent path traversal

SQL injection

Impossible by design — all queries go through Supabase PostgREST with parameterized queries. No raw SQL from user input

Infrastructure

Hosting

Vercel edge network with automatic DDoS protection and global CDN

Database

Supabase (PostgreSQL on AWS) with automated daily backups, point-in-time recovery, and encrypted replicas

Payments

Stripe handles all payment processing. PCI DSS Level 1 certified. We never see or store card numbers

Email

Resend for transactional emails only. No marketing emails without consent

HTTP security headers

Strict-Transport-Security

max-age=63072000; includeSubDomains; preload — forces HTTPS for 2 years

X-Frame-Options

DENY — prevents clickjacking attacks

X-Content-Type-Options

nosniff — prevents MIME-type sniffing

Referrer-Policy

strict-origin-when-cross-origin — limits referrer information leakage

Permissions-Policy

camera=(), microphone=(), geolocation=() — blocks unnecessary browser APIs

Data governance

Data ownership

You own all your data. We store it only to provide the service. Full CSV export available anytime

Data deletion

Account deletion removes personal data within 30 days. Encrypted backups expire within 90 days

Sub-processors

Only 4 third parties touch your data: Supabase (database), Stripe (payments), Resend (email), Vercel (hosting). No analytics, no ad networks, no data brokers

Audit logging

All project-level actions are logged with timestamp, user, and action type. Available to project admins

GDPR compliance

Data processing agreements with all sub-processors. Right to access, rectify, delete, and export. 14-day response target

Responsible disclosure

Found a security vulnerability? We appreciate responsible disclosure. Email security@thrum.work with details. We will acknowledge within 24 hours, investigate promptly, and keep you informed. We do not pursue legal action against good-faith security researchers.

Questions about security?

Email security@thrum.work for security questions, or privacy@thrum.work for data requests.