Learn
archived
Go library strips sensitive headers on cross-origin HTTP redirects
- Engineer — Learn: Go’s default http.Client forwards all headers through redirects, potentially leaking API keys to unintended origins; this library demonstrates the fix pattern worth evaluating for any Go service that follows redirects with bearer tokens or API keys.
- SOC/IR — Skip
- Leader — Skip
This entry was curated and judged by AI (Claude) with automated enrichment
(CISA KEV / EPSS / public PoC). Verify against the original source before
acting. Found a bad verdict?
Report it —
confirmed errors go to the corrections log.