ssti
What it does
This skill is a short playbook for server-side template injection, where user text is treated as template code. It is for developers and testers who check the template engines in their own apps.
When to use it
- ✓When a developer asks the agent to check whether user input is passed into a template engine as code.
- ✓When the agent reviews template calls in Jinja2, Twig, Freemarker or Velocity code.
- ✓When a report needs a positive execution signal and a harmless negative control.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/ssti/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you check whether our authorized app passes user input directly into a template engine?”
5 new skills a week. 1 minute to read.
How it works
The agent finds template rendering calls, traces user input into them, and sends harmless probe strings to see whether they are evaluated.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
SSTI Playbook
High-signal checks
- Look for template rendering with user input in
render_template_string,Template(...),twig->createTemplate,Freemarker Template.process. - Confirm user-controlled payload reaches a template context key or template source string.
Fast probes
- Jinja2:
{{7*7}},{{config}},{{request}} - Twig:
{{7*7}},{{_self}} - Freemarker:
${7*7} - Velocity:
#set($x=7*7)$x
Escalation path
- Detect expression evaluation.
- Enumerate available objects and filters.
- Attempt file read / env leak.
- Attempt command execution via framework-specific gadget chain.
Validation
Use validate_finding with a positive execution signal and a benign negative control.
FAQ
What is server-side template injection?
It is when user input is evaluated by the template engine instead of being shown as plain text.
What probe does the skill use?
It uses simple expressions that produce a visible result, such as a small arithmetic check, to see whether they run.
What must the report show?
It must show a positive execution signal and a negative control that behaves normally.
Details
Original description by the author
Hunt server-side template injection across Jinja2/Twig/Freemarker/Velocity/Handlebars and validate progression from expression injection to code execution.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #13973
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.