error-based-ssti

error-based-ssti is a skill for Claude Code, Codex from mtarcure/claude-vibe-squad. It costs 51 tokens per session (651 once invoked), scanned A, original, MIT.

A security-testing method for finding server-side template injection, where attacker input is evaluated by a web server as code, even when the result is not shown.

In plain words
What is it for?
It helps authorized testers check template systems such as Jinja2, Twig, or Spring EL for limited code execution or data exposure.
Why use it?
It uses controlled errors or different HTTP status codes to reveal whether code ran and whether data was extracted from a blind response.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps authorized testers check template systems such as Jinja2, Twig, or Spring EL for limited code execution or data exposure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mtarcure/claude-vibe-squad/error-based-ssti
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mtarcure/claude-vibe-squad --skill error-based-ssti
Clone the repo
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for error-based-ssti

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/error-based-ssti/github.svg)](https://agentmods.dev/skills/mtarcure/claude-vibe-squad/error-based-ssti)
Your own site
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/error-based-ssti"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/error-based-ssti/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for error-based-ssti

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/error-based-ssti"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/error-based-ssti.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00651
Opus 5.5 $0.00020 $0.00260
Sonnet 5.5 $0.00010 $0.00130
Haiku 4.5 $0.00005 $0.00065

Measured 1mo ago against content hash f9645cd0d7f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

error-based-ssti scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/error-based-ssti/SKILL.md · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Error-Based SSTI ("Successful Errors")

Detect and exploit server-side template injection (and code injection) in blind / output-blocked environments by deliberately forcing runtime errors that reflect the result of evaluated code in the exception message. When even error text is suppressed, use a boolean error-based oracle (evaluate-then-conditionally-throw, e.g. division-by-zero on a true bit) to exfiltrate bit-by-bit via HTTP 500-vs-200 status differentials — zero dependency on rendered output.

Source: corpus A §I.1 — Korchagin, "Successful Errors" (PortSwigger Top 10 Web Hacking Techniques of 2025, #1). Impact class: RCE / private-data exposure (intrinsic). Governing method: Phase-3a hypothesis lane of systematic-attacking; leads only into the verification spine. Only fired against operator-authorized in-scope targets, honoring rate limits.

Method

  1. Identify template/expression sinks (user input flowing into Jinja2/Mako, Twig/Smarty, Spring EL, Handlebars, etc.) via source-map recovery + semgrep taint rules; note which reflect output vs. are blind.
  2. For blind sinks, send error-forcing payloads per engine: Python AttributeError/mro probes (().__class__.__mro__[1].__subclasses__()), Twig include(...)/not-found errors, Spring EL type-conversion faults — and read the reflected exception, not the page body.
  3. For error-suppressed sinks, build a boolean oracle: an expression that evaluates a target bit and conditionally triggers a fault (e.g. 1/0 on true), then read the HTTP status. Iterate to exfiltrate a secret / prove code execution one bit at a time.
  4. Escalate carefully to a contained impact proof (read a scoped file, echo a unique token via an interactsh-client OOB callback) sufficient to demonstrate RCE — never destructive, never out-of-scope. Encode the winning payloads as custom nuclei templates for regression.
  5. Negative control: a benign input over the same path produces the baseline status/response, proving the differential is attacker-caused.

Read the full file on GitHub · 42 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 42 lines · 51 tokens per session scan A f9645cd0d7f1

Subscribe to this mod's changes

error-based-ssti is a skill published in the GitHub repository mtarcure/claude-vibe-squad (165 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 651 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.