/indra:sh-kb-open-redirectfrom Indra
Knowledge base for finding open/unvalidated redirect vulnerabilities. Covers detection patterns, payloads, and chaining with OAuth/SSO attacks.
Ships in Indra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The app redirects to a URL taken from user input without restricting the destination. On its own it's a
phishing/trust-abuse issue; chained (OAuth redirect_uri, token in URL, SSO), it can leak credentials or
tokens.
Login/logout ?next=/?return_to=/?redirect=/?url= params, post-action redirects, OAuth/OIDC
redirect_uri, SSO relay-state, "continue to" links, URL shorteners/proxies, Location set from input.
redirect(request.args.get(...)), Flask redirect(url), Django HttpResponseRedirect(user),
return redirect(next).res.redirect(userUrl), window.location = user, location.href = user, location.assign,
Next.js redirect(user).response.sendRedirect(user), Spring "redirect:" + user, RedirectView.header("Location: " . $user). Go: http.Redirect(w, r, userURL, ...).sendRedirect|res.redirect|HttpResponseRedirect|\bredirect\(|Location:\s|location.href|window.location.graft grep "redirect\(|sendRedirect|HttpResponseRedirect|Location:|location.(href|assign)" --json.startswith("/"), contains("mysite.com")) are often bypassable.?next=https://evil.com, ?url=//evil.com (scheme-relative), ?url=https:evil.com,
?next=/\evil.com, ?url=https://mysite.com.evil.com, ?url=https://[email protected],
backslash/whitespace/CRLF tricks, ?url=javascript:alert(1) (if it reaches a DOM sink).startswith("/"): //evil.com, /\evil.com, /%2f%2fevil.com./ and not ////\) after normalization, or resolved
against the app origin and re-checked.endsWith).CWE-601. OWASP A01:2021. Usually medium standalone; high when it leaks OAuth codes/tokens or is a step in account takeover.
Open redirect + OAuth redirect_uri -> steal authorization code -> account takeover; + token/Referer leak
-> session theft (auth); + ssrf allowlist bypass (redirect from allowed host to internal); boosts
phishing credibility. Frequently the first hop in takeover chains.
Avoid user-controlled redirect targets; if needed, allowlist exact destination hosts or force
same-origin/relative paths (reject //, /\, absolute URLs, and non-http schemes) after canonicalization;
for OAuth, exact-match redirect_uri against pre-registered values; show an interstitial for external links.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
open-redirect, cwe-601, security-audit, bug-bounty, web-security
npx claudepluginhub dmdhrumilmistry/indra --plugin indra20 skills in this plugin
/indraindra - the entry point for application-security work. Dispatcher for the indra security harness. Use when the user asks for any application-security work - 'security review', 'audit this codebase', 'pentest', 'find vulnerabilities', 'check for SQLi/XSS/IDOR/SSRF', 'generate a security report/SARIF'. Interprets the request and routes it to the full sh-security-review pipeline, a single stage, or a single vulnerability-class knowledge base./sh-kb-access-controlKnowledge base for finding broken access control - IDOR/BOLA, missing function-level authorization, privilege escalation, and multi-tenant isolation failures. Use when hunting authorization issues or reviewing whether users can access resources/actions they shouldn't. CWE-284/285/639/862/863, OWASP A01:2021-Broken Access Control./Other plugins' skills for the same job