hunt-ssti

Probe template rendering behavior to detect SSTI and fingerprint the active engine.

1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/jellaharshith/SWIFT --skill hunt-ssti-jellaharshith
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hunt-ssti
Source: https://github.com/jellaharshith/SWIFT/tree/main/swift/skills/cbh/skills/hunt-ssti
Command: npx skills add https://github.com/jellaharshith/SWIFT --skill hunt-ssti-jellaharshith

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you discover Server-Side Template Injection (SSTI) vulnerabilities and quickly determine the underlying template engine so you can assess whether code execution is possible.

Core Features & Use Cases

  • Engine fingerprinting via expression reflection: Uses safe numeric/probing payloads (e.g., {{77}} / ${77}) to infer the active engine such as Jinja2, Twig, Freemarker/Velocity, ERB, Spring Thymeleaf, and others.
  • Escalation guidance toward RCE paths: Provides engine-specific escalation patterns (e.g., class-walker, callback-registrar, Execute utility patterns) once the engine is identified.
  • Real target mapping for hunting: Focuses on common SSTI surfaces like template-rendered email bodies, CMS preview features, PDF/report generators, reflected error pages, and any endpoint that composes strings from user input before rendering.

Quick Start

Run an SSTI hunt against a suspect template-rendering endpoint and ask it to identify the template engine using reflection probes before proposing an evidence-backed RCE verification path.

Frequently Asked Questions about hunt-ssti

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect Server-Side Template Injection vulnerabilities in web applications?▼

Server-Side Template Injection is detected by probing template rendering behavior with safe numeric payloads like {{7*7}} and inferring the active engine from the reflected evaluation output.

Which template engines can be identified through SSTI fingerprinting?▼

SSTI fingerprinting can identify engines such as Jinja2, Twig, Freemarker, Velocity, ERB, and Spring Thymeleaf by analyzing how they reflect specific probing payloads.

How do I escalate from template engine fingerprinting to remote code execution validation?▼

After engine fingerprinting, apply engine-specific escalation patterns such as class-walker, callback-registrar, or Execute utility patterns to validate potential remote code execution paths.

What web app features are most vulnerable to Server-Side Template Injection?▼

Common SSTI surfaces include template-rendered email bodies, CMS preview features, PDF and report generators, and reflected error pages that compose strings from user input before rendering.

Can I use expression reflection probes safely on production endpoints?▼

Expression reflection probes use safe numeric payloads like {{7*7}} or ${7*7} to infer the active template engine without executing harmful commands, making them suitable for initial detection.

Why does my template injection payload render as plain text instead of evaluating?▼

If template injection payloads render as plain text, the endpoint may not interpolate user input into server-rendered templates, or a different template engine syntax is required for that specific framework.