#PII Redaction (eg. [EMAIL][PHONE]

1 messages · Page 1 of 1 (latest)

empty edge
#

I've noticed that several of our metadata fields are being redacted (e.g., [EMAIL] and [PHONE] placeholders) and I'm not sure which config or script is triggering this. Could anyone help pinpoint where the redacting logic is defined and suggest a fix?

analog cedarBOT
#

Likely places:

  1. OpenClaw built-in redaction

  2. But: current built-in OpenClaw redaction does not appear to generate literal [EMAIL] / [PHONE] placeholders. Built-ins mostly mask secrets/tokens as *** or abc…xyz. So if you’re seeing exactly [EMAIL] / [PHONE], I’d suspect:

    • a custom logging.redactPatterns
    • a wrapper/proxy/provider doing PII anonymization
    • a script/prompt overlay/tool output sanitizer outside core OpenClaw

Quick checks:

openclaw --version
#
openclaw config get logging.redactSensitive
openclaw config get logging.redactPatterns
openclaw config file

Then inspect the active config file for custom patterns:

rg -n "redact|redactPatterns|\\[EMAIL\\]|\\[PHONE\\]|pii|presidio" "$(openclaw config file)"

If logging.redactPatterns contains email/phone regexes, remove or narrow them. For normal logs/transcripts, you can disable general redaction with:

openclaw config set logging.redactSensitive off