Security and Compliance

MorisBox is designed with security-first controls: partner isolation, hashed API keys, E2EE for in-app chats, and delivery-attempt logs.

This page describes what is available today for enterprise integrations. It is not a claim of SOC 2, ISO 27001, or HIPAA certification.

For the complete internal plan, see docs/COMPLIANCE.md in the repository.

Available now

ControlDescription
TLSHTTPS on public sandbox hosts
API keysHashed at rest, scoped, with an optional IP allowlist (sk_… for partners and sk_dev_… for developers)
Partner / developer isolationEach account sees only its own data
E2EEIn-app conversations / sealed hub - details
Delivery tracePer-channel attempts on each message
Proof of Delivery APIGET /messages/{id}/audit (and Partner Hub message-detail UI)
DLP (ingress)Optional scanning of non-E2E body text (dlp_mode)
DSAR export / deletionEnd user GET /me/export, POST /me/delete (and Client Application Profile UI)
RetentionPartner / developer retention settings redact old plaintext bodies
Developer templates onlyDevelopers can send only approved templates

Proof of Delivery

GET /api/v1/messages/{message_id}/audit
Authorization: Bearer <partner_api_key>

Returns:

  • Message metadata (body is null when encrypted)
  • All delivery attempts (channel, state, provider reference, and timestamps)
  • Related audit events

Use this as client evidence that MorisBox accepted and attempted delivery, not as a guarantee that the user read the message.

DLP (Data Loss Prevention)

Partner field dlp_mode:

ModeBehavior
offNo scanning
warn (default)Scan plaintext; include warnings in the send response
enforceBlock high-severity matches with 422 dlp_blocked

E2EE ciphertext is never scanned. For regulated content, prefer encryption: "e2e" / the secure path.

GDPR (end user)

EndpointPurpose
GET /me/exportPortable account-data export
POST /me/delete with { "confirm": true }Anonymize the account (irreversible)

E2EE plaintext is not stored on the server and cannot be exported by MorisBox.

Partner compliance settings

Exposed on the partner record / settings/me:

  • dlp_mode
  • retention_days_messages
  • hipaa_mode (policy flag - a signed BAA is required before processing PHI)

Roadmap

  • PoD UI in Partner Hub
  • Client-side DLP warnings
  • Signed audit-export packages
  • Formal SOC 2 Type II / ISO 27001 when organizational evidence is ready