Security

How RestoreProof handles your data

Your backups are the most sensitive data in your stack. RestoreProof is designed so that they never reach us. This page lists exactly what does reach us.

Backup data stays in your infrastructure

The runner runs in your GitHub Actions job, GitLab CI job or Kubernetes pod. It reads the backup from your storage, restores it into a throwaway database in that same environment, runs the checks you defined, and removes the database. The backup file and the restored data are never uploaded to RestoreProof.

What the runner sends

After each drill, the runner sends one JSON report to POST /v1/runs. The report contains the following fields and nothing else:

FieldContents
schemaVersion number of the report format.
drillDrill name from your config.
engine, engine_versionDatabase engine and version, for example postgres and 16.
statuspassed, failed or error.
started_at, finished_atTimestamps of the drill.
restore_secondsTime taken by the restore.
backup.uriLocation of the backup object, for example its bucket and key or file path.
backup.size_bytes, backup.sha256Size and checksum of the backup file.
backup.created_at, backup.age_hoursBackup timestamp and age at the time of the drill.
checks[]For each check: name, kind, status, detail, observed and expected values.
tables[]Up to 500 of the largest tables: table name and rows count.
environmentRunner type (github-actions, gitlab-ci, kubernetes or local), repository name, run URL, CLI version and hostname.
errorError message when the status is error.

Check details and table names come from your database and your config, so they can contain identifiers from your schema. Review them before you enable a drill on a sensitive database. The detail field carries the restore tool’s exit status and messages.

What is never sent

  • The backup file, or any part of it.
  • Row contents, including the rows your SQL assertions read.
  • Database passwords, storage credentials, or the contents of environment variables.

Accounts and access

  • Dashboard sign-in uses GitHub OAuth. We store your GitHub user ID, login, and the name and email GitHub provides.
  • Dashboard sessions use a random session ID in an HttpOnly, Secure, SameSite=Lax cookie named __Host-rp_session. Every dashboard form requires a per-session CSRF token.
  • Runner API keys look like rp_live_ followed by random characters. We show the key once. We store only its SHA-256 hash, and you can revoke a key at any time.
  • Each runner request is authenticated with the API key and counted against a per-key rate limit.

Encryption and integrity

  • All traffic between the runner, the dashboard and the service uses TLS.
  • Stored data is held on Cloudflare D1 and R2, which encrypt data at rest. See Cloudflare’s documentation for its controls.
  • The API stores a SHA-256 digest of each raw report body as payload_sha256.
  • Every evidence pack is signed with HMAC-SHA256 using a server-side key, so changes can be detected through the verify page.

Subprocessors

These companies process data on our behalf. We use them only for the purpose listed.

SubprocessorPurposeData involved
CloudflareHosting, application runtime, database (D1), evidence pack storage (R2)All service data described on this page
PaddlePayments and billing as Merchant of RecordBilling contact, billing country, subscription and transaction records
ResendTransactional email, such as alerts and account emailsEmail address and alert content
GitHubSign-in with GitHubSign-in exchange only

Slack alerts are sent only to a webhook URL you configure. That webhook belongs to your Slack workspace, and RestoreProof does not operate it.

Responsible disclosure

If you believe you have found a security vulnerability in RestoreProof, email security@restoreproof.org. Please include steps to reproduce and the affected URL or component. Do not access data that is not yours, and do not run tests that degrade the service for others.

We will reply to reports as quickly as we can and will credit reporters who want to be named.

Open-source runner

The runner that reads your backups is open source and lives in the public repository on GitHub. You can read exactly what it does, build it yourself, and pin the version you reviewed.