ssti-testing
Detect and exploit server-side template injection for code execution
от VigilOSS★ 35 звёзд на GitHub
Установить ssti-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Server-Side Template Injection (SSTI) Testing
When to Activate
- Input renders through a server-side template (pages, emails, PDFs, SMS, report templates, error pages), reflected input behaves like a template, or an error names an engine.
--technique SSTI; deliver via vigil assess kali exec --technique SSTI --intent "<purpose>" --probe-kind payload --phase consume-test --timeout 30 -- curl …. The universal probe, the
error fingerprint, and per-engine sandbox escapes and RCE gadgets (Jinja2, Twig,
Freemarker, Pebble, Thymeleaf, ERB, Smarty, Mako, Velocity, Pug, Handlebars, EL/OGNL):
agent/references/payloads/ssti-payloads.md.
Method
- Evaluate:
{{7*7}},${7*7},<%= 7*7 %>,#{7*7},*{7*7},@(7*7)— 49 vs literal. A#set,<%,{%,${…}or#{…}token that changes the output's shape (not just its content) is partial parsing: push engine gadgets even without arithmetic. - Fingerprint by differential before choosing a payload:
{{7*'7'}}is7777777in Jinja2,49in Twig, an error in Freemarker. - Escalate through the engine's sandbox-escape chain (
__class__.__mro__/__globals__for Jinja2,_self.env.registerUndefinedFilterCallback("exec")thengetFilterfor Twig 1.x,freemarker.template.utility.Execute); run only a benign command (id,hostname). - Blind (PDF, email, background job): time-based, error-based, or OOB per
agent/references/offensive-tactics/frp-tunneling.md"OOB Procedure (mint→poll→correlate)". The gadget must put an evaluated value in the callback ($(hostname).$OOB_HOST, or the arithmetic result as a label): mail and link scanners fetch literal URLs in rendered emails, so a bare-host hit does not show the template ran. An emptymatchedwith healthy OOB is a target result; fall back to timing and errors. - Client-side templates (AngularJS 1.x, Vue 2, Handlebars in the browser) reflecting input in
template scope escalate to XSS even when SSTI fails (
{{constructor.constructor('alert(1)')()}};agent/skills/xss-testing/SKILL.md).
What to Record
Parameter and endpoint, engine and version, the proof payload and its output, whether a sandbox
was present and bypassed, and RCE evidence. Severity:
agent/references/finding-fp-and-severity-gate.md; format:
agent/references/runtime-guides/web-finding-recording.md. Evaluation inside a sandbox that held
is still a finding at the information-disclosure level, with the remaining escape research as the
next test.
Kill Signals
- Every probe variant renders literally across every parameter and render surface → no template
injection; record the negative with its run ids (
agent/rules/hunting.md§13). - RCE on one parameter → check the other render surfaces fed by the same template
(
agent/rules/hunting.md§6).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ssti-testing?
Detect and exploit server-side template injection for code execution
Как установить скилл ssti-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ssti-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…