Data Processing Agreement
Last updated 31 October 2026.
1. Introduction and scope
This Data Processing Agreement (“DPA”) supplements the Terms of Service between SafeGrd (provided by Kush Kumar Sharma, of Bengaluru, India - 560048, “SafeGrd”, “Processor”, “we”, “us”) and the customer agreeing to these terms (“Customer”, “Controller”, “you”).
This DPA governs the processing of Personal Data in connection with the SafeGrd resilience platform pursuant to Article 28 of Regulation (EU) 2016/679 (the “GDPR”), the UK GDPR, and applicable data protection laws.
2. What SafeGrd can and cannot access
What SafeGrd can read follows from choices Customer makes, each separately:
- Customer-Managed Key: Backups of your PostgreSQL databases, file directory trees, and IMAP mailboxes are compressed and encrypted with age (X25519) on your own host before they leave it.
- Keys and Credentials: By default, SafeGrd never receives database passwords, mailbox credentials or storage secret keys, and with a customer-managed key it never receives your age private key. Customer may choose, separately for each, to have SafeGrd hold a surface’s database or mailbox credential, a storage bucket’s secret key, or (with a SafeGrd-managed key) the age private key. SafeGrd stores anything so held encrypted and releases it only to Customer’s enrolled hosts during authorized operations, or, as described below, to a machine SafeGrd starts for one backup or drill. Every release is recorded in Customer’s key access record, and nothing so held is returned through the console or API.
- Where Backups Are Stored: Encrypted bytes stream directly from your host into your own storage bucket, or, if you choose SafeGrd-hosted storage, into compliance-locked object storage provided by SafeGrd. In the hosted case SafeGrd stores your backups only as ciphertext, encrypted on your host or on the machine that took the backup, together with each object’s size and lock date. Backup contents never pass through SafeGrd’s server.
- Restore Drills Run on SafeGrd: With a SafeGrd-managed key, Customer may choose, for each surface, to have its restore drills run on SafeGrd instead of on Customer’s hosts. This is the only case in which SafeGrd decrypts a backup. For each such drill SafeGrd starts a virtual machine of its own with its compute Sub-processor. The machine restores one snapshot to test it, with the key SafeGrd releases to that drill alone. It serves one drill of one organization and is destroyed together with its storage when the drill ends or reaches its time limit. Every key release to a drill is recorded in Customer’s key access record. The decrypted contents never reach SafeGrd’s server, which keeps only the drill’s result.
- Backups Taken by SafeGrd: With a SafeGrd-managed key, Customer may give SafeGrd a database’s connection string to hold, or the S3 access key of a bucket such as a Supabase project’s Storage, and have SafeGrd take that surface’s backups. For each such backup SafeGrd starts a virtual machine of its own with its compute Sub-processor. The machine is released that credential for that backup alone and never the age private key. From a bucket it reads the objects under the prefix Customer chose. It encrypts the backup to the organization’s key before writing it to SafeGrd-hosted storage or to Customer’s own bucket. The machine serves one backup of one organization and is destroyed when the backup ends or reaches its time limit. Every release of the credential is recorded in Customer’s key access record. What the machine reads never reaches SafeGrd’s server, which keeps only the backup’s record. When a bucket is added, SafeGrd’s server lists it once with the key, reading at most one object name, to report whether the key works.
- Platform Sign-In: For a Supabase project, a DigitalOcean cluster or a Heroku Postgres database, Customer may instead authorize SafeGrd through the platform’s sign-in. SafeGrd then holds that authorization’s tokens, encrypted, and uses them only to obtain what each backup needs from the platform: from Supabase, a read-only database role whose password expires within minutes, and from DigitalOcean or Heroku, the database’s connection details. For a DigitalOcean cluster that lists trusted sources, SafeGrd also uses them, when the database is added, to add the addresses SafeGrd’s machines connect from. The backup’s machine is released a connection string and never the authorization. Each role obtained, each read of connection details and each release is recorded in Customer’s key access record.
3. Roles and documented instructions
Customer is the Data Controller (or a Processor acting on behalf of a third-party controller) and SafeGrd is the Data Processor. SafeGrd shall process Customer Personal Data only in accordance with documented instructions from Customer, including with respect to international data transfers, unless required to do so by applicable law.
The Customer’s configuration of the SafeGrd CLI, backup targets, schedules, retention policies, and restore verifications through the Web Console or API, including where each surface’s drills run, constitutes Customer’s complete instructions.
SafeGrd shall immediately inform Customer if, in its opinion, an instruction infringes the GDPR or other Union or Member State data protection provisions.
4. Confidentiality
SafeGrd ensures that persons authorized to process personal data have committed themselves to confidentiality or are under an appropriate statutory obligation of confidentiality.
5. Security of processing (Article 32)
SafeGrd implements appropriate technical and organizational measures (TOMs) to ensure a level of security appropriate to the risk, as detailed in Schedule 2 below.
6. Sub-processors
Customer grants SafeGrd general written authorization to engage third-party Sub-processors to assist in delivering the Service. The current list of authorized Sub-processors is published at safegrd.dev/subprocessors.
SafeGrd shall inform Customer of any intended additions or replacements of Sub-processors at least thirty (30) days prior to authorizing the Sub-processor to process Personal Data, providing Customer the opportunity to object. SafeGrd imposes contractual data protection obligations on every Sub-processor that are no less protective than those set out in this DPA, and remains fully liable to Customer for the performance of each Sub-processor’s obligations.
7. Assistance with data subject requests
Taking into account the nature of the processing, SafeGrd assists Customer insofar as possible by appropriate technical and organizational measures for the fulfillment of Customer’s obligation to respond to requests for exercising Data Subject rights under Chapter III of the GDPR (including access, rectification, erasure, and data portability).
With a customer-managed key, Customer holds the only decryption key, so SafeGrd cannot read, search or alter the contents of backups, and Customer maintains direct control over restoring data and applying erasure or rectification requests. Where Customer has named tables in a surface’s erasure record, the Service records the primary key of each row a DELETE removes from those tables and keeps the record encrypted beside Customer’s backups. When a backup taken before those deletions is restored, the Service re-applies them before the restore completes. For all other data held on immutable WORM snapshots, Customer is responsible for maintaining an erasure suppression register and re-applying deletion requests post-restore.
SafeGrd shall also assist Customer, taking into account the nature of processing and the information available to SafeGrd, in ensuring compliance with Articles 32 to 36 of the GDPR, including data protection impact assessments and prior consultation with a supervisory authority.
8. Personal Data breach notification
SafeGrd shall notify Customer without undue delay, and in any event within 72 hours, after becoming aware of a Personal Data Breach affecting Customer Personal Data under SafeGrd’s custody. The notification shall describe the nature of the incident, the categories and approximate number of data subjects affected, and the remedial measures taken or planned.
9. Deletion and return of data
Upon termination of the Service, SafeGrd shall, at Customer’s choice, delete or return all Customer Personal Data stored on SafeGrd’s server within thirty (30) days, unless applicable European Union or Member State law requires continued storage.
Customer may delete an organization from the console at any time, which ends its processing in the Service. SafeGrd then retains that organization’s records on its server only to restore it at Customer’s request, and deletes them twelve (12) months after the deletion, or within thirty (30) days of Customer’s written request to support@safegrd.dev or of termination, whichever comes first.
Backups in SafeGrd-hosted storage are written under a compliance-mode object lock whose date Customer’s plan and settings fixed at the time of writing. Nobody, including SafeGrd, can delete a locked object before that date. Customer instructs SafeGrd to keep each hosted backup until its lock ends, and SafeGrd deletes it within one day after. Customer may download hosted backups before closing the account; they remain encrypted with Customer’s key throughout.
10. Audits and attestation
SafeGrd shall make available to Customer all information necessary to demonstrate compliance with Article 28 of the GDPR, and shall allow for and contribute to audits, including inspections, conducted by Customer or an auditor mandated by Customer. Audits are requested in writing with at least thirty (30) days’ notice, are limited to once a year unless a supervisory authority requires otherwise or a Personal Data Breach has occurred, are carried out during business hours under confidentiality, and are at Customer’s cost. SafeGrd will first offer its written security documentation and its signed Fire Drill attestation records, which demonstrate that backups are intact and restorable, and which may answer the audit without an inspection.
11. International transfers
Where personal data originating in the EEA, Switzerland, or the UK is transferred to countries outside those territories that have not received an adequacy decision, the parties agree that the Standard Contractual Clauses (Commission Implementing Decision (EU) 2021/914, Module 2 Controller-to-Processor) are incorporated into this DPA by reference. For transfers from the United Kingdom, the International Data Transfer Addendum issued by the Information Commissioner applies to those clauses; for transfers from Switzerland, the clauses apply with the amendments required by the Swiss Federal Act on Data Protection.
Schedule 1: Details of processing
| Subject Matter | Automated backup orchestration, verification attestation, and disaster recovery metadata management. |
| Duration | The duration of Customer’s subscription under the Terms of Service, plus up to 30 days for data deletion upon account closure. |
| Nature & Purpose | Scheduling backups, monitoring host health, detecting mass-deletion anomalies (Threat Shield), asserting restore integrity via automated Fire Drills, and, where Customer chooses it, running those drills on SafeGrd’s drill machines. |
| Data Types | Account data (names, emails, password hashes); technical metadata and telemetry (host and surface names, backup schedules, snapshot timestamps and sizes, item and file counts, table and folder names, integrity digests, and Fire Drill attestation records); and, for hosted storage only, backup contents as client-side encrypted ciphertext. Backups may contain any category of personal data, including special categories, as determined by Customer. SafeGrd processes them in readable form only on a machine it starts for a backup or drill Customer chose to run on SafeGrd, and then only what that backup reads or the snapshot under drill, for the length of that backup or drill, as described in section 2. |
| Data Subjects | Customer administrative users and engineers, and end-users whose information is contained within Customer’s backed-up systems. |
Schedule 2: Technical and organizational measures (TOMs)
- Asymmetric Client-Side Encryption: Data is encrypted with age (X25519) before transmission. With a customer-managed key, SafeGrd holds no private key.
- Key and Credential Custody: Keys and credentials SafeGrd holds for Customer are stored encrypted and released only to Customer’s enrolled hosts or to a machine SafeGrd starts for one backup or drill. Every release is recorded in Customer’s key access record.
- Immutable Storage (WORM): S3 Object Lock in compliance mode prevents modification or deletion before retention expiry, including on SafeGrd-hosted storage. Backups written to a local directory are made read-only, which deters but does not prevent deletion by an administrator of that host.
- Transport Security: All API and console communications are enforced over TLS 1.3 / TLS 1.2 with HSTS.
- Authentication & Access Controls: Scoped Personal Access Tokens (PATs), bcrypt password hashing, HttpOnly session cookies with CSRF protection, strict CSP preventing inline script execution, and rate limiting.
- Backup and Drill Isolation: Each backup or drill run on SafeGrd has a virtual machine of its own that serves no other backup, drill or organization. In a drill, the restored database cannot read the drill’s credential. The machine is destroyed when the backup or drill ends or reaches its time limit, a drill’s machine together with its storage.
- Cryptographic Attestation: Restore verification proofs are sealed with Ed25519 signatures over append-only SHA-256 hash chains.