Логотип Auditing Open Redirect And Forced Navigation

Auditing Open Redirect And Forced Navigation

Организация
UnboundCompute
auditing-open-redirect-and-forced-navigation

Проверьте процессы перенаправления и навигации: не приводит ли недоверенный URL возврата, перехода или обратного вызова, сохраненное значение либо referer к перенаправлению на сервере, назначению адреса в клиентском коде или meta refresh на выбранный атакующим адрес. Это может привести к фишингу, краже учетных данных на поддельной странице или краже OAuth-кода либо токена, передаваемого при перенаправлении. Используйте эту проверку, если параметр или сохраненное значение определяет, куда пользователь попадет после входа, выхода, действия или шага авторизации. Рассматриваются адреса с протокол-независимым URL и обратной косой чертой в имени хоста, уловки с userinfo и пробелами, а также опасные схемы, которые пропускает наивный список разрешенных адресов. Источник уязвимости — недоверенный целевой URL; точка назначения — перенаправление или навигация; ошибка — отправка пользователя на адрес, контролируемый атакующим.

Обзор

ИздательUnboundCompute
Репозиторийsecurity-agent-skills
Название навыкаauditing-open-redirect-and-forced-navigation
Звёзды
27
Форки
8
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — UnboundCompute. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Auditing Open Redirect And Forced Navigation в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-open-redirect-and-forced-navigation
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-open-redirect-and-forced-navigation .claude/skills/auditing-open-redirect-and-forced-navigation
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Auditing Open Redirect And Forced Navigation в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Auditing Open Redirect And Forced Navigation, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Auditing Open Redirect And Forced Navigation не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Auditing open redirect and forced navigation: when the app sends the user wherever the URL says

An application constantly sends users onward: back to where they were after login, to a success page after an action, to an identity provider and back during authorization. When the destination comes from an untrusted parameter, a stored value, or a header, and the app redirects there without confirming it is one of its own pages, the app becomes a trusted springboard to an attacker's site. The link starts on the real domain, so it survives a glance and a mail filter, and lands on a lookalike login that harvests credentials. Worse, when the redirect carries an authorization code or a token in the URL, forcing the destination steals that secret outright. The bug is not the redirect feature; it is a destination taken from the request and trusted without an allowlist. You find it by locating every redirect and navigation and asking whether an attacker chooses where it goes.

When to use

  • A return, next, redirect, callback, or continue parameter controls where a user is sent after an action.
  • Client code assigns a location or writes a meta refresh from a value influenced by the request or storage.
  • An authorization or single-sign-on flow returns to a URL supplied in the request and carries a code.

Scope check

Test redirect behavior only against applications you own or are authorized to assess, sending the redirect to a benign destination you control rather than a live phishing page, and never capturing a real user's token. A confirmed forced redirect that carries a token is credential theft, so keep every probe within the authorized scope. If you can't name the authorization, stop.

The loop

  1. Establish whether the target is checked against an allowlist first. For each redirect, determine whether the destination is confirmed to be one of the app's own pages, by an allowlist of paths or hosts matched exactly, or whether it is used as given. This is the false-positive killer: a redirect that only ever sends the user to a fixed internal path, or validates the target against an exact allowlist, is not open, while one that reflects the parameter is. Name the check before crafting a target.

  2. Map every redirect and navigation fed untrusted input. Trace return and next parameters, stored redirect values, and referer or other headers into server redirects, client-side location assignments, and meta refreshes, including the return URL of any authorization flow. Each is a candidate sink.

  3. Test the bypasses a naive check misses. A check that requires the target to start with a slash is beaten by a protocol-relative slash-slash-host and by a backslash the browser treats as a slash; a host allowlist is beaten by a userinfo at-sign, an embedded credential, a lookalike or encoded host, and trailing whitespace or control characters. Decide which of these the check as written lets through.

  4. Judge the destination scheme. A redirect that permits a script or data scheme in a client-side navigation is not only off-site but executes in the current origin; confirm whether the sink restricts to HTTP and HTTPS or passes any scheme, since the impact differs from a plain off-site send.

  5. Follow what the redirect carries. A plain open redirect is a phishing primitive; a redirect in an authorization flow carries a code or token in the URL or fragment, so forcing its destination steals that secret. Determine whether the sink is a bare navigation or one that transports a credential, because that sets the severity.

  6. Confirm and record. Confirm by supplying a target that resolves to a benign host you control and observing the app send the user there, and for authorization flows, the code or token arriving at your host, on an isolated instance. Kill the lead if the target is matched against an exact allowlist of the app's own pages, if only a fixed internal path is used, or if no untrusted value reaches the redirect. Record the parameter, the sink, the bypass used, and whether a credential was carried, or set a kill_reason.

Where forced navigation leaks

  • The allowlist is the whole defense. A destination confirmed to be one of the app's own pages cannot be redirected off-site; a reflected parameter can. The presence and exactness of the allowlist is the finding.
  • Starts-with-slash is not enough. A protocol-relative slash-slash-host and a backslash-host both pass a naive leading-slash check and send the user to another origin.
  • Host checks fall to userinfo and lookalikes. An at-sign puts the real host in the userinfo and the attacker host after it, and an encoded or homoglyph host defeats a substring match; only an exact host comparison holds.
  • Schemes matter on the client. A client-side navigation that accepts a script or data scheme executes in the origin, turning an open redirect into script execution rather than a mere off-site send.
  • Authorization redirects carry secrets. When the redirect transports a code or token, controlling the destination hands that credential to the attacker, which is far worse than phishing.

