Add new test to check netrc auth leak (#6962)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This patch adds a new test that reproduces the security issue reported here: https://seclists.org/oss-sec/2025/q2/204 Doing a request to a malicious url with a prefix like "domain.com:@" will use the "domain.com" netrc credentials in the request to other domain.
authored by danigm · committed by GitHub · parent 96ba401 · Browse files · 1 file+31 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+31 added−0 removed
- tests:+31 added−0 removed