Approach
Crate takes account of the state of the art, the costs of implementation, and the nature, scope, context and purposes of processing, as well as the varying likelihood and severity of risks to the rights and freedoms of people whose data it holds. The measures below are the ones it maintains for that risk. They are described here so that merchants can meet their own documentation duties; Crate does not claim a security certification or audit on this page, and this description is updated as the measures evolve.
The platform is a Ruby on Rails application built on the Spree framework, with Hotwire and Stimulus on the front end, background jobs on Solid Queue over PostgreSQL, and infrastructure managed as code. Security is therefore implemented in the application, in the container platform it runs on and in the operational procedures around both.
Access control
Sign-ins to the platform are handled by Devise, with hashed and salted passwords and protection against common credential attacks. Two-factor authentication is available on merchant accounts, and merchants are encouraged to enable it for every team member.
Inside a store, staff permissions are role-based: each team member is granted only the permissions their role needs, covering areas such as orders, products, customers and settings. On the platform side, administrative access is governed by the Surface role-based access control layer, which enforces least-privilege access for staff and support operations against per-store permission boundaries.
Access to production infrastructure is limited to the small number of people who operate it, granted through named accounts and least-privilege roles, and reviewed when roles change and when people leave. Shared administrative credentials are not used.
Encryption
Data in transit is encrypted with TLS on every connection to the platform, its storefronts and its APIs, and connections to third-party providers are also made over TLS. Platform credentials, API keys and other secrets are held in Rails encrypted credentials and encrypted environment configuration, never committed to source control in plain text.
Sensitive columns at rest are protected with Active Record encryption, so that personal fields such as contact details and other sensitive attributes are stored encrypted in the database and decrypted only in the application process that needs them. Backups of the database are encrypted as they leave the server, and files in Cloudflare R2 object storage are encrypted at rest by the storage layer.
Data isolation and multi-tenancy
Each store is a separate tenancy in a single application. Store-scoped records are queried through store_id scoping, so that a query made inside one store cannot read another store's products, customers, orders or files by default. The Surface gate provides a second, explicit authorisation check at the controller level, so that a signed-in user must both belong to the store and hold the required role for the action.
This layered approach means the database boundary, the application scope and the authorisation gate have to fail together for data to cross tenants. Isolation is covered by the platform's automated test suite, which exercises cross-tenant access controls for the records that matter most.
Rate limiting and abuse prevention
Request throttling is applied with Rack::Attack on the routes that matter most: authentication endpoints, to slow password guessing and credential stuffing; payment and checkout endpoints, to limit fraudulent transaction attempts; the API, to cap automated request volume; and messaging endpoints, to prevent bulk abuse of the email, SMS and social messaging channels.
Limits are enforced per IP address and per account where an account is identifiable, and repeated abuse leads to temporary blocking. Cloudflare Turnstile protects public forms against automated submissions. Rate limiting is a guardrail, not a guarantee, and suspected abuse can also be reported to hello@crate.shop.
Audit logging and consent records
Staff activity on merchant stores is logged, so that changes made by team members, and by platform staff acting in a support context, are attributable to an identity and a time. Administrative and support access to customer records is recorded even where it is read-only.
Consent records for email, SMS, messaging and push marketing are kept in an append-only log: entries record the consent captured, the channel, the source and the time, and later changes such as unsubscribes are appended rather than overwritten, so the history of a customer's consent state remains auditable.
Hosting and container isolation
Each environment runs in its own single-tenant container, so production, staging and build environments do not share a runtime. Containers run rootless under Podman, which removes root privileges from the application process, and the container filesystem is read-only with writable directories provided through tmpfs mounts, so a compromised process cannot rewrite application code.
The application server is dedicated to the deployment and is not shared with other tenants. Inbound email for store domains is handled by Cloudflare Email Routing, media and downloads by Cloudflare R2, and video by Cloudflare Stream, keeping heavy traffic off the application server itself.
Database management
The application database is PostgreSQL, with a separate database per environment, so that development and staging work cannot touch production data. The application holds only the database role it needs; administrative database access is limited to infrastructure operators.
A connection budget is enforced, so that no single process pool can exhaust the database's connection capacity and starve the rest of the application, and database credentials rotate through the encrypted credentials store rather than living in configuration files. Migrations are reviewed before deployment and applied through the normal release process.
Backups and recovery
Daily database snapshots are taken and stored in Cloudflare R2 object storage, encrypted, with retention arranged so that recent days are always recoverable. Restore procedures are exercised by operators so that recovery is a practised process rather than a document.
Backups are covered by the deletion terms of the Data Processing Addendum: data removed from live systems ages out of the snapshot cycle under the normal retention window, and backups are never restored to resurrect deleted records beyond that window.
Incident response and breach notification
Crate maintains an incident response procedure covering identification, containment, investigation, notification and review. When a personal data breach affecting merchant data is identified, the incident is contained and investigated, and affected merchants are notified without undue delay and in any event within 48 hours, by email to their registered contacts, with the information described in the Data Processing Addendum.
The 48-hour notification is designed so that merchants, as controllers, have time to meet their own 72-hour deadline for notifying a supervisory authority under Article 33 of the GDPR, where that duty applies. Crate does not notify authorities on a merchant's behalf unless a specific written agreement says so; each merchant assesses and makes its own notification decisions.
If you suspect your store has been affected by a security incident, contact hello@crate.shop immediately with your store name and what you observed, and review your team members' accounts and credentials at the same time.
Personnel and confidentiality
Everyone who works on the platform, whether employed or contracted, is bound by written confidentiality obligations that survive the end of their engagement. Access to production data is granted on a least-privilege basis, is limited to the roles that genuinely need it, and is revoked promptly when it is no longer needed.
Personnel with production access are trained on the handling of personal information and on the incident procedure, and support operations that touch merchant data are performed through audited, permission-gated tooling rather than unrestricted database access.
Secure development
Code is reviewed before it reaches production, and static analysis runs as part of development: RuboCop enforces style and detects problematic patterns, and Brakeman scans the Rails codebase for known vulnerability classes such as injection, unsafe evaluation and mass assignment. Dependencies are monitored for published security advisories, and updates are applied when advisories affect the platform.
The automated test suite covers, among other things, authorisation and cross-tenant isolation, and changes that touch authentication, payments or messaging require review by someone other than the author. Security fixes are prioritised and deployed through the normal container build and release pipeline.
Payment data handling
Payment card details are never stored on Crate's infrastructure. Card entry happens in the hosted fields of the connected payment provider, such as Stripe or PayPal, and Crate retains only payment metadata, including provider references, amounts, currencies and statuses, which it needs to reconcile orders and handle refunds and disputes.
Local payment methods offered by providers serving African markets, and the subscription billing for Crate's own plans, follow the same rule: payment credentials stay with the payment provider, and the platform stores the minimum metadata it needs.
Reporting a security concern
Report suspected vulnerabilities privately to hello@crate.shop with a clear subject line. Include the affected route or page, a minimal reproduction using your own test accounts, and the potential impact. Do not open public issues or publish reproduction details before coordinating with us.
Use only accounts and data that belong to you. Do not scan merchant storefronts or custom domains, access another tenant's data, disrupt the service, or move real money. If you encounter another person's data, stop and report it immediately. This reporting route does not authorise automated or third-party security testing, which requires explicit scope approval in advance.
If you believe someone has accessed your account, change your credentials, review your team members' access in the dashboard and contact hello@crate.shop. Do not include passwords, secret API keys or full payment card details in any report.