Skip to content

Reject credential-bearing redirects - #1

Merged
fasuizu-br merged 1 commit into
mainfrom
agent/redirect-hardening-v0-1-1
Jul 28, 2026
Merged

fasuizu-br merged 1 commit into
mainfrom
agent/redirect-hardening-v0-1-1

Conversation

@fasuizu-br

Copy link
Copy Markdown
Owner

What changed

  • reject all HTTP redirects for authenticated API POSTs
  • add a two-server integration test proving the redirect target receives no request
  • correct telemetry from Exchange to GitHub distribution
  • bump the pack to 0.1.1

Why

The standard urllib redirect handler could forward both API credential headers across origins, and telemetry falsely implied Exchange publication.

Checks

  • python3 scripts/validate_pack.py
  • python3 -m unittest discover -s tests -v

@fasuizu-br
fasuizu-br marked this pull request as ready for review July 28, 2026 12:22
@fasuizu-br
fasuizu-br merged commit 31dc9bb into main Jul 28, 2026
4 checks passed
@fasuizu-br
fasuizu-br deleted the agent/redirect-hardening-v0-1-1 branch July 28, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant