# Error based ssti

> Error based ssti is an open-source agent skill for security. Guides an agent to detect blind server-side template injection via error-based oracles. 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/mtarcure/claude-vibe-squad/tree/main/.agents/skills/error-based-ssti
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** error-based-ssti
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill walks an agent through finding template and expression injection points in web applications where normal output is hidden or suppressed. It describes forcing runtime exceptions that echo evaluated results back in error messages, and, when even error text is hidden, building a boolean oracle that infers bits from HTTP 500 versus 200 status differences.

The workflow starts by locating suspect sinks such as Jinja2, Mako, Twig, Smarty, Spring EL and Handlebars inputs, using source-map recovery and semgrep taint rules. It then sends engine-specific error-forcing payloads, sets up an out-of-band callback for a contained proof of impact, and runs a benign control input over the same path to show the differential is caused by the payload. Winning payloads are encoded as reusable nuclei templates for regression testing.

The skill is written for specialists working under written authorization against in-scope targets, with rate limits respected. It expects the agent to have access to the target, semgrep, nuclei and interactsh-client, and it requires that findings be deduplicated against known SSTI CVEs for the target stack before reporting.

## When your agent uses it

> Use during an operator-authorized web assessment when a suspected backend template or expression sink is blind or suppresses output: force reflected evaluation exceptions or build an HTTP-status oracle to demonstrate scoped code execution or data extraction with a benign control.

## What it can access

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

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/error-based-ssti)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/error-based-ssti)

## Features

- **Blind sink identification:** Locates template and expression sinks and notes which ones reflect output versus stay silent.
- **Error-forcing payloads:** Provides per-engine payload approaches that surface evaluated results in exception messages.
- **Boolean status oracle:** Builds a conditional fault technique that leaks bits through HTTP status code differences.
- **Contained impact proof:** Demonstrates code execution or data access through scoped reads or out-of-band callbacks.
- **Benign negative control:** Runs a harmless input over the same path to confirm the differential comes from the attack.
- **Nuclei regression templates:** Captures winning payloads as custom nuclei templates for repeatable testing.

## Good for

- Test a web form for blind template injection in a Jinja2 or Twig backend
- Check whether an input field evaluates expressions when output is suppressed
- Extract a secret one bit at a time through HTTP status differences
- Turn a confirmed template injection into a repeatable nuclei regression test
- Verify a suspected SSTI finding is not already a known CVE for the stack

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/error-based-ssti` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/error-based-ssti &&
cp -R "$tmp/.agents/skills/error-based-ssti" ~/.claude/skills/error-based-ssti &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/error-based-ssti` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/error-based-ssti` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/error-based-ssti &&
cp -R "$tmp/.agents/skills/error-based-ssti" ~/.agents/skills/error-based-ssti &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/error-based-ssti` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/error-based-ssti` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/error-based-ssti &&
cp -R "$tmp/.agents/skills/error-based-ssti" ~/.cursor/skills/error-based-ssti &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/error-based-ssti` 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/mtarcure/claude-vibe-squad.git --path .agents/skills/error-based-ssti
```

Or copy the folder to `~/.gemini/skills/error-based-ssti` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/error-based-ssti`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/error-based-ssti &&
cp -R "$tmp/.agents/skills/error-based-ssti" ~/.copilot/skills/error-based-ssti &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/error-based-ssti` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

Then copy `claude-vibe-squad/.agents/skills/error-based-ssti` into your agent's skills folder as `error-based-ssti`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should Error based ssti be used?

During an operator-authorized web assessment when a suspected template or expression sink is blind or suppresses output.

### What tools does Error based ssti rely on?

It refers to semgrep for taint rules, nuclei for templates and interactsh-client for out-of-band callbacks.

### Does Error based ssti perform destructive actions?

No. The skill states that impact proofs must be contained and never destructive or out of scope.

### Does Error based ssti include scripts?

No, the skill folder contains only its SKILL.md with no bundled scripts.

### How do I install Error based ssti in Claude Code?

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

### Does Error based ssti 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 Error based ssti?

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 Error based ssti?

The closest alternatives to Error based ssti are Injection, Server side, Client side, Red team and Systematic bug hunting.

## Where this comes from

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

## Alternatives

- [Injection](https://ai-powered.com/skills/injection): Injection 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.
- [Client side](https://ai-powered.com/skills/client-side): Client side is an open-source agent skill for security.
- [Red team](https://ai-powered.com/skills/red-team): Red team is an open-source agent skill for security.
- [Systematic bug hunting](https://ai-powered.com/skills/systematic-bug-hunting): Systematic bug hunting is an open-source agent skill for security.
- [Techstack backend](https://ai-powered.com/skills/techstack-backend): Techstack backend is an open-source agent skill for security.
- [Techstack security](https://ai-powered.com/skills/techstack-security): Techstack security is an open-source agent skill for security.
- [Agentic safety audit](https://ai-powered.com/skills/agentic-safety-audit): Agentic safety audit is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/error-based-ssti
