> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ssrf-redirect-bypass

> An outbound HTTP request with a dynamic URL does not disable redirects, allowing SSRF allowlist bypasses.

## What it flags

An outbound HTTP request with a dynamic URL does not disable redirects (`redirect: 'error'` / `'manual'` or `maxRedirects: 0`), allowing SSRF allowlist bypasses.

A request to a fixed HTTP origin and path whose only request-derived parts are encoded query fields is reported at the contextual level, unless a redirect-like field (`next`, `redirect_uri`, `callback`, ...) carries request data or a value the rule cannot show is fixed. Literals, templates of fixed parts, `const` chains and imported constants count as fixed. For `fetch`, the options may set `method` to a literal and `headers`, `body`, `signal`, `cache`, `credentials` or `keepalive`; other options keep the default level.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "ssrf-redirect-bypass": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.