DRAFT — sales-enablement content. Source of truth for every claim is the corresponding Phase 3 security policy under /docs/security/. Do not edit this file in isolation: any update here must trace back to a policy section that already passed audit. Aspirational items are explicitly marked "Planned" and MUST NOT be cited as current controls.

DeckTrust Security Overview

Last reviewed: 2026-10-14 (facts re-checked against the code, the CI configuration, the Supabase management API and the auth.mfa_factors table) Version: 1.1 Public-facing audience: prospective customers, security reviewers, procurement


At a Glance

DeckTrust is a multi-tenant SaaS platform purpose-built for U.S. Coast Guard 33 CFR Part 101 Subpart F (MTSA Cybersecurity Final Rule, 90 FR 6298) compliance. Customers are MTSA-regulated maritime operators; DeckTrust processes their personnel records, training data, vessel and facility information, and compliance evidence on their behalf.

This page summarizes the security posture of the production Service at decktrust.dev. It is a marketing-tone summary; the authoritative documents are the security policies in /docs/security/ and the Data Processing Addendum in /docs/legal/dpa-template.md. Where the policies and this page disagree, the policies control.


1. Architecture and Hosting

DeckTrust runs on a small set of established U.S.-hosted infrastructure providers covering application hosting, managed Postgres with authentication and file storage, and transactional email. An error-monitoring integration is built into the code but not enabled (see Section 7). Source code is held in a private repository and contains no Customer Data.

All current subprocessors that process Customer Data are U.S.-hosted. DeckTrust does not transfer Customer Data outside the United States. The current subprocessor list — with each vendor's role, region, certifications, and DPA links — is provided to Customers and prospective Customers under NDA on request to privacy@decktrust.dev. See the Subprocessors page for the request process and change-notification commitment.

DeckTrust is a sole-operator managed service provider (MSP). The founder holds every information-security role today; this is honestly disclosed in the Information Security Policy and shapes which controls are realistic at the current scale.

No AI processing of customer data. No model is in the data path and no model SDK is a runtime dependency of the Service. DeckTrust does not put Customer Data or Sensitive Security Information into any AI or "SI" tool (NVIC 02-26 Encl (1) ch. 1.j; 49 CFR 1520).

Source: information-security-policy.md §1, §2; subprocessors-public.md; PROJECT.md decision "No AI/SI in the data path".


2. Data Isolation (Multi-Tenant)

Customer-data isolation is the highest-stakes control on the platform and is enforced at the database layer, not only in application code.

  • Row-Level Security (RLS): every Customer-data table has Postgres RLS enabled. The policies live in supabase/migrations/ (a production-dumped baseline plus the files added since; the authorization foundation is 20260928120000_rbac_foundation.sql, ADR-001) and are replayed in CI against a Docker Postgres on every pull request.
  • JWT-claim-driven tenancy: a Custom Access Token Hook writes org_id, user_role, and entity_ids into the access token from the organization_members table on each sign-in. Helpers in a non-exposed private schema (private.org_id(), private.user_role(), private.authorize()) read those claims; each reworked table carries one restrictive organization fence plus one permissive policy per command, and every table's default grants are revoked and re-granted explicitly.
  • Cross-tenant access is reserved for the admin role (DeckTrust internal staff) through the organization fence's private.is_platform_admin() branch, which checks the super-tenant membership live. There is no codepath that grants cross-tenant access based on organization name.
  • Server-side identity from verified claims: application code takes identity only from the access token's verified claims (supabase.auth.getClaims(), which checks the ES256 signature against the project's JWKS), never from getSession(), which reads the cookie unverified. One getUser() liveness check per request means a revoked session is refused immediately, and taking access away (disabling a login, offboarding) revokes the user's sessions at once rather than at token expiry.
  • Automated regression coverage: the RLS and integration suites run in CI on every pull request and push to main against a Docker Postgres that replays the migrations, proving denied writes, filtered rows and allowed writes per role. Static tests fail CI on an unguarded admin page, an identity read from anywhere but the verified claims, or a role-less write. A new table must enable RLS, revoke the default grants and add its fence and policies in the migration that creates it.

Source: information-security-policy.md §5, §7; access-control-policy.md §3.4, §4; adr/ADR-001-server-side-rbac.md; vulnerability-management.md §5.


