Agentic Trace Scrubbing: PII and Secret Masking
Preventing sensitive data leaks in agent logs and context windows.
Steps
- Pre-process tool outputs to detect PII (emails, keys, tokens).
- Mask sensitive fields in 'Agent Observations' before context entry.
- Maintain separate 'Raw' and 'Redacted' log views for developers.
- Implement an 'Entropy Filter' to detect potential secret leaks.
- Auto-purge session traces upon final goal achievement.