A denial of service can occur when `HTTP PROXY` or `HTTPS PROXY` is configured, `NO PROXY` or `no proxy` is non-empty, and redirects are followed. The issue arises when a crafted redirect Location contains numerous dots followed by a non-dot character. In this scenario, the `shouldBypassProxy` function uses a quadratic trailing-dot regular expression via `Hostname.replace(/.+$/, '')` that causes quadratic backtracking. This synchronous processing can block the Node.js event loop, leading to a system crash or unresponsiveness.