3. Encryption

  • In transit: TLS terminated at Vercel's edge for all public traffic. Application-to-Supabase connections (Postgres, Auth, Storage) are TLS-encrypted by default.
  • At rest: Supabase-managed Postgres encrypts data at rest using AES-256 with provider-managed keys. Supabase Storage buckets (assessment-photos, tool-uploads, documents, evidence) are encrypted at rest.
  • Backups: Supabase Pro daily physical backups are encrypted at rest by Supabase. The Point-in-Time Recovery add-on is not enabled (see Section 6).
  • Secrets: the Supabase service-role key is gated behind import "server-only" and never sent to a browser. All secrets live in Vercel project environment variables; none in source, and a static test fails the build on a committed credential literal.

Planned: Customer-managed encryption keys (CMK) for Postgres and Storage are on the roadmap; provider-managed keys are the current control.

Source: information-security-policy.md §4; access-control-policy.md §5.1; backup-recovery.md §3.


4. Authentication

  • Methods supported: email + password (primary for the personnel role); email one-time-passcode (primary for admin and client_admin); both methods are supported across all roles. Social providers (Google, GitHub, etc.) are disabled.
  • Password policy (NIST SP 800-63B aligned): minimum 12 characters, enforced by Supabase Auth (the application validator in src/lib/config/auth.ts sets its own floor at 8; the stricter platform setting controls), maximum 128, no composition rules, no forced rotation, breached-password rejection against a small local starter list (currently 25 entries).
  • Lockout: 5 failed attempts within a 15-minute window, tracked in the login_attempts table.
  • Session lifecycle: access token TTL 1 hour; refresh token TTL 30 days; refresh-token rotation enabled with a 10-second reuse interval.

Multi-factor authentication — honest three-way framing:

LayerState
Platform support (Supabase Auth)TOTP and WebAuthn are supported.
Enabled in DeckTrust's projectTOTP is enabled. WebAuthn is supported by the platform but not currently enabled in DeckTrust's project.
Enrolled and enforcedThe application does not enforce an aal2 (assurance-level-2) check for any role, and no account has an enrolled factor today: as of 2026-10-14 the auth.mfa_factors table holds zero verified factors across the admin, client_admin and personnel seats, the DeckTrust internal account included. MFA is supported and recommended but not required at sign-in for anyone.

Planned: TOTP enrolment on the DeckTrust internal admin account; application-level aal2 enforcement for admin and client_admin; HIBP API breached-password check; WebAuthn enabled in production.

Source: information-security-policy.md §6; access-control-policy.md §3.


5. Authorization (RBAC)

The Service has exactly three application roles, defined in code at src/lib/actions/auth.ts:

RoleAudienceVisibility
admin (Platform admin)DeckTrust internal staffCross-tenant — through the organization fence's private.is_platform_admin() branch.
client_adminCustomer-side compliance managerSingle-tenant, scoped by org_id.
personnelMariners and other personnel completing trainingScoped to their organization and assigned entities.

