Skip to main content

Data residency and security

Where your data lives​

All Defraudo data is stored and processed in the European Union, in Google Cloud's europe-west3 (Frankfurt) region:

ComponentWhere
API, dashboard and background workersGoogle Cloud Run, Frankfurt
Database (PostgreSQL)Google Cloud SQL, Frankfurt
CacheGoogle Memorystore for Redis, Frankfurt, with a standby replica
Event streamOur own Redpanda cluster, three brokers across three Frankfurt zones
Report files and uploadsGoogle Cloud Storage, Frankfurt

Sandbox and live data never mix. Database and cache have no public addresses; only our services inside the private network reach them.

Service providers that handle data on our behalf:

ProviderWhat for
Google CloudHosting, database, storage (EU region above).
CloudflareSits in front of every public address: TLS and DDoS protection. Our servers accept traffic only from Cloudflare.
ResendSends dashboard emails: invitations, alerts and scheduled reports.

IP geolocation uses a database copy that runs inside our own servers, so your visitors' IP addresses are not sent to a geolocation provider.

Encryption​

  • In transit. Every connection uses TLS: from your servers and browsers to Defraudo, and between our services, the database, the cache and the event stream.
  • At rest. The database, cache and storage are encrypted at rest. Report files and uploads are encrypted with our own keys, rotated every 90 days.
  • Secrets in the application. Two-factor authentication secrets and queued email addresses are additionally encrypted with AES-256-GCM before they are stored.

Personal data​

  • Card numbers are never accepted or stored, only the BIN and the last four digits. See PII and card data.
  • Emails and phone numbers are stored as keyed hashes (HMAC-SHA256 with a server secret and your company's id). The same email gives a different hash for every customer, so one customer's data cannot be matched against another's.
  • Cross-customer reputation uses a separate token with no company id and no raw value attached: it records that an identity was confirmed as fraud, not who saw it or where.
  • Payment account references (wallets, IBANs) are kept only as a hash plus the last four characters.

Isolation between customers​

Every row of customer data carries its company id, and the database itself enforces it (PostgreSQL row-level security): a request can read only the rows of the company it is authenticated for, even if the application asked for more.

How long data is kept​

DataKept
Events and their scores24 months, then deleted
Report files30 days, deleted by the storage itself
Uploaded Trustchain filesDeleted when the import ends, at most after 1 day
Trustchain import history90 days
Webhook delivery log30 days
Audit log of dashboard actions90 days in the database, then moved to archive storage
Database backupsDaily, the last 7 kept

Erasing a person​

To erase a person (for example on a GDPR request), call DELETE /v1/accounts/{id} with a live key, or erase the account from its page in the dashboard (company owner).

Erasure removes the account's identifiers and links from every live project of your company: the account id is replaced, its IP addresses, device ids, email, phone, card and payment hashes and event payloads are cleared, and it leaves all clusters and related-account links. The events themselves stay as anonymous records with their type and time.

If the account is used in more than one project, the API returns 403 and the company owner erases it from the dashboard.