indra plugin
Multi-agent application-security review. An offensive-security pipeline: map a codebase with Graft, hunt vulnerabilities with a per-class knowledge base, chain findings for escalation, verify real impact, and report (README/JSON/SARIF/doc/PDF).
How to install the indra plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indraWhat's inside indra
25 parts read from the plugin's own files.
Agents 5
Call as @agent-indra:name- @agent-indra:sh-chaineropus
Exploit-chaining agent. Reads all candidate findings and the codebase map, then composes multi-step attack chains that escalate individual findings into higher-severity outcomes (e.g. open-redirect + token leak -> account takeover). Writes chains.md and updates chained_with on member findings. Spawn
- @agent-indra:sh-huntersonnet
Vulnerability hunter agent. Given a single vulnerability class, loads that class's knowledge base (sh-kb-<class>), reads recon output, traces attacker-controlled input from source to dangerous sink using Graft (or native search), and appends candidate findings to findings.jsonl plus a dedup ledger e
- @agent-indra:sh-reconsonnet
Codebase reconnaissance and mapping agent. Builds a Graft structural graph, detects tech stack/languages/versions, produces an SBOM and known-CVE list (via syft/grype/trivy/osv-scanner or manifest parsing), and enumerates the attack surface. Writes recon.md and codebase-map.json. Spawned as Stage 1
- @agent-indra:sh-reporterhaiku
Reporting agent. Turns verified findings and chains into deliverables - README.md, findings.json, results.sarif (SARIF 2.1.0), a self-contained report.html, and report.pdf (with report.docx when pandoc is present) - each including payloads, PoCs, verification verdicts, and mitigations. Spawned as St
- @agent-indra:sh-verifieropus
Vulnerability verification agent combining offensive-security, security-engineering, and developer expertise. For every candidate finding and chain, confirms real exploitability from code and data-flow evidence, builds a concrete payload and PoC, assigns CVSS and confidence, and marks each verified
Skills 20
Claude loads it when the task matches- indra
indra - 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-control
Knowledge 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-auth
Knowledge 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-crypto
Knowledge 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-csrf
Knowledge 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-deserialization
Knowledge 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.
- sh-kb-file-upload
Knowledge base for finding unrestricted/insecure file upload - uploads that allow dangerous file types, execution in the upload dir, path control over the stored name, or missing content validation, leading to RCE, XSS, or overwrite. Use when hunting file-upload issues. CWE-434/436/616, OWASP A04/A05:2021.
- sh-kb-injection
Knowledge base for finding command/OS injection, template injection (SSTI), code injection (eval), and LDAP/NoSQL/expression injection. Use when hunting injection into shells, template engines, interpreters, or directory queries. CWE-77/78/94/917, OWASP A03:2021-Injection.
- sh-kb-open-redirect
Knowledge base for finding open/unvalidated redirects - user-controlled redirect targets that send victims to attacker sites, enabling phishing, token leakage, and OAuth/SSO abuse. Use when hunting open redirects. CWE-601, OWASP A01:2021-Broken Access Control.
- sh-kb-path-traversal
Knowledge base for finding path/directory traversal and local/remote file inclusion - user-controlled paths reaching filesystem or include operations, enabling arbitrary file read/write or code inclusion. Use when hunting traversal/LFI/RFI. CWE-22/23/98, OWASP A01:2021-Broken Access Control.
- sh-kb-race-conditions
Knowledge base for finding race conditions and TOCTOU flaws - concurrent requests exploiting non-atomic check-then-act logic (double-spend, limit bypass, balance manipulation, file TOCTOU). Use when hunting concurrency/business-logic race bugs. CWE-362/367/366, OWASP A04:2021-Insecure Design.
- sh-kb-secrets
Knowledge base for finding hardcoded secrets and sensitive-data exposure - API keys, passwords, tokens, private keys, and connection strings embedded in source/config, or secrets leaked to logs/errors/URLs. Use when hunting secret exposure. CWE-798/259/312/532, OWASP A05/A02:2021.
- sh-kb-sqli
Knowledge base for finding SQL injection (and query-language injection). Use when hunting SQLi, or when a hunter/reviewer needs sources, sinks, detection queries, payloads, false-positive filters, and remediation for injection into SQL/ORM raw queries. CWE-89, OWASP A03:2021-Injection.
- sh-kb-ssrf
Knowledge base for finding Server-Side Request Forgery - when the server makes outbound requests to attacker-controlled destinations. Use when hunting SSRF or reviewing URL/host inputs that reach HTTP/network clients. CWE-918, OWASP A10:2021-SSRF.
- sh-kb-xss
Knowledge base for finding Cross-Site Scripting - reflected, stored, and DOM-based XSS. Use when hunting XSS or reviewing untrusted data rendered into HTML/JS/attributes without context-correct encoding. CWE-79, OWASP A03:2021-Injection.
- sh-kb-xxe
Knowledge base for finding XML External Entity injection - XML parsers configured to resolve external/general entities on untrusted input, enabling file read, SSRF, and DoS. Use when hunting XXE. CWE-611/776/827, OWASP A05:2021-Security Misconfiguration.
- sh-memory
Long-term, graph-based memory for the security harness, backed by the indra CLI (`indra mem`: plain Markdown notes with typed [[wikilink]] relations, Obsidian-compatible). Use to RECALL what earlier reviews learned before hunting (known sanitizers, confirmed false positives, past findings, framework pitfalls), to RECORD new learnings after a review, or when the user asks 'what do we know about X', 'remember this', 'save this learning', 'show the knowledge graph'. Optional: everything degrades gracefully when indra is not installed.
- sh-pr-review
Security-review a GitHub pull request, post the result as inline review comments on the PR, and set a pass/fail commit status that branch protection can enforce. Fails the PR for vulnerabilities it introduces or makes worse; passes with a warning for pre-existing ones. Triages the diff first and scales depth to risk, dedupes across re-pushes, and never posts without an explicit yes. Use when reviewing a pull request rather than a whole codebase.
- sh-publish
Publish an indra review's findings to the team's tools: Jira issues, Confluence pages, GitHub issues or Notion pages, through their official MCP servers. Use when the user asks to 'file these in Jira', 'open GitHub issues for the findings', 'put the report in Confluence/Notion', 'track these findings', or 'sync findings to <tool>'. Builds a de-duplicated, secret-free plan with `indra publish plan` and creates nothing without the user's confirmation. For bringing Obsidian, Notion or GitHub-wiki knowledge INTO indra memory, use `indra mem import` instead (see the sh-memory skill).
- sh-security-review
Run the full multi-agent security review pipeline on a codebase - recon/mapping (Graft + SBOM/CVE), parallel vulnerability hunting backed by ~15 per-class knowledge bases, escalation chaining, impact verification, and reporting to README/JSON/SARIF/doc/PDF. Use when the user asks to security-review, audit, pentest, or find vulnerabilities in a codebase. Usually invoked via the indra skill.
Using indra in Claude Code
Ask for an agent by name:
@agent-indra:sh-chainer
@agent-indra:sh-hunterSkills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update indra@indra
- Refresh the marketplace
- /plugin marketplace update indra
- Turn it off for now
- /plugin disable indra@indra
- Remove it
- /plugin uninstall indra@indra
Skills in indra
- sh-memorydmdhrumilmistry/indra
Long-term, graph-based memory for the security harness, backed by the indra CLI (`indra mem`: plain Markdown notes with typed [[wikilink]] relations, Obsidian-compatible). Use to RECALL what earlier reviews learned before hunting (known sanitizers, confirmed false positives, past findings, framework pitfalls), to RECORD new learnings after a review, or when the user asks 'what do we know about X', 'remember this', 'save this learning', 'show the knowledge graph'. Optional: everything degrades gracefully when indra is not installed.
42stars - sh-pr-reviewdmdhrumilmistry/indra
Security-review a GitHub pull request, post the result as inline review comments on the PR, and set a pass/fail commit status that branch protection can enforce. Fails the PR for vulnerabilities it introduces or makes worse; passes with a warning for pre-existing ones. Triages the diff first and scales depth to risk, dedupes across re-pushes, and never posts without an explicit yes. Use when reviewing a pull request rather than a whole codebase.
42stars - sh-publishdmdhrumilmistry/indra
Publish an indra review's findings to the team's tools: Jira issues, Confluence pages, GitHub issues or Notion pages, through their official MCP servers. Use when the user asks to 'file these in Jira', 'open GitHub issues for the findings', 'put the report in Confluence/Notion', 'track these findings', or 'sync findings to <tool>'. Builds a de-duplicated, secret-free plan with `indra publish plan` and creates nothing without the user's confirmation. For bringing Obsidian, Notion or GitHub-wiki knowledge INTO indra memory, use `indra mem import` instead (see the sh-memory skill).
42stars - sh-kb-sqlidmdhrumilmistry/indra
Knowledge base for finding SQL injection (and query-language injection). Use when hunting SQLi, or when a hunter/reviewer needs sources, sinks, detection queries, payloads, false-positive filters, and remediation for injection into SQL/ORM raw queries. CWE-89, OWASP A03:2021-Injection.
2 files42stars - indradmdhrumilmistry/indra
indra - 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.
42stars - sh-kb-access-controldmdhrumilmistry/indra
Knowledge 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.
42stars - sh-kb-authdmdhrumilmistry/indra
Knowledge 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.
42stars - sh-kb-cryptodmdhrumilmistry/indra
Knowledge 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.
42stars - sh-kb-csrfdmdhrumilmistry/indra
Knowledge 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.
42stars - sh-kb-deserializationdmdhrumilmistry/indra
Knowledge 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.
42stars - sh-kb-file-uploaddmdhrumilmistry/indra
Knowledge base for finding unrestricted/insecure file upload - uploads that allow dangerous file types, execution in the upload dir, path control over the stored name, or missing content validation, leading to RCE, XSS, or overwrite. Use when hunting file-upload issues. CWE-434/436/616, OWASP A04/A05:2021.
42stars - sh-kb-injectiondmdhrumilmistry/indra
Knowledge base for finding command/OS injection, template injection (SSTI), code injection (eval), and LDAP/NoSQL/expression injection. Use when hunting injection into shells, template engines, interpreters, or directory queries. CWE-77/78/94/917, OWASP A03:2021-Injection.
42stars - sh-kb-open-redirectdmdhrumilmistry/indra
Knowledge base for finding open/unvalidated redirects - user-controlled redirect targets that send victims to attacker sites, enabling phishing, token leakage, and OAuth/SSO abuse. Use when hunting open redirects. CWE-601, OWASP A01:2021-Broken Access Control.
42stars - sh-kb-path-traversaldmdhrumilmistry/indra
Knowledge base for finding path/directory traversal and local/remote file inclusion - user-controlled paths reaching filesystem or include operations, enabling arbitrary file read/write or code inclusion. Use when hunting traversal/LFI/RFI. CWE-22/23/98, OWASP A01:2021-Broken Access Control.
42stars - sh-kb-race-conditionsdmdhrumilmistry/indra
Knowledge base for finding race conditions and TOCTOU flaws - concurrent requests exploiting non-atomic check-then-act logic (double-spend, limit bypass, balance manipulation, file TOCTOU). Use when hunting concurrency/business-logic race bugs. CWE-362/367/366, OWASP A04:2021-Insecure Design.
42stars - sh-kb-secretsdmdhrumilmistry/indra
Knowledge base for finding hardcoded secrets and sensitive-data exposure - API keys, passwords, tokens, private keys, and connection strings embedded in source/config, or secrets leaked to logs/errors/URLs. Use when hunting secret exposure. CWE-798/259/312/532, OWASP A05/A02:2021.
42stars - sh-kb-ssrfdmdhrumilmistry/indra
Knowledge base for finding Server-Side Request Forgery - when the server makes outbound requests to attacker-controlled destinations. Use when hunting SSRF or reviewing URL/host inputs that reach HTTP/network clients. CWE-918, OWASP A10:2021-SSRF.
42stars - sh-kb-xssdmdhrumilmistry/indra
Knowledge base for finding Cross-Site Scripting - reflected, stored, and DOM-based XSS. Use when hunting XSS or reviewing untrusted data rendered into HTML/JS/attributes without context-correct encoding. CWE-79, OWASP A03:2021-Injection.
42stars - sh-kb-xxedmdhrumilmistry/indra
Knowledge base for finding XML External Entity injection - XML parsers configured to resolve external/general entities on untrusted input, enabling file read, SSRF, and DoS. Use when hunting XXE. CWE-611/776/827, OWASP A05:2021-Security Misconfiguration.
42stars - sh-security-reviewdmdhrumilmistry/indra
Run the full multi-agent security review pipeline on a codebase - recon/mapping (Graft + SBOM/CVE), parallel vulnerability hunting backed by ~15 per-class knowledge bases, escalation chaining, impact verification, and reporting to README/JSON/SARIF/doc/PDF. Use when the user asks to security-review, audit, pentest, or find vulnerabilities in a codebase. Usually invoked via the indra skill.
42stars
indra plugin questions
How do I install the indra plugin?
In Claude Code run /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.
What does the indra plugin include?
indra bundles 5 agents, 20 skills.
Which agents come with indra?
sh-chainer, sh-hunter, sh-recon, sh-reporter, sh-verifier. Call one with @agent-indra:sh-chainer.
How do I update or remove the indra plugin?
Update it with claude plugin update indra@indra in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall indra@indra.
What license is the indra plugin under?
MIT, as stated in the plugin's manifest.