Skip to main content
skill CX Codex

injection — Claude Code skill: SQL, XXE, SSTI vulnerability testing

A skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that tests SQL, NoSQL, OS Command, SSTI, XXE, and LDAP/XPath injection vulnerabilities. Runs from input discovery through exploitation to PoC capture.

MIT 210 installs ★ 632 updated 2026-07-29

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add transilienceai/communitytools --skill injection -a claude-code
Open on GitHub

What injection does

The skill follows a five-step workflow: identify injection points across parameters, headers, cookies, and JSON fields; probe minimally to detect the injection type; apply context-appropriate payloads; escalate toward data extraction or RCE; then capture evidence and write a PoC.

Each attack class has its own technique set. SQL injection covers in-band (union, error-based), blind (boolean, time-based), and out-of-band methods. NoSQL covers operator injection, JavaScript injection, and aggregation pipeline abuse. SSTI includes template engine fingerprinting, sandbox escape, and RCE chains. XXE covers entity expansion, SSRF via XXE, blind XXE, and parameter entities. LDAP and XPath cover filter manipulation and authentication bypass. Reference files install alongside the skill under the reference/ directory.

Because the escalation chain leads to RCE and file reads, this skill is for authorised penetration testing only — running it against systems you do not have permission to test is out of scope.

What it helps with

  • test a login form or API endpoint for SQL injection and produce a working PoC
  • fingerprint an injection type with the fewest possible probes
  • detect SSTI in a template field and attempt sandbox escape
  • find blind XXE and check whether SSRF is reachable via entity expansion
  • bypass LDAP authentication through filter manipulation

Example prompts for the agent

  • Test /api/users?id=1 for SQL injection, covering blind and out-of-band techniques
  • Check the template field in this POST request for SSTI and try to reach RCE
  • Run an XXE test on this XML endpoint and determine if SSRF is possible

How to install injection

1Skills CLI (Vercel)

npx skills add transilienceai/communitytools --skill injection -a claude-code

2Manually: put the files in place

~/.claude/skills/injection/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/injection/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about injection

How do I install the injection skill in Claude Code?

Run npx skills add transilienceai/communitytools --skill injection -a claude-code. The skill is placed at ~/.claude/skills/injection/SKILL.md.

What does the injection skill do?

It guides the agent through a full injection-testing cycle: finding input vectors, detecting the vulnerability type, exploiting with targeted payloads, and writing a PoC with evidence. It covers SQL, NoSQL, OS Command, SSTI, XXE, and LDAP/XPath.

How do I install the injection skill in Cursor?

Run npx skills add transilienceai/communitytools --skill injection -a cursor. The skill lands at .cursor/skills/injection/SKILL.md.

Source text

SKILL.md · MIT
---
name: injection
description: Injection vulnerability testing - SQL, NoSQL, OS Command, SSTI, XXE, and LDAP/XPath injection techniques.
---

# Injection

Test for injection vulnerabilities across all input vectors. Covers SQL, NoSQL, Command, SSTI, XXE, and LDAP injection.

## Techniques

| Type | Key Vectors |
|------|-------------|
| **SQL Injection** | In-band (union, error), Blind (boolean, time), Out-of-band |
| **NoSQL Injection** | Operator injection, JavaScript injection, aggregation pipeline |
| **Command Injection** | OS command separators, blind techniques, out-of-band |
| **SSTI** | Template engine detection, sandbox escape, RCE chains |
| **XXE** | Entity expansion, SSRF via XXE, blind XXE, parameter entities |
| **LDAP/XPath** | Filter manipulation, authentication bypass |

## Workflow

1. Identify injection points (parameters, headers, cookies, JSON fields)
2. Detect injection type with minimal probes
3. Exploit with context-appropriate payloads
4. Escalate (data extraction, RCE, file read)
5. Capture evidence and write PoC

## Reference

- `reference/sql-injection*.md` - SQL injection techniques
- `reference/nosql-injection*.md` - NoSQL injection techniques
- `reference/os-command-injection*.md` - OS command injection
- `reference/ssti*.md` - Server-side template injection
- `reference/xxe*.md` - XML external entity injection
- `reference/ldap-injection-quickstart.md` - LDAP filter injection: detection, auth bypass, blind boolean extraction via `(description=PREFIX*)` chaining
- `reference/xpath-injection-quickstart.md` - XPath injection (CWE-643): lxml/Java/Node sinks, `' or '1'='1' or 'a'='b` boolean oracle, blind char-by-char extraction recipe

© transilienceai · MIT · transilienceai/communitytools

Similar skills

All skills for Security →

From the same set42

The whole set →
server-side server-side guides security testing for SSRF, HTTP request smuggling, path traversal, and deserialization flaws in server code. CX Codex +1 213installs authentication This skill checks login flows, tokens, 2FA, CAPTCHA, and bot detection. Use it to examine auth bypasses and weaknesses in authentication controls. CX Codex +1 212installs infrastructure The infrastructure skill tests network services, protocols, and perimeter security. Use it for authorized assessments that need structured checks and captured evidence. CX Codex +1 211installs ai-threat-testing ai-threat-testing is a Claude Code skill that tests LLM applications for OWASP Top 10 vulnerabilities with 10 specialized agents. CX Codex +1 210installs client-side The client-side skill tests web apps and SPAs for XSS, CSRF, CORS errors, clickjacking, DOM attacks, and Prototype Pollution. CX Codex +1 209installs reverse-engineering reverse-engineering guides disassembly and decompilation of ELF, PE, and Mach-O files to recover logic, emulate custom bytecode, and defeat binary obfuscation. CX Codex +1 203installs dfir dfir — a skill for analyzing Windows event logs, network captures, and filesystem artifacts during security incident investigations. Reconstructs Active Directory attack chains and builds timelines across multiple evidence sources. CX Codex +1 202installs essential-tools essential-tools — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that loads pentesting methodology, Burp Suite, Playwright, Nuclei, and reporting standards into the agent context. CX Codex +1 202installs

Project sponsors

Companies that keep this analytics open