# Injection

> Injection is an open-source agent skill for security. Guides an agent through testing SQL, NoSQL, command, template, XXE and LDAP injection. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/injection
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** injection
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent a structured approach to finding and validating injection flaws in web applications. It covers six vulnerability families: SQL, NoSQL, OS command, server-side template injection, XML external entity, and LDAP/XPath injection. Each family is broken into technique groups such as blind and out-of-band variants, operator or aggregation abuse in NoSQL, sandbox escape for templates, and SSRF through XXE.

The workflow moves from locating input points such as parameters, headers, cookies and JSON fields, to probing with minimal payloads to identify the injection type. Once confirmed, the agent is directed to exploit with context-appropriate payloads, escalate to data extraction, code execution or file read, and record evidence as a proof of concept. Reference files hold deeper notes for SQL, NoSQL, command, template and XXE testing, plus quickstarts for LDAP and XPath.

The skill is written for authorized security testing. It ships no scripts, so the agent works from its own tooling and the reference documents, and it does not set any restricted tool list.

## When your agent uses it

> Injection vulnerability testing - SQL, NoSQL, OS Command, SSTI, XXE, and LDAP/XPath injection techniques.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/injection)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/injection)

## Features

- **Six injection families:** Covers SQL, NoSQL, OS command, SSTI, XXE, and LDAP/XPath injection in one skill.
- **Staged testing workflow:** Moves from locating input points through probing, exploitation, escalation and evidence capture.
- **Input vector coverage:** Directs testing across parameters, headers, cookies and JSON fields.
- **Blind and out-of-band techniques:** Includes boolean, time-based and out-of-band variants for several injection types.
- **Escalation guidance:** Describes paths from injection to data extraction, file read or remote code execution.
- **Detailed reference files:** Provides per-technique reference documents, including LDAP and XPath quickstarts.

## Good for

- Test a login form for SQL injection and bypass authentication
- Check a JSON API for NoSQL operator injection
- Probe a search parameter for OS command injection
- Find server-side template injection in a rendering endpoint
- Assess an XML upload handler for XXE and SSRF

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/injection` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/injection &&
cp -R "$tmp/skills/injection" ~/.claude/skills/injection &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/injection` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/injection` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/injection &&
cp -R "$tmp/skills/injection" ~/.agents/skills/injection &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/injection` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/injection` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/injection &&
cp -R "$tmp/skills/injection" ~/.cursor/skills/injection &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/injection` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/injection
```

Or copy the folder to `~/.gemini/skills/injection` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/injection`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/injection &&
cp -R "$tmp/skills/injection" ~/.copilot/skills/injection &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/injection` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/injection` into your agent's skills folder as `injection`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Injection change in the agent's behavior?

It gives the agent a structured testing method and reference notes for six injection types, following a workflow from input discovery to proof-of-concept write-up.

### Does Injection require any scripts or special tools?

No scripts are included and no allowed tool list is set. The skill relies on the agent's own capabilities and the reference documents in its folder.

### Which injection types are covered?

SQL, NoSQL, OS command, server-side template injection, XML external entity, and LDAP/XPath injection.

### How do I install Injection in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/injection to use it in all your projects, or to .claude/skills/injection in one project.

### Does Injection run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Injection?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Injection?

The closest alternatives to Injection are Client side, Server side, Infrastructure, Error based ssti and System.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Client side](https://ai-powered.com/skills/client-side): Client side is an open-source agent skill for security.
- [Server side](https://ai-powered.com/skills/server-side): Server side is an open-source agent skill for security.
- [Infrastructure](https://ai-powered.com/skills/infrastructure): Infrastructure is an open-source agent skill for security.
- [Error based ssti](https://ai-powered.com/skills/error-based-ssti): Error based ssti is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [AI threat testing](https://ai-powered.com/skills/ai-threat-testing): AI threat testing is an open-source agent skill for security.
- [Web app logic](https://ai-powered.com/skills/web-app-logic): Web app logic is an open-source agent skill for security.
- [Skill scanner](https://ai-powered.com/skills/skill-scanner): Skill scanner is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/injection
