hunt-ssti

Detect and map SSTI vulnerabilities across common template engines.

3.3k|507|Updated May 5, 2026
One-click install
npx skills add https://github.com/elementalsouls/Claude-BugHunter --skill hunt-ssti-elementalsouls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-ssti
Source: https://github.com/elementalsouls/Claude-BugHunter/tree/main/skills/hunt-ssti
Command: npx skills add https://github.com/elementalsouls/Claude-BugHunter --skill hunt-ssti-elementalsouls

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and map server-side template injection weaknesses across major template engines to identify potential RCE pathways and secure vulnerable apps.

Core Features & Use Cases

  • Detection payloads for Jinja2, Twig, Freemarker, ERB, Thymeleaf, Velocity, Mako, and Smarty to fingerprint engines.
  • RCE payloads and escalation patterns to validate exploitability in controlled assessments.
  • Practical testing surfaces and test plan guidance for bug-bounty and red-team engagements.

Quick Start

Describe a practical SSTI test plan to fingerprint template engines and verify potential RCE paths.

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 (SSTI) vulnerabilities are detected by injecting template syntax into user input fields and observing server-rendered responses. This Skill provides detection payloads to fingerprint template engines like Jinja2, Twig, and Freemarker, confirming if user input is rendered server-side.

What is the best way to fingerprint template engines like Jinja2 or Thymeleaf during pentest?

The best way to fingerprint template engines during pentest is using engine-specific syntax probes. This Skill applies detection payloads targeting Jinja2, Twig, Freemarker, ERB, Thymeleaf, Velocity, Mako, and Smarty to identify the active engine from rendered responses.

How do I escalate SSTI to remote code execution?

SSTI escalates to remote code execution (RCE) through engine-specific class-walker or execute patterns. This Skill provides RCE payloads and escalation patterns to validate exploitability in controlled assessments.

Does this SSTI testing approach work for bug bounty and red-team engagements?

Yes, this SSTI testing approach works for bug bounty and red-team engagements. The Skill provides practical testing surfaces and test plan guidance specifically designed for these scenarios, including safe validation and documented results.

What template engines are covered for SSTI detection?

The template engines covered for SSTI detection include Jinja2, Twig, Freemarker, ERB, Thymeleaf, Velocity, Mako, and Smarty. The Skill maps vulnerabilities across these common engines for server-rendered applications and components.

Why does SSTI payload testing require knowledge of engine fingerprints?

SSTI payload testing requires knowledge of engine fingerprints because template syntax varies significantly across engines. Identifying the specific engine allows targeted use of class-walker or execute patterns for successful RCE escalation.