CuraSec

Learn archived

Go headerscrub: drops auth headers on cross-origin redirects

2026-10-06 17:10 UTC · GitHub Trending · read the source ↗ #go#header-leakage#http-client
  • Engineer — Learn: Go’s default http.Client forwards all caller-set headers (including API keys and auth tokens) through cross-origin redirects — this library demonstrates the risk pattern and a mitigation worth evaluating for any Go service making outbound HTTP calls with sensitive headers.
  • 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.