You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(auth): prevent DNS prefix attacks and enforce single-slash rule
Add proper boundary validation to prevent domains like micro.com from
claiming permissions for com.microsoft/* through prefix overlap attacks.
Changes:
- Add delimiter checking after domain prefix (must be . or /)
- Enforce single-slash rule for server names per PR #476
- Add comprehensive test cases for prefix attack scenarios
- Update existing tests to align with new validation rules
The validation now ensures name patterns have proper delimiters and
follow the established server naming conventions.
0 commit comments