HAR sharing / privacy handoff

Choose what to keep or hide before sharing a HAR

Keep only method, path and status. Remove secrets and personal data from headers, cookies, query parameters and bodies before sharing. Stop when a credential remains.

Decide by HAR location

Classify each synthetic fixture field as keep, redact before sharing, or never share. Record its location and reason together.

FieldClassDecisionReason
request.methodKeepKeepNeeded to reproduce the request type
request.url.pathKeepKeepIdentifies the failing operation
response.statusKeepKeepShows the failure class
authorizationRedact before sharingRedactMay contain a credential
cookieNever shareStopMay carry a session
query.emailRedact before sharingRedactPersonal identifier is not diagnostic
body.debug_noteKeepKeepSynthetic helper text only

Make a minimal handoff

sample.har contains synthetic token, cookie and email examples. Keep only the path, status and synthetic ID for sharing, and record removed and unknown fields.

method=GET
path=/orders
status=500
error=E_SYNTHETIC
removed=authorization,cookie,query.email
unknown_sensitivity=none

Redaction is not a guarantee that every secret was found. Stop until an owner reviews unknown fields.

Check in this order

  1. Decide whether method, path and status are enough.
  2. Remove Authorization, Bearer, token, cookie and session material.
  3. Redact email, phone, IDs and personal data in query and body.
  4. Record removed fields and the reviewer in the handoff.
  5. Stop until the data owner reviews any field with unknown sensitivity.

This is a static browser-local guide. No real data, input or fixture is sent or stored externally.

Never share a HAR with credentials

TOKEN_EXAMPLE_ONLY, COOKIE_EXAMPLE_ONLY and person@example.test are synthetic examples, but they must not remain in a shared file. Do not paste real tokens or cookies; stop, revoke and ask the owner to review.