open-redirect
Skill0 starsChanged 6 days agoMITView on GitHub
Focused hunt for open redirects: redirect param validation bypasses, chains into OAuth/SSRF/filters, and Referer-based leaks. Use when the focus is open redirect on a web target. Usually reported as info/low unless chained — this skill exists to find the chain, not the bare redirect.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- Kevin6giao/work2their own version, first seen Nov 29, 2026
- mahumadad/quarrytheir own version, first seen Nov 8, 2026
- TaiMaBenJi/taima-skillstheir own version, first seen Oct 11, 2026
- cdxiaodong/cain-agenttheir own version, first seen Oct 8, 2026
- emre-guler/websectheir own version, first seen Aug 27, 2026
- conjure-3301/skillstheir own version, first seen Aug 17, 2026
Used with
Projects with it also use csrf, mass-assignment and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
langbyyiSkillcsrf
CSRF testing playbook. Use when reviewing state-changing web flows, anti-CSRF defenses, SameSite behavior, JSON CSRF, login CSRF, and OAuth state handling.
Also in 5 projects that use this
KaanBicaklarSkillmass-assignment
SAST detection methodology for mass assignment / auto-binding (CWE-915), including whole-request-body binding to models (Rails strong-params gaps, Spring @ModelAttribute data-binder, Django ModelForm fields='__all__', Sequelize/Mongoose req.body spread), privilege escalation via isAdmin/role/ is_verified/balance, nested/related-object over-posting, and GraphQL input over-binding. Use when reviewing create/update handlers that persist objects built from request data. Writes confirmed findings to findings/20-mass-assignment.md.
Also in 3 projects that use this
langbyyiSkillpath-traversal
Path traversal and LFI playbook. Use when file paths, download endpoints, include operations, archive extraction, or wrapper behavior may expose filesystem control.
Also in 4 projects that use this
iAskShahramSkillfile-upload
Uploads a local file to Cloudflare R2 bucket `public` with wrangler and returns the public URL on assets.shahram.dev. Use when the user wants a public link, public URL, or to host/upload a local image or file to R2.
Also in 6 projects that use this
- +2 more from langbyyi
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- yaklang/hack-skills★ 2.4ksame name
- cdxiaodong/cain-agent★ 953same name
- thejefflarson/soundcheck★ 20same name
- langbyyi/websec-skills★ 4same name
- Kur1sulab/blackbox★ 3same name
- emre-guler/websec★ 2same name
- JustineDevs/premortem★ 2same name
- KaanBicaklar/mona-sast-skills★ 2same name
- TaiMaBenJi/taima-skills★ 1same name
- conjure-3301/skills★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- access-controlSkill
- atoSkill
- business-logicSkill
- cloudSkill
- cmd-injectionSkill
- fuzzingSkill
- graphqlSkill
- huntSkill
- info-leakSkill
- jwtSkill
- known-cvesSkill
- llm-securitySkill
- oauthSkill
- osintSkill
- param-pollutionSkill
- raceSkill
- reconSkill
- reportSkill
- request-smugglingSkill
- sqliSkill
- ssrfSkill
- sstiSkill
- upload-traversalSkill
- xssSkill
- xxeSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
OAuth: use the open redirect as redirect_uri target if the client allows a path under the redirect domain.
- Very specific: line 57
If the *server* fetches your URL → hand off to ssrf.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Open Redirect
When to use
- "Hunt open redirect on X", "find redirect chains on X"
- Chain material for: OAuth
redirect_uri(oauth), SSRF filters (ssrf), token/secret leak via Referer, CSRF-ish flows
When NOT to use
- Server-side URL fetching (that's
ssrf— the server fetches; open redirect = victim's browser moves)
Inputs
- Target + params list; look for
?url=,?next=,?redirect=,?return=,?continue=,?dest=,?target=,?r=,?u=, and post-login redirects
Rationalizations to reject
- "It redirects to my site" — that IS the finding, but bare redirects are info/low in most programs. Spend the effort on the chain before reporting.
- "Param validated, closed" — you tested your bypass list, not all bypasses. Exhaust the list below before concluding.
Methodology
1. Bypass list (in order)
Against the redirect validation:
https://target.com@your-domain.com(userinfo trick)https://your-domain.com/target.com,https://your-domain.com#@target.com//your-domain.com(protocol-relative)https:your-domain.com,\/\/your-domain.com\/your-domain.com,/\/your-domain.comhttps://target.com/your-domain.com(path confusion)https://target.com\.your-domain.com,https://target.com%2F@your-domain.com@,#,?,%23,%2f,%5ccombos- Subdomain of an allowed domain you control, or an open redirect on an allowed domain (redirect chain: allowed → allowed → yours)
- POST-based redirect endpoints (often forgotten)
- Header-based:
Locationreflected from?url=without validation on error paths
2. Chain construction (the value)
- OAuth: use the open redirect as
redirect_uritarget if the client allows a path under the redirect domain. - SSRF filters: server fetching a URL that redirects (allowed URL → yours) — hand off to
ssrf. - Token leak: redirect with token/code in URL → does the destination page load external resources (Referer leak to your host)?
- Phishing credibility: same-domain redirect chain for credential harvesting (report as impact narrative).
3. DOM redirects
JS: location = params.get('next'), location.href = unvalidated, window.open(userInput). Same bypass list client-side. Check postMessage-driven redirects too.
Reporting
findings/open-redirect-<date>.md. Bare = info/low; chained (OAuth/token leak) = medium/high. Always state the chain explicitly, with the full request sequence as evidence.
Focus discipline
If the server fetches your URL → hand off to ssrf. If the redirect is part of an OAuth flow → oauth.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

