A prototype pollution issue exists in the `getRemoteInfo()` function. This occurs when a malicious Git server operator advertises crafted ref names containing ` proto ` path segments during ref negotiation, allowing the pollution of `Object.prototype`. An attacker controlling a Git server can use a specially crafted ref, such as ` proto /corsProxy`, to reroute subsequent network operations through an attacker-controlled proxy. This can lead to the invocation of the victim's `onAuth` callback and the transmission of credentials to the attacker when `getRemoteInfo()` is called with an attacker-supplied URL.