Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

payloads-ssti

БесплатноБез исполняемых скриптовНе проверен

Template injection allows an attacker to include template code into an existing (or not) template. A template engine makes designing HTML pages easier by…

smartworldarafathот smartworldarafath★ 68 звёзд на GitHub

Об этом скилле

SSTI Payloads

Source: PayloadsAllTheThings/Server Side Template Injection Category: payloads-injection | Skill ID: payloads-ssti

Overview

Server-Side Template Injection payloads for Jinja2, Twig, Freemarker, and more.

This skill integrates the full PayloadsAllTheThings (PATT) payload library for the SSTI Payloads domain into the REA_Skill framework. Use it during authorized penetration testing, bug bounty research, security audits, and CTF challenges.

Workflow

1. Recon & Identification

  • Identify the target technology stack and injection points
  • Enumerate endpoints, parameters, and input vectors
  • Determine applicable payload categories from the reference below

2. Payload Selection

  • Browse the PATT payload library for the attack class
  • Select encoding-appropriate payloads for the target environment
  • Consider WAF bypass variants and obfuscation techniques

3. Exploitation (Authorized Only)

  • Test payloads in order: passive → active → escalation
  • Document every payload tested and its response
  • Capture PoC evidence (screenshots, HTTP logs, curl output)

4. Verification & Reporting

  • Confirm the vulnerability with a clean minimal PoC
  • Map findings to CVE/CWE where applicable
  • Report with remediation recommendations and code fixes

Full PATT Reference

Server Side Template Injection

Template injection allows an attacker to include template code into an existing (or not) template. A template engine makes designing HTML pages easier by using static template files which at runtime replaces variables/placeholders with actual values in the HTML pages.

Summary

Tools

  • Hackmanit/TInjA - An efficient SSTI + CSTI scanner which utilizes novel polyglots

    tinja url -u "http://example.com/?name=Kirlia" -H "Authentication: Bearer ey..."
    tinja url -u "http://example.com/" -d "username=Kirlia"  -c "PHPSESSID=ABC123..."
    
  • epinna/tplmap - Server-Side Template Injection and Code Injection Detection and Exploitation Tool

    python2.7 ./tplmap.py -u 'http://www.target.com/page?name=John*' --os-shell
    python2.7 ./tplmap.py -u "http://192.168.56.101:3000/ti?user=*&comment=supercomment&link"
    python2.7 ./tplmap.py -u "http://192.168.56.101:3000/ti?user=InjectHere*&comment=A&link" --level 5 -e jade
    
  • vladko312/SSTImap - Automatic SSTI detection tool with interactive interface based on epinna/tplmap

    python3 ./sstimap.py -u 'https://example.com/page?name=John' -s
    python3 ./sstimap.py -i -u 'https://example.com/page?name=Vulnerable*&message=My_message' -l 5 -e jade
    python3 ./sstimap.py -i -A -m POST -l 5 -H 'Authorization: Basic bG9naW46c2VjcmV0X3Bhc3N3b3Jk'
    

Methodology

Detection and Exploitation Techniques

Original research:

Rendered

Rendered technique workflow

Applicability: detection, exploitation

When the rendered template is displayed to the attacker, Rendered technique

Полный SKILL.md на GitHub

Установить payloads-ssti в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл payloads-ssti?

Template injection allows an attacker to include template code into an existing (or not) template. A template engine makes designing HTML pages easier by using static template files which at runtime replaces variables/placeholders with actual values in the HTML pages. - - - - - - - - An efficient SSTI + CSTI scanner which utilizes novel polyglots - Server-Side Template Injection and Code...

Как установить скилл payloads-ssti?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл payloads-ssti запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить payloads-ssti с