| Document | Stubie Security: how we protect the Service and your data |
| Version | 2026-11 draft 1 |
| Version Date | [to be confirmed] |
| Last updated | 5 November 2026 |
| Supplier and Operator | DTK ReFresh (Pty) Ltd, registration number 2025/003280/07, trading as Stubie |
| Published at | https://stubie.co.za/legal/security |
| Report a security problem | support@stubie.co.za, subject "Security" |
| Related documents | Stubie Data Processing Agreement (clause 8, clause 11 and Annex 1, which is the contractual list of measures); Stubie Privacy Policy (clauses 14 and 15); Stubie Subprocessor List |
In short
This box is a plain-language summary. If it differs from the numbered sections, the numbered sections apply.
- Your business's data is kept apart from every other business's data by checks in the database itself.
- All traffic to the app and the quote pages is encrypted, and connection secrets for PayFast, Sage and Bob Go are kept in a secrets vault.
- Sign-in uses a link or a 6-digit code, with an optional authenticator. Our staff need an authenticator, and every staff view of your account is time-limited, read-only, needs a reason and is logged.
- We never receive or store card numbers.
- We say plainly below what is not yet in place.
1. Where your data is
1.1 The main database is Supabase, in Ireland (Amazon Web Services eu-west-1). Files are kept in Cloudflare R2 storage in western Europe; raw webhook records in eastern North America; inbound email at Resend in the United States. No system that holds the Service's database, email, files or AI processing is in South Africa. The full list is in the Subprocessor List.
2. Measures in place
| Area | What we do |
|---|---|
| Encryption in transit | The app (app.stubie.co.za) and the quote pages (q.stubie.co.za) are served only over HTTPS, with HTTP Strict Transport Security for two years. |
| Browser protections | A strict, nonce-based Content Security Policy; other sites cannot frame the app or the quote pages; content-type sniffing is blocked. |
| Separating businesses | Row-level security is switched on for every table in the database's public schema. Access rules check that the signed-in person is a member of the business whose records are asked for. Money records change only through fixed database functions. |
| Secrets | Each business's connection secrets (PayFast details, Sage tokens, Bob Go and WhatsApp credentials) are stored in Supabase Vault. |
| Incoming notices | Every webhook is checked before it is queued: Resend by signature and time stamp; PayFast payment notices by merchant identity, signature and PayFast's addresses; Stubie's own billing hook refuses any address that is not PayFast's; Bob Go by a secret token; Meta by verify token and HMAC; Microsoft by client state; Google by a signed token. |
| Sign-in | No passwords: a magic link or a 6-digit code. Sign-in attempts are counted per hashed address and hashed IP address. Owners can add an authenticator, and a business can require it for its owners. |
| Staff access | Our staff console requires an authenticator, a console session with a 1-hour idle limit and a 12-hour maximum, and a fresh code for risky actions. Viewing a business's account as its owner is read-only, ends after 30 minutes, needs a written reason, and is recorded in our audit and in the business's activity log. Deleting a business or erasing a person needs an authenticator code and a reason, and is audited. |
| Activity log | Each business has an activity log that records actions, including data exports and changes to authenticators. |
| Payments | We never receive or store card numbers. Customers pay a business on that business's own PayFast page. Stubie's own billing keeps only a PayFast card token. Customer money never reaches Stubie. |
| Minimisation | The quote pages set no cookies, use no third-party analytics and ask search engines not to index them. Phone notifications carry no customer name or message text. Email open and click tracking is off. Error reports from the quote pages are scrubbed before they are stored. |
| AI | Prices come from the business's own price list and rules, never from the AI. Each business has a monthly AI spend limit; mail above it is held, not read. We do not train or fine-tune any AI model on your data. Every AI request is sent with zero data retention to hosts that do not keep or train on it (Subprocessor List, section 2.1). |
| Deletion | Deleting a business removes its database records in one step, queues removal of its stored files, deletes its stored secrets and produces a deletion certificate (see the Data Deletion page). |
| Testing | An internal security test on 30 September 2026 found 15 issues; 14 are fixed. |
| Encryption at rest | Provided by our hosting and storage providers as part of their services. We have not checked it independently. |
3. What is not yet in place
We list these so that you can judge the Service for yourself.
3.1 No independent penetration test has been done.
3.2 There is no written procedure or template yet for reporting a security compromise; Data Processing Agreement clause 11 sets out what we have agreed to do.
3.3 No database restore has been tested, and file storage is not backed up.
3.4 One person has access to customer data and holds the direct logins to our main providers, with one staff authenticator device.
3.5 Personal details are not removed from messages before the AI reads them, because the AI needs the full message.
3.6 Business bank details are kept in an ordinary database column protected by row-level security, not in Vault.
3.7 The statements in section 2 about HTTPS and browser protections are confirmed for app.stubie.co.za and q.stubie.co.za only [Privacy Policy item B48].
4. If something goes wrong
4.1 If a security compromise affects a business's customer data, we tell the business without undue delay, with what it needs to notify the Information Regulator and its customers, as Data Processing Agreement clause 11 sets out. Where our own records about Clients, Users or visitors are involved, we notify the Regulator and the people affected ourselves, as Privacy Policy clause 15 sets out.
5. Reporting a vulnerability
5.1 Please email support@stubie.co.za with the subject "Security", with enough detail for us to reproduce the problem. Do not access other people's data, and do not test in a way that disrupts the Service (Acceptable Use Policy, paragraph A5.2). We will reply.
6. Security questions
6.1 If your business needs a security questionnaire completed, send it to support@stubie.co.za and we will answer it in writing.