Worked example (a confirm and a kill)

Confirm. A login flow reflects a return parameter into the post-login redirect after only checking that it begins with a slash. A value of backslash-backslash-host slips past the check, and the app sends the authenticated user, carrying the session-establishing fragment, to a host the tester controls on an isolated instance. Confirmed open redirect carrying a credential to an attacker host, high, remediation = validate the return target against an exact allowlist of the app's own paths, reject protocol-relative, backslash, userinfo, and non-HTTP targets, and never place a code or token on a redirect whose destination is client-influenced.

Kill. The same flow resolves the return target against an allowlist of the app's own relative paths, rejects any absolute URL, protocol-relative or backslash form, userinfo, and non-HTTP scheme, and falls back to a fixed internal path when the target is not on the list. A crafted off-site target is discarded and the user lands on the default page. Killed, kill_reason = "redirect target is matched against an exact allowlist of the app's own paths and every off-site or alternate-scheme form is rejected; the destination is never attacker-chosen and carries no credential off-site."

Rationalizations to reject

  • "It only redirects within our site." -> Confirm that with an exact allowlist; a leading-slash or substring check is bypassed by protocol-relative, backslash, and userinfo forms that leave the site.
  • "An open redirect is low severity." -> On an authorization flow it steals the code or token, and anywhere it is a credible phishing springboard from your trusted domain; rate it by what it carries.
  • "We block http and https other hosts." -> Also block protocol-relative and backslash hosts and non-HTTP schemes; the bypasses live in the forms a naive host check does not parse.
  • "The parameter is validated." -> Validated how; a check that the value is a URL or starts with a slash is not a check that it is one of your pages. Only an exact allowlist answers that.
  • "Users can see the address bar." -> The link begins on your domain and the redirect is instant; the user and the mail filter both trust the starting host, which is the whole point of the abuse.

Executing this in practice

You need every redirect and client-side navigation fed an untrusted target, the check applied to each, and whether the sink carries a code or token. For each, decide whether an allowlist confines the destination to the app's own pages or a bypass reaches another origin, and whether the scheme is restricted. Reading the validation settles most leads; supplying a target that resolves to a benign controlled host, and watching for a carried credential, on an isolated instance settles the rest.

Related

  • hunting-crlf-and-response-splitting - the Location header is the shared sink; a redirect target can also carry a CRLF, so the two analyses meet on the same header.
  • hunting-host-header-and-url-parsing-trust - the parser differentials and host-confusion tricks that beat a redirect allowlist are the same ones that skill treats for URL parsing trust.
  • hunting-unicode-normalization-and-canonicalization-bypass - an encoded or homoglyph host that defeats the redirect allowlist is a canonicalization failure that skill analyzes directly.
  • hunting-reflected-and-stored-xss - a client-side navigation that accepts a script or data scheme turns an open redirect into the script execution that skill hunts.
  • FINDING-SCHEMA.md - source = the untrusted target URL, sink = the redirect or navigation, evidence = the user sent to a benign controlled host, or a carried code or token arriving there, on an isolated instance.

Часто задаваемые вопросы

Что делает навык ИИ Auditing Open Redirect And Forced Navigation?

Проверьте процессы перенаправления и навигации: не приводит ли недоверенный URL возврата, перехода или обратного вызова, сохраненное значение либо referer к перенаправлению на сервере, назначению адреса в клиентском коде или meta refresh на выбранный атакующим адрес. Это может привести к фишингу, краже учетных данных на поддельной странице или краже OAuth-кода либо токена, передаваемого при перенаправлении. Используйте эту проверку, если параметр или сохраненное значение определяет, куда пользователь попадет после входа, выхода, действия или шага авторизации. Рассматриваются адреса с проток...

Зачем использовать Auditing Open Redirect And Forced Navigation в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Auditing Open Redirect And Forced Navigation — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Auditing Open Redirect And Forced Navigation в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-open-redirect-and-forced-navigation. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Auditing Open Redirect And Forced Navigation?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Auditing Open Redirect And Forced Navigation?

С любым количеством. В TypingMind вы можете использовать Auditing Open Redirect And Forced Navigation с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Auditing Open Redirect And Forced Navigation?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — UnboundCompute. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Openclaw Test Performance

openclaw
ОрганизацияПопулярный

Сравнивайте производительность, диагностируйте проблемы и оптимизируйте время выполнения тестов OpenClaw и набора тестов плагинов, узкие места при импорте, загрузку CPU и RSS, рост кучи и медленные пути покрытия кода.

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Openclaw Testing

openclaw
ОрганизацияПопулярный

Выбирайте подходящие по масштабу тесты и проверки OpenClaw, диагностируйте сбои и направляйте вопросы, зависящие от окружения, и подтверждение релиза ответственным за них специалистам.

82.2K
391K
Файлы: 2
Открыть
Логотип openclaw

Release Openclaw Ci

openclaw
ОрганизацияПопулярный

Запускайте и отслеживайте полный CI-процесс релиза OpenClaw, проверки релиза, контрольные проверки подключений к рабочим провайдерам, подтверждения установки и обновления, а также предварительные проверки секретов релиза; разбирайте ошибки и составляйте сводки.

82.2K
391K
Файлы: 3
Открыть
Логотип openclaw

Release Openclaw Mac

openclaw
ОрганизацияПопулярный

Запускайте или восстанавливайте процессы подписания релизов OpenClaw для macOS, нотариального заверения, обновления appcast и публикации ресурсов.

82.2K
391K
Инструкции
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