These role values are the literal strings in the user_role claim, the private.role_permissions table and the request-entry routing (src/proxy.ts). RLS at the database is the primary enforcement; requireAuth([...]) on every page, server action and route handler reads the same verified claims and is defense-in-depth. Every page under /admin/* is gated to the admin role, and a static test fails CI if one is not.

The Supabase service-role key (which bypasses RLS) is restricted to a single server-only module (src/lib/supabase/admin.ts) and used for operations a signed-in user's token cannot perform: user invitation and login revocation, scheduled jobs, and server-verified writes to evidence tables that signed-in users can only read (training completions and progress; the action verifies the caller's organization before the write). It is never imported in any 'use client' file.

Source: access-control-policy.md §2, §4; adr/ADR-001-server-side-rbac.md.


6. Backup, Recovery, and Continuity

CommitmentValueStatus
Recovery Point Objective (RPO)24 hoursOperating target — not contractually committed in the SLA.
Recovery Time Objective (RTO)4 hoursOperating target — not contractually committed in the SLA.
Backup retention for deleted dataNo more than 30 daysContractually committed in the DPA §11.2(b).
Database backup mechanismSupabase Pro daily physical backups (one per day, retained 7 days; confirmed through the Supabase management API on 2026-10-14)In place.
Point-in-Time Recovery (PITR) add-on—Not enabled. The May 2026 policies assumed it; corrected 2026-10-14.
Logical pg_dump to cold storage—Planned. The provider's daily backup is the current backup mechanism.
Quarterly restore drill—Planned. First drill targeted within 90 days of policy publication. Until that drill, RPO and RTO are best-estimate targets, not exercise-verified.
Cross-region disaster recovery—Planned. Supabase Pro is single-region by default.

The 30-day backup-retention number is aligned across this overview, the Information Security Policy, and DPA §11.2(b). RPO and RTO are stated only in the security policies today (they are not in the SLA, which commits to a 99.5% uptime target and support-response targets only). Reflecting RPO/RTO in the SLA, once exercise-verified by the first restore drill, is on the roadmap.

Source: backup-recovery.md §2, §3, §6, §8; information-security-policy.md §13; sla.md §2; dpa-template.md §11.2(b).


7. Logging, Monitoring, and Incident Response

  • Application errors: reported server-side and kept in the Vercel logs. A Sentry integration is built into the code but not enabled (no DSN; declined for now, decision #9 of 2026-09-29).
  • Authentication events: logged by Supabase Auth and visible in the Supabase dashboard.
  • Database access: logged at the connection level by Supabase.
  • Privileged-action audit trail: a Postgres audit_log table (RLS-protected and append-only: a trigger blocks update and delete even for the service role) records tenant-meaningful admin actions such as plan approvals, invitations and login changes, with the acting user stamped from the verified session. Coverage is partial today — not every state change is recorded; expanding coverage is on the roadmap.
  • Operational consoles: the Vercel and Supabase dashboards are reviewed at least weekly during normal operations.

Incident response:

  • The Incident Commander is the founder. There is no formal incident committee.
  • Severity is classified Sev1 / Sev2 / Sev3 / Sev4 in incident-response-plan.md §4.
  • DeckTrust follows the NIST SP 800-61 lifecycle, adapted for sole-operator scale.
  • Outside counsel and a cyber-insurance carrier are engaged for any Sev1, any breach declaration, or any incident affecting Customer Personal Data.

Coverage model — honest framing: monitoring is automated 24×7 on the provider side (Supabase and Vercel); there is no error-alerting service today. Human response is currently best-effort during waking hours. The SLA's P1 acknowledgement window is calibrated to that reality (4 Business Hours from receipt during Business Hours; commercially reasonable efforts outside Business Hours). A formal 24×7 P1 acknowledgement window is on the roadmap and is expected to be offered as a paid premium-support tier.

Planned: an error-alerting service (Sentry is wired but not enabled) and centralized log aggregation beyond the provider dashboards; SIEM-style automated correlation; comprehensive audit_log coverage; documented per-scenario runbooks; first formal Sev1 tabletop within 90 days of policy publication; 24×7 on-call rotation, gated on a second engineer or a paid premium-support tier.

Source: information-security-policy.md §8; incident-response-plan.md §3, §4, §5, §10; sla.md §5.


8. Breach Notification

DeckTrust will notify a Customer of a Security Incident affecting that Customer's Personal Data without undue delay, and in any event within 72 hours after DeckTrust's confirmation that a Security Incident has occurred. This timing matches the Data Processing Addendum §9.1 and is operationally implemented in breach-notification.md §2.

The notification will include the categories then known under DPA §9.2(a)–(e), including (where relevant) the information needed for the Customer to satisfy its own obligations under 33 CFR Part 101.620 (the MTSA Cybersecurity Final Rule's cyber-incident reporting rule). DeckTrust does not file the Customer's regulatory reports for them — DeckTrust supplies the timely facts the Customer needs to file its own.

A notification is not an acknowledgement of fault or liability (DPA §9.4).

Source: breach-notification.md §1, §2, §3.4; dpa-template.md §9.1, §9.2, §9.4.


9. Vulnerability Management and Disclosure

  • Severity and patch SLA (CVSS v3.1):
    • Critical (9.0–10.0): 7 calendar days
    • High (7.0–8.9): 30 calendar days
    • Medium (4.0–6.9): 90 calendar days
    • Low (0.1–3.9): 180 calendar days
  • Dependency monitoring: GitHub Dependabot alerts are enabled on the repository, .github/dependabot.yml is committed, and CI fails any PR or push to main that introduces a critical production-dependency advisory (npm audit --omit=dev --audit-level=critical).
  • Static analysis: internal review (founder self-review + AI-assisted review), the CI quality gate (ESLint, a production-scope type check, the full unit suite, the Docker-backed RLS and integration suites and npm audit, on every pull request and push to main), and static tests that encode the security invariants (admin page gates, the single identity source, no committed credentials). SAST in CI (CodeQL or Snyk) is planned, not in place.
  • Penetration testing: DeckTrust has not commissioned an independent penetration test as of 2026-05-01. The commitment is an annual third-party penetration test commencing once either DeckTrust has 5 paying customers under contract or by 2027-05-01, whichever is earlier.
  • Coordinated disclosure channel: security@decktrust.dev. Acknowledgement target: 5 Business Days. Triage: 10 Business Days. Remediation: per the Patch SLA above. PGP key publication and a .well-known/security.txt file are on the roadmap.

Source: vulnerability-management.md §3, §4, §6, §7, §9.


10. Compliance Posture

DeckTrust does not currently hold a SOC 2, ISO 27001, or other certification. This is honestly disclosed.

Certification / FrameworkDeckTrust Status
SOC 2 Type INot commenced. On roadmap; will be evaluated against customer demand.
SOC 2 Type IINot on roadmap today (would follow Type I).
ISO 27001Not on roadmap today.
HIPAA / GLBA / PCI-DSSNot in scope — DeckTrust does not process protected health information, financial transactions on-platform, or store payment-card numbers.
NIST SP 800-63B (password policy)Aligned in code at src/lib/config/auth.ts.
NIST SP 800-61 (incident response)Adopted as the lifecycle model in incident-response-plan.md §5.
CCPA / CPRADeckTrust acts as a Service Provider under DPA §2.

DeckTrust's subprocessors carry their own third-party certifications (typically SOC 2 Type II, with ISO 27001 and PCI-DSS Level 1 where relevant to the service provided). DeckTrust relies on each subprocessor's published security posture rather than on independent audit by DeckTrust. Vendor-by-vendor certification details are included in the subprocessor list provided to Customers and prospective Customers under NDA — see Section 1 above for the request process.

Source: information-security-policy.md §10, §14; subprocessors-public.md.


11. Customer Audit and Diligence Rights

Customers under a Master Services Agreement (MSA) have the audit rights set out in DPA §10:

  • Annual questionnaire-style materials on request (no more than once per twelve-month period, except after a confirmed Security Incident affecting the Customer's Personal Data). Materials may include current Subprocessor SOC 2 reports under NDA, a written response to a reasonable security questionnaire (see security-questionnaire.md), and policy summaries.
  • On-site or Customer-conducted audits are available where questionnaire materials do not satisfy a documented audit obligation under Applicable Data Protection Laws, on 30 days' written notice and under reasonable confidentiality terms.
  • Regulator-compelled audits override the frequency limits.

Source: dpa-template.md §10.


12. Contact

TopicAddress
Security questions, vulnerability reports, coordinated disclosuresecurity@decktrust.dev (PGP key: planned)
Privacy / data-protection requestsprivacy@decktrust.dev
Subprocessor change notifications (subscription)subprocessors@decktrust.dev
General supportsupport@decktrust.dev

For a full security questionnaire response (CAIQ-Lite + SIG-Lite hybrid), see security-questionnaire.md. For a customer onboarding runbook, see onboarding-checklist.md.


Roadmap Summary (Planned, NOT Current Controls)

The following items are explicitly not in place today and must not be cited as current controls:

  • Application-level aal2 enforcement for admin and client_admin.
  • WebAuthn enabled in DeckTrust's project.
  • HIBP API breached-password check.
  • GitHub branch protection on main (not available on the repository's current GitHub plan). CI-side enforcement of the quality gates has been in place since September 2026 and is no longer a roadmap item.
  • TOTP enrolment on the DeckTrust internal admin account.
  • The Point-in-Time Recovery add-on on the Supabase project (finer recovery granularity than the daily backup).
  • Ratchet the CI npm audit gate from critical to high.
  • SAST in CI (CodeQL or Snyk); DAST in non-production.
  • Customer-managed encryption keys (CMK) for Postgres and Storage.
  • First quarterly restore drill (target: within 90 days of policy publication).
  • Reflecting RPO/RTO contractually in the SLA, once exercise-verified.
  • Cross-region disaster recovery; scheduled pg_dump to cold storage.
  • An error-alerting service (Sentry is wired but not enabled); centralized log aggregation; comprehensive privileged-action audit logging; documented per-scenario runbooks.
  • Annual third-party penetration test (trigger: 5 paying customers under contract OR 2027-05-01, whichever earlier).
  • SOC 2 Type I — evaluated against customer demand.
  • 24×7 on-call rotation (gated on a second engineer or paid premium-support tier).
  • Published .well-known/security.txt and PGP key for security disclosures.
  • Bug-bounty program.
  • First formal Sev1 tabletop exercise (target: within 90 days of policy publication).

Roadmap is consolidated from: information-security-policy.md §14; access-control-policy.md §11; backup-recovery.md §8; incident-response-plan.md §10; vulnerability-management.md §9; breach-notification.md §8.