# ssti-hunter

ssti-hunter is a Claude Code skill that investigates server-side template injection (SSTI). It activates for user-controlled templates, rule engines, and rendered messages.

- skill · `type=skill` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1298 repo stars
- Author: H-mmer
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/cursor/.cursor/skills/agent-ssti-hunter/SKILL.md
- Updated: 2026-06-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ssti-hunter

## What it does

ssti-hunter identifies the template engine and tests how its restrictions handle attributes and bypasses. It covers Jinja2, Twig, Velocity, FreeMarker, ERB, Handlebars, and Thymeleaf; its Jinja2 guidance includes sandbox checks and CVE-based bypasses.

Before sending HTTP probes, the skill calls the MCP tools `search_techniques`, `search_payloads`, and `search_writeups` to gather techniques, payloads, and write-ups. If MCP cannot be reached, it falls back to `rules/payloads.md`. Probe matrices and results go under `evidence/<target>/ssti/`. Testing is limited to targets confirmed in scope through the official bug bounty platform API.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill ssti-hunter -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/agent-ssti-hunter/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/agent-ssti-hunter/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill ssti-hunter -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/agent-ssti-hunter/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill ssti-hunter -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/agent-ssti-hunter/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/agent-ssti-hunter
```

2. **Manually: put the files in place**
- File: `.github/skills/agent-ssti-hunter/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill ssti-hunter -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/agent-ssti-hunter
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/agent-ssti-hunter/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/cursor/.cursor/skills/agent-ssti-hunter/SKILL.md

## When to use it
- identify a template engine from probe results
- map attributes blocked by a Jinja2 sandbox
- find a filter bypass that advances an SSTI chain
- tell template parsing apart from actual rendering

## Example prompts
- Check a user-controlled template for SSTI and identify its engine.
- Map the attributes blocked by this Jinja2 sandbox.
- Check whether the rule simulator renders the template.

## Similar
- [ssti-server-side-template-injection](https://affpapa.org/en/nevibecode/skills/ssti-server-side-template-injection.md) — skill · 4000 installs
- [hunt-ssti](https://affpapa.org/en/nevibecode/skills/hunt-ssti.md) — skill · ★ 16193 repo stars
- [exploiting-template-injection-vulnerabilities](https://affpapa.org/en/nevibecode/skills/exploiting-template-injection-vulnerabilities.md) — skill · 266 installs
- [bizlogic-hunter](https://affpapa.org/en/nevibecode/agents/bizlogic-hunter.md) — subagent · ★ 2482 repo stars
- [web-hunter](https://affpapa.org/en/nevibecode/agents/web-hunter.md) — subagent · ★ 2482 repo stars
- [security-bounty-hunter](https://affpapa.org/en/nevibecode/skills/security-bounty-hunter.md) — skill · 6300 installs

From the same set: [h-mmer/pentest-agents](https://affpapa.org/en/nevibecode/by/h-mmer/pentest-agents.md) — 43 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
