CuraSec

Learn archived

headerscrub: Go lib strips auth headers on cross-origin redirects

2026-10-11 16:38 UTC · GitHub Trending · read the source ↗ #go#supply-chain#appsec
  • Engineer — Learn: Go’s http.Client follows redirects and carries caller-set headers by default, which can leak API keys to unintended origins; this library enforces a drop-on-origin-change policy worth evaluating if your Go services make outbound API 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.