/security:injection-testingfrom security
Dynamically tests whether untrusted input reaches an interpreter — SQL/NoSQL injection, OS command injection, SSTI, XXE, LDAP/XPath, and CRLF/header injection. Confirms on a running app what source-level audits find.
Ships in security. 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.
Read when SKILL.md points to them.
Injection happens when input crosses into a language an interpreter executes — SQL, a shell, a
template engine, an XML/LDAP/XPath parser. This skill proves it dynamically; the code-level
patterns live in security-code-audit/references/database.md and api-backend.md.
Core principle: Find where input changes the structure of a command, not just its data. A working injection is a tiny structural payload that changes the interpreter's behavior.
Your own/authorized app, non-prod for stateful payloads. Never --dump real data, never
--os-shell/RCE on shared systems, never ; DROP/destructive payloads. Confirm, don't damage.
| Type | Probe | Confirm (benign) |
|---|---|---|
| SQLi | ' " ') → error/change | boolean ' OR '1'='1 ; time ' OR SLEEP(5)-- |
| Blind SQLi | no output? | time-based / boolean differential |
| NoSQLi | ', {"$ne":null}, [$gt]= | auth bypass via operator injection |
| Command | ;id ` | id``id``$(id)` |
| SSTI | ${7*7} {{7*7}} <%=7*7%> | render 49 → engine-specific escalation |
| XXE | XML with external entity | OOB fetch / file read (benign canary) |
| LDAP | *)(uid=* | filter alteration |
| XPath | ' or '1'='1 | node selection change |
| CRLF | %0d%0a in reflected header | header/response splitting |
See references/injection-recipes.md for per-type detection and safe-confirmation payloads.
sqlmap for SQLi confirmation (scoped: --batch --level/--risk low, no --dump/--os-shell),
Burp/ZAP for fuzzing, OOB via an interaction server (Burp Collaborator/interactsh) for blind/XXE.
Drive them via active-pentest.
Per finding: the sink, the structural payload, the evidence of interpretation (error/time/OOB), and the bounded impact (e.g. "DB read possible"). High–Critical.
Often a foothold/escalation primitive → vulnerability-chaining; fix via security-hardening
(parameterization, safe APIs, allowlists, disabling external entities, output of structure-free queries).
SLEEP or 49 proves it; DROP is vandalism.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
injection-testing, sql-injection, command-injection, ssti, xxe, ldap-injection
npx claudepluginhub mn-youssef/security-skills --plugin security16 skills in this plugin
/access-control-testingUse when testing whether users can access data or actions they shouldn't — IDOR/BOLA, horizontal and vertical privilege escalation, multi-tenant isolation, forced browsing, function-level authorization (BFLA), and mass assignment. The/active-pentestUse when you need to actually run security tests against a running application you own or are authorized to test — the shared execution harness for lab/proxy/scanner setup, safe non-destructive execution, and standardized proof-of-concept capture that the find/exploit specialist skills rely on./api-security-testingUse when testing REST, GraphQL, gRPC, or WebSocket APIs against the OWASP API Security Top 10 — object- and function-level authorization (BOLA/BFLA), excessive data exposure, mass assignment, unrestricted resource consumption, and GraphQL-specific abuse. For apps you own or are authorized to test./authentication-testingUse when testing login, sessions, password reset, OAuth/OIDC/SAML/SSO, MFA, and JWTs for weaknesses that lead to account takeover — credential attacks, session fixation, reset-token poisoning, MFA bypass, and token forgery. On apps you own or are authorized to test./business-logic-testingUse when testing application-specific workflow and business-rule flaws that scanners cannot find — price/quantity/parameter tampering, workflow and state-machine bypass, race conditions and TOCTOU, replay, and abuse of coupons/refunds/limits. Requires understanding what the app is supposed to do./client-side-exploitationUse when testing advanced browser-side and HTTP-layer attacks beyond basic XSS/CSRF — DOM XSS, CSP bypass, CORS misconfiguration exploitation, postMessage abuse, prototype pollution, DOM clobbering, clickjacking, web cache poisoning, and HTTP request smuggling. On apps you own or are authorized to test.Other plugins' skills for the same job