Sanitize HAR Files for Vendor and Support Escalations
Clean HAR exports by masking credentials and sensitive payload fields while retaining request/response context.
Updated: 2026-02-24
Problem
HAR files are useful for reproducing issues, but they can contain cookies, API tokens, and sensitive request bodies.
Sending raw HAR files to vendors can increase compliance risk and slow down approvals.
Solution
HAR sanitizer applies rule-based masking to headers, params, and JSON keys while keeping trace structure intact.
You can also preload custom rules for cloud, vendor, or product-specific workflows.
What we redact
| Category | Examples | Replacement |
|---|---|---|
| Authorization headers | AuthorizationProxy-Authorization |
[REDACTED:AUTH] / Bearer [REDACTED:BEARER] / Basic [REDACTED:BASIC] |
| API key headers | x-api-keyx-rapidapi-keyx-amz-security-tokencf-access-jwt-assertion |
[REDACTED:API_KEY] |
| Cookie + Set-Cookie values | Cookie: sessionid=...Set-Cookie: session=... |
[REDACTED:COOKIE_VALUE] |
| Token-like query params | tokenaccess_tokenclient_secretpasswordsignaturesession |
[REDACTED:QP] / [REDACTED:PARAM] |
| JSON keys with secrets | authorizationsecretpasswordapi_key |
[REDACTED:KEY] |
| Custom headers/keys | x-internal-tokenprivate_key |
[REDACTED:CUSTOM_HEADER] / [REDACTED:CUSTOM_KEY] |
| Large request/response bodies | body exceeds max size |
[REDACTED:SKIPPED_LARGE_TEXT] |
Examples
- Cookie: [REDACTED:COOKIE_VALUE]
- client_secret: [REDACTED:KEY]
- access_token=[REDACTED:QP]
Use cases
- Submit browser network traces to external support safely.
- Share reproducible incident data with security review teams.
- Standardize HAR hygiene across regional support teams.
- Prepare SOC2-ready evidence handoff workflows.
FAQ
Can I keep request timing and URLs after sanitization?
Yes. The tool keeps HAR structure and metadata while replacing sensitive values.
Can teams share the same masking settings?
Yes. Rule packs and share links help teams reuse consistent sanitization settings.
If your support process depends on HAR exports, this page helps teams keep technical context without sharing secrets.