redact_har
Creates a sanitized HAR copy for safe sharing by masking authorization headers, cookies, tokens, passwords, API keys, query strings, and body secrets. Review the output before sharing.
Instructions
Write a sanitized copy of a HAR that is safe to share: masks Authorization,
Cookie/Set-Cookie, tokens/passwords/API keys in headers, query strings, JSON and form
bodies (and JWT/GitHub/AWS-shaped values anywhere). Streamed, so large files work.
NEVER overwrites: fails if output exists. output must be inside the allowed
directories. Review the result before sharing: secrets with innocent names buried in
URL paths or HTML cannot be recognised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |