/indra:sh-kb-path-traversalfrom Indra
Knowledge base for hunting path/directory traversal and LFI/RFI vulnerabilities. Covers sources, sink grep targets, detection recipes, payloads, and false-positive filters for user-controlled paths reaching filesystem or include operations.
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.
User-controlled path components reach a filesystem operation without being confined to an intended base
directory, letting an attacker read/write files outside it (../../etc/passwd) or include/execute files.
Filenames/paths in request params/body/headers, upload filenames, Content-Disposition, archive entry
names (zip-slip), template/view names, download/attachment ids that map to paths.
open(, readFile/readFileSync, fs.createReadStream, sendFile/send_file,
res.download, File(/FileInputStream, Files.newInputStream, os.path.join(base, user),
path.join/path.resolve with user input, io.readfile, PHP file_get_contents/fopen/readfile.include/require/include_once with user input, virtual();
template engines resolving user-supplied view names; dynamic import/require(userPath).ZipFile.extractall,
tar.extractall, unzip).graft grep "open\(|readFile|sendFile|send_file|path.join|os.path.join|include\(|require\(|extractall" --json.realpath) then verify the result starts with the intended base;
reject .., absolute paths, null bytes, and encoded variants. Absence of this after user input -> flag.../../../../etc/passwd, ..\..\..\..\windows\win.ini (Windows), ....//....// (filter bypass),
URL-encoded %2e%2e%2f, double-encoded %252e%252e%252f, null byte %00, absolute /etc/passwd./proc/self/environ file containing attacker code; PHP wrappers
php://filter/convert.base64-encode/resource=index.php (source disclosure), data://, expect://.../../app/config.py overwriting a real file.realpath/Path.resolve then a base-prefix check (startswith(base)),
or the framework's safe static-file handler with traversal protection (e.g. send_from_directory).os.path.basename(user)) against a fixed directory, with no .. reachable.CWE-22 (traversal), CWE-23, CWE-98 (RFI), CWE-73 (external control of filename). OWASP A01:2021. Arbitrary file read of secrets/config -> high/critical; write or LFI->RCE -> critical.
File read -> secrets (config/keys/.env) -> DB/cloud access; LFI + log poisoning -> RCE; zip-slip write ->
overwrite code/config -> RCE; feeds access-control (read other tenants' files).
Don't build filesystem paths from user input. Map opaque ids to server-controlled paths; if a name is
needed, take only the basename, canonicalize, and enforce a base-directory prefix check; reject ..,
absolute paths, and encoded traversal; validate archive entry names before extraction; never include
user-controlled paths.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
PHP, Python, JavaScript, Node
path-traversal, lfi, rfi, file-inclusion, security-audit, zip-slip
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