Skip to content

fix: match forge hostnames exactly or by subdomain#24

Merged
Linkid merged 1 commit into
mainfrom
fix-forges-match-exact-hostnames
Jul 5, 2026
Merged

fix: match forge hostnames exactly or by subdomain#24
Linkid merged 1 commit into
mainfrom
fix-forges-match-exact-hostnames

Conversation

@Linkid

@Linkid Linkid commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Forge hostnames are matched exactly or by subdomain instead of by substring. So hostile hostnames like "github.com.evil.example" or "mygithub.company.com" are no longer matched, and no user's token can leak.

Forge hostnames are matched exactly or by subdomain instead of by
substring. So hostile hostnames like "github.com.evil.example" or
"mygithub.company.com" are no longer matched, and no user's token can
leak.
@Linkid Linkid merged commit e37d34e into main Jul 5, 2026
2 checks passed
@Linkid Linkid deleted the fix-forges-match-exact-hostnames branch July 5, 2026 12:25
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