payload-reference-ssti

Identify Server-Side Template Injection vulnerabilities using safe canary markers.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill payload-reference-ssti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payload-reference-ssti
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/payload-reference-ssti
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill payload-reference-ssti

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, safe, and defensive framework for identifying and assessing Server-Side Template Injection (SSTI) vulnerabilities without risking unauthorized code execution or system compromise.

Core Features & Use Cases

  • Safe Canary Strategy: Utilizes inert mathematical markers to confirm template injection without triggering dangerous payloads.
  • Engine Fingerprinting: Identifies specific template engines (Jinja2, Twig, Freemarker, etc.) through syntax differentials and error analysis.
  • Use Case: During a security assessment, use this reference to determine if a web application is vulnerable to SSTI by testing safe arithmetic expressions, ensuring you remain within a non-destructive, authorized testing boundary.

Quick Start

Use the payload-reference-ssti skill to identify the template engine and verify injection using safe mathematical canaries for the target application.

Frequently Asked Questions about payload-reference-ssti

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

FAQPage Schema
How do I safely test for Server-Side Template Injection without executing dangerous payloads?

To safely test for Server-Side Template Injection (SSTI), use inert mathematical canary markers to confirm template compilation. This defensive approach verifies injection points using non-executable arithmetic expressions, preventing unauthorized code execution or system compromise during security assessments.

What is the best way to fingerprint a template engine during a vulnerability assessment?

Fingerprinting a template engine involves analyzing syntax differentials and error responses from the target application. This framework identifies specific engines like Jinja2, Twig, and Freemarker by observing how they process safe mathematical canaries, allowing precise vulnerability assessment without active code execution.

Can I use arithmetic expressions to confirm SSTI vulnerabilities across different template engines?

Yes, you can use arithmetic expressions to confirm SSTI vulnerabilities across multiple template engines. This reference provides a safe canary strategy using mathematical markers that trigger computational outputs across different engines, effectively validating injection points while maintaining a non-destructive testing boundary.

Do I need authorization before performing template injection assessments on a target system?

Yes, strict adherence to authorization gates and policy-based validation is required before any active interaction with target systems. This ensures template injection assessments remain within an authorized, defensive security boundary and comply with non-destructive testing protocols.

When should I avoid using active payload testing for SSTI discovery?

You should avoid active payload testing when strict authorization gates are not met or when a non-destructive testing boundary is required. Limitations include the risk of unauthorized code execution, which is mitigated here by relying solely on safe, non-executable mathematical canaries instead of active payloads.