LeashgateDocs
Concepts

Personal data shield

Personal data is replaced before a prompt leaves for the AI provider.

Before forwarding a chat request, Leashgate scans the text of every message and replaces:

  • email addresses with [EMAIL_REDACTED]
  • card numbers (checked with the Luhn algorithm) with [CARD_REDACTED]
  • IBANs with [IBAN_REDACTED]
  • international phone numbers with [PHONE_REDACTED]

The model still understands the request. The number of items replaced is recorded in Activity and returned in the x-leashgate-masked header.