Keep users safeGuard

PII scrubbing

Third-party personal data masked in replies before they are sent.

Humane scans each outbound reply for personal identifiers. Phone numbers, emails, addresses and similar are masked in place with typed markers, while SSNs, card numbers and IBANs block the reply entirely.

PII scrub · outbound reply

Model wrote

Sure, you can reach Dana at 555-123-4567 or dana@example.com.

User receives

Sure, you can reach Dana at [REDACTED-PHONE] or [REDACTED-EMAIL].

Tier 2 · mask
phone, email, address, DOB, passport, licence
Tier 1 · block
SSN, card number, IBAN
Illustration of PII scrubbing on a reply
Two tiers

Mask what can be masked, block what can't

Rewriting a reply with a second model call is slow, costs tokens and can leak the same data in new words. Humane scrubs in place instead, so the reply keeps its shape and reviewers can see exactly what was removed. Where even a partial leak matters, the values boundary gate blocks the reply and sends a safe fallback.

  • Masked: phone, email, postal address, date of birth, passport, driving licence
  • Blocked: SSN, card numbers and IBAN
  • Typed markers such as [REDACTED-PHONE] and [REDACTED-EMAIL]
  • A pii_scrub summary on the response, without the original values

Gate stack · one outbound reply

  1. 1values_boundaryPROCEED
  2. 2social_riskPROCEED
  3. 3inaction_guardPROCEED
  4. 4overclaimFLAG
  5. 5emotional_dependencePROCEED
  6. 6dissentOFF
Final actionPROCEED · flag:overclaim:certainty
Illustration of the gate stack on one reply
On the response

See what was removed

python
r = client.process(user_id="user_42", message="what's Dana's number again?")

print(r.response)
# "You can reach Dana at [REDACTED-PHONE]."

for item in r.raw.get("pii_scrub", []):
    print(item["category"], item["marker"])
# phone [REDACTED-PHONE]

PII questions

Something else? Ask us.

Every AI should know who it's talking to.

The safety and human-oversight layer for emotional AI: user state across sessions, risk alerts, safety gates and human takeover, with every decision explained.