Strix 开放重定向测试手册,覆盖钓鱼跳转、OAuth 令牌窃取与白名单绕过;触发名:strix-open-redirect
npx skills add https://github.com/asdfgh1445/ctf-super-hub --skill Strix•开放重定向
Open redirects enable phishing, OAuth/OIDC code and token theft, and allowlist bypass in server-side fetchers that follow redirects. Treat every redirect target as untrusted: canonicalize and enforce exact allowlists per scheme, host, and path.
Server-Driven Redirects
Client-Driven Redirects
window.location, meta refresh, SPA routersOAuth/OIDC/SAML Flows
redirect_uri, post_logout_redirect_uri, RelayState, returnTo/continue/nextMulti-Hop Chains
/out or /r redirectorsredirect, url, next, return_to, returnUrl, continue, goto, target, callback, out, dest, back, to, r, uredirect_uri, post_logout_redirect_uri, RelayState, staterouter.push/replace, location.assign/href, meta refresh, window.openHost, X-Forwarded-Host/Proto, Referer; server-side Location echoUserinfo
https://[email protected] → validators parse host as trusted.com, browser navigates to evil.comtrusted.com%40evil.com, a%40evil.com%40trusted.comBackslash and Slashes
https://trusted.com\evil.com, https://trusted.com\@evil.com, ///evil.com, /\evil.comWhitespace and Control
http%09://evil.com, http%0A://evil.com, trusted.com%09evil.comFragment and Query
trusted.com#@evil.com, trusted.com?//@evil.com, ?next=//evil.com#@trusted.comUnicode and IDNA
truѕted.com (Cyrillic), trusted.com。evil.com (full-width dot), trailing dot%2f%2fevil.com, %252f%252fevil.comhTtPs://evil.com, http:evil.com[::ffff:127.0.0.1]/out?url=/\evil.comCommon Mistakes
trusted.com.evil.com*.trusted.com also matches attacker.trusted.com.evil.netdata:, javascript:, file:, gopher: acceptedRobust Validation
// and unknown schemesRedirect URI Abuse
https://trusted.com → https://trusted.com.evil.com/oauth/../../@evil.compost_logout_redirect_uri often less strictly validatedJavaScript Redirects
location.href/assign/replace using user inputcontent=0;url=USER_INPUTrouter.push(searchParams.get('next'))https://trusted.example/out?url=https://attacker.tld/cb/login?next=https://attacker.tld/fakehttps://trusted.example/out?u=http://169.254.169.254/latest/meta-datapost_logout_redirect_uri and less-discussed flows; they're often looserRedirection is safe only when the final destination is constrained after canonicalization. Enforce exact origins, verify per hop, and treat client-provided destinations as untrusted across every stack.
This skill should be used when the user asks to "set up a web server", "configure HTTP or HTTPS", "perform SNMP enumeration", "configure SMB shares", "test network services", or needs guidance on configuring and testing network services for penetration testing labs.
This skill should be used when the user asks to "run pentest commands", "scan with nmap", "use metasploit exploits", "crack passwords with hydra or john", "scan web vulnerabilities with nikto", "enumerate networks", or needs essential penetration testing command references.
Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, implementing DevSecOps practices, or automating code vulnerability detection.
Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, implementing DevSecOps practices, or automating code vulnerability detection.
This skill should be used when the user asks to "perform SMTP penetration testing", "enumerate email users", "test for open mail relays", "grab SMTP banners", "brute force email credentials", or "assess mail server security". It provides comprehensive techniques for testing SMTP server security.
This skill should be used when the user asks to "test for SQL injection vulnerabilities", "perform SQLi attacks", "bypass authentication using SQL injection", "extract database information through injection", "detect SQL injection flaws", or "exploit database query vulnerabilities". It provides comprehensive techniques for identifying, exploiting, and understanding SQL injection attack vectors across different database systems.
This skill should be used when the user asks to "pentest SSH services", "enumerate SSH configurations", "brute force SSH credentials", "exploit SSH vulnerabilities", "perform SSH tunneling", or "audit SSH security". It provides comprehensive SSH penetration testing methodologies and techniques.
This skill should be used when the user asks to "pentest WordPress sites", "scan WordPress for vulnerabilities", "enumerate WordPress users, themes, or plugins", "exploit WordPress vulnerabilities", or "use WPScan". It provides comprehensive WordPress security assessment methodologies.
Take asdfgh1445/strix•开放重定向 from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.