A practical path from open prompts to masked ones. Follow these steps in order. Each one is small.
1. Find where text leaves
List every call that sends user text to a model, a vendor or a log.
2. Pick a mode
Use tokens when the model must read a sentence, and masks when it does not.
3. Wrap the call
Call redact before the request and restore after the response.
4. Test with real samples
Run a day of traffic through staging and review the audit log.
5. Watch the log
Alert on spikes in field types. A sudden rise means a new leak.
Mask first. Debug second.
A practical path from open prompts to masked ones. Follow these steps in order. Each one is small.
1. Find where text leaves
List every call that sends user text to a model, a vendor or a log.
2. Pick a mode
Use tokens when the model must read a sentence, and masks when it does not.
3. Wrap the call
Call redact before the request and restore after the response.
4. Test with real samples
Run a day of traffic through staging and review the audit log.
5. Watch the log
Alert on spikes in field types. A sudden rise means a new leak.
Mask first. Debug second.
A practical path from open prompts to masked ones. Follow these steps in order. Each one is small.
1. Find where text leaves
List every call that sends user text to a model, a vendor or a log.
2. Pick a mode
Use tokens when the model must read a sentence, and masks when it does not.
3. Wrap the call
Call redact before the request and restore after the response.
4. Test with real samples
Run a day of traffic through staging and review the audit log.
5. Watch the log
Alert on spikes in field types. A sudden rise means a new leak.
Mask first. Debug second.