New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Open Redirect

Open redirect playbook covering parameter, JavaScript, and filter-bypass attacks and their chains into phishing, OAuth theft, and SSRF.

skills.sh installs
3.9K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers parameter-based and client-side redirect sinks, filter bypass patterns, and exploitation chains including phishing, OAuth token theft, CSRF Referer bypass, and SSRF
  • Includes a list of common redirect parameter names, server and JavaScript sink examples, and a bypass table for prefix, domain, and userinfo checks
  • Details OAuth implicit, authorization code, and OIDC id_token flows, plus redirect_uri validation bypass patterns to test
  • Designed for security testers checking URL parameters, form actions, or JavaScript sinks that control navigation targets

Install

$ npx -y skills add yaklang/hack-skills --skill open-redirect -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Open Redirect — Expert Attack Playbook

AI LOAD INSTRUCTION: Open redirect techniques. Covers parameter-based redirects, JavaScript sinks, filter bypass, and chaining with phishing, CSRF Referer bypass, OAuth token theft, and SSRF. Often underrated but critical for phishing and as a building block in multi-step exploit chains.

1. CORE CONCEPT

Open redirect occurs when an application redirects users to a URL derived from user input without validation. The trusted domain acts as a "launchpad" for phishing or token theft.

https://trusted.com/redirect?url=https://evil.com
→ User sees trusted.com in the link → clicks → lands on evil.com

2. FINDING REDIRECT PARAMETERS

Common Parameter Names

?url=           ?redirect=      ?next=          ?dest=
?destination=   ?redir=         ?return=        ?returnUrl=
?go=            ?forward=       ?target=        ?out=
?continue=      ?link=          ?view=          ?to=
?ref=           ?callback=      ?path=          ?rurl=

Server-Side Sinks

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Open Redirect

More Security