gnodet opened a new pull request, #2085: URL: https://github.com/apache/maven-resolver/pull/2085
## Summary Fixes 5 findings from the maven-resolver security audit (scan-maven-resolver-20260811): | Finding | Severity | Description | |---------|----------|-------------| | f002 | MEDIUM | Settings credentials attached by bare ID to POM-declared repositories | | f008 | MEDIUM | Apache transport silently follows https-to-http downgrade redirects | | f009 | MEDIUM | JDK transport Authenticator hands credentials to any challenging host | | f016 | MEDIUM | Jetty transport follows https-to-http redirects without a downgrade guard | | f027 | LOW | Operator-configured static auth headers follow redirects cross-origin | **Root cause:** Credential release decisions ignore where the request is actually going: selectors match on bare repository id with no host binding, authenticators answer any challenger, redirect handling follows cross-origin and https-to-http hops. **Fix:** Enforce one rule across all transports: credentials go only to the configured origin, and https never silently becomes http. ## Test plan - [ ] Existing tests pass - [ ] Credential scoping validated per transport - [ ] TLS downgrade rejection tested 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
