Skip to content

Guide · Agent skill

How to use the Open Redirect Vulnerability Testing agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

This guide explains how to install and use the offensive-open-redirect skill, a folder of instructions that makes an AI agent follow a structured checklist for finding open redirect flaws in web applications. It is written for security testers, bug bounty hunters, developers and students who already have permission to test the target. By the end you will know what the skill changes about the agent's behaviour, how to add it to Claude, how to ask for help with natural requests, and what safety limits to keep in mind.

Open Redirect Vulnerability TestingSnailSploit/Claude-Red · MIT

Quick start

  1. 1Download the ZIP. Download the ZIP for the offensive-open-redirect skill from this page.
  2. 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use or into .claude/skills/ inside a project.
  3. 3Or upload in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill there instead.
  4. 4Confirm you have permission. Make sure you own the target or have written authorisation to test it.
  5. 5Ask in plain language. Describe the page or endpoint and include a trigger term such as open redirect or OAuth redirect.
  6. 6Work through the checklist. Let the agent test items in order and report findings as you go.
  7. 7Follow suggested next steps. Use the agent's suggestions to try bypasses or chain a finding, reviewing each request before sending it.

What the skill makes the agent do

An agent skill is a set of instructions that Claude loads when a conversation matches the skill's topic. This one is a checklist for open redirect vulnerabilities, where a website sends visitors to an address chosen by the attacker. The skill's instructions tell the agent to apply the full methodology as its working checklist, follow the steps in order unless you say otherwise, track which items are complete, and suggest next steps based on findings.

The checklist covers where to look, such as redirect parameters like redirect, url, next and returnTo, plus login and OAuth flows. It also covers bypass ideas such as URL encoding, double slashes, domain spoofing and protocol handlers, and how a minor redirect can be chained into larger issues such as OAuth token theft or SSRF.

Install the skill from the ZIP download

Download the ZIP for the offensive-open-redirect skill from this page. Unzip it into one of two locations. For a personal setup, use ~/.claude/skills/. For a single project, use the .claude/skills/ folder inside that project.

Alternatively, you can upload the skill in the Claude apps under Settings → Capabilities → Skills.

  • Personal: unzip into ~/.claude/skills/
  • Project only: unzip into .claude/skills/ inside the project folder
  • Claude apps: Settings → Capabilities → Skills, then upload

Trigger the skill with natural requests

You do not need a special command. The skill activates when your conversation involves its trigger phrases, which include open redirect, URL redirect, redirect bypass, URL encoding bypass, CRLF, protocol handler, redirect chain, OAuth redirect, SSRF chain and open redirection. Describe what you are doing in plain words that include one of these terms, and state that you are authorised to test the target.

Once active, the agent works through the checklist rather than answering in general terms, and it will suggest next steps after each finding.

  • Review the redirect parameters on this login page for open redirect issues. I have written permission to test this app.
  • My OAuth authorize endpoint may accept any redirect_uri. Walk me through the redirect_uri tests from the checklist.
  • I found a redirect that blocks https://evil.example. What bypass techniques from the checklist should I try next?
  • Can this open redirect be chained into an OAuth redirect chain or an SSRF chain? Suggest next steps.

Examples of what the checklist covers

The methodology lists common redirect parameter names and asks the agent to test them with absolute URLs, protocol-relative URLs and path traversal. For OAuth, it asks the agent to check whether redirect_uri validation is improper. For bypasses, it lists domain spoofing, encoding, protocol confusion and path-based variants.

These are the kinds of test strings the checklist contains. Use them only against systems you own or are permitted to test.

  • Absolute URL test against a redirect parameter
  • Protocol-relative URL test using double slashes
  • Domain spoofing patterns such as a host that begins with the target's name
  • Encoded scheme variants for a blocked redirect
https://target.com/redirect?url=//attacker.com

What you need before you start

The skill lists no required tools, does not run scripts and does not use the network itself. It consists of a single instruction file, SKILL.md. Any network requests during testing come from the tools and environment you use, so the testing itself depends on your own setup and permissions.

Written permission to test the target is the key requirement. The skill is intended for web apps you own or are authorised to test, and it is not intended for non-security tasks or general redirect building.

  • Requires: nothing listed in the skill
  • Runs scripts: no
  • Uses network: no
  • Permission to test the target in writing

Safety notes and limits

The content is attack-oriented. Probing systems you do not own or have written permission to test can be illegal and harmful, so keep every session scoped to authorised targets. The skill does not give general help with building redirects.

Because the skill itself runs no scripts and makes no network calls, you control what gets sent to a target. Review each suggested request before you run it.

  • Only test authorised targets
  • Review any request the agent suggests before sending it
  • Do not use the skill for non-security redirect work

Tips for better results

Give the agent context: the page or endpoint, the parameter names you see, and any blocking behaviour. The checklist asks the agent to consider applicability to the current target, so specific details produce more useful next steps. Ask it to track which items you have completed so you can see coverage at a glance.

For OAuth targets, mention the flow you are testing. The source notes that many OAuth and SSO stacks require an exact redirect_uri match, so the agent will look for partial or path-only allowlists and case or encoding mismatches.

  • Name the endpoint and parameter you are testing
  • Share exactly what the server returned when blocked
  • Ask for the checklist order, or say if you want to skip ahead

What people use it for

  • Checking a web app's login return URLs for open redirects during an authorised penetration test
  • Reviewing OAuth redirect_uri validation for partial or path-only allowlist weaknesses
  • Learning how redirect validation fails and what the bypass patterns look like
  • Building a review checklist for redirect and OAuth handling in a security team

Frequently asked questions

How do I install the offensive-open-redirect skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into .claude/skills/ inside a project. You can also upload it in the Claude apps under Settings → Capabilities → Skills.

Does the skill need any requirements or tools?

The skill lists no required tools. It does not run scripts and does not use the network itself, and it consists of a single SKILL.md file.

Is the offensive-open-redirect skill free?

It is released under the MIT licence, as stated on this page. Check the licence file in the source repository for the full terms.

Can I use this skill to test any website?

No. It is for web apps you own or have written permission to test. Probing others' systems can be illegal and harmful.

What is the difference between an open redirect and an OAuth redirect issue?

An open redirect sends users to an attacker-chosen address from a trusted site. The OAuth case concerns redirect_uri validation in an authorisation flow, where weak checks can expose tokens. The skill covers both and notes how a redirect can be chained into bigger issues.

Why does the agent not seem to test anything when I ask a general question?

The skill activates on trigger phrases such as open redirect, redirect bypass or OAuth redirect. Include one of these terms and describe the target and endpoint so the agent applies the checklist.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you are a security tester, bug bounty hunter, developer or student who needs a structured open redirect checklist for systems you are authorised to test. Pick something else if you need general redirect-building help or want to test sites you do not have permission to assess.

Download the skill