# SSTI payload bank — id|family|payload|expected_result
# Pure arithmetic / string evaluation only. No introspection, no config
# access, no file access, no OS commands. Each family has a primary probe
# (1337*1337 = 1787569, a distinctive 7-digit marker) and a confirmation
# probe with different operands (2718*2718 = 7387524) so a hit must
# reproduce with a different result before it is called confirmed.
# Round 2 (4PILAR survey): engine differentiators name the engine from
# behaviour ({{7*'7'}} -> 7777777 is Jinja2, 49 is Twig), an anti-cache
# distinctive-number probe, a polyglot error probe (elicits a verbose
# template exception; only its error signatures are read), and breakout
# probes for values that already sit inside a template statement.
jinja_primary|jinja_braces|{{1337*1337}}|1787569
jinja_confirm|jinja_braces|{{2718*2718}}|7387524
jinja_small|jinja_braces|{{7*7}}|49
jinja_string_primary|jinja_string|{{'A'*7}}|AAAAAAA
jinja_string_confirm|jinja_string|{{'B'*7}}|BBBBBBB
jinja_diff_repeat|jinja_braces|{{7*'7'}}|7777777
jinja_diff_method|jinja_braces|{{'relix'.upper()}}|RELIX
jinja_diff_filter|jinja_braces|{{'relix'|upper}}|RELIX
jinja_anticache|jinja_braces|{{9999*9999}}|99980001
dollar_primary|dollar_braces|${1337*1337}|1787569
dollar_confirm|dollar_braces|${2718*2718}|7387524
dollar_diff_builtin|dollar_braces|${"relix"?upper_case}|RELIX
hash_primary|hash_braces|#{1337*1337}|1787569
hash_confirm|hash_braces|#{2718*2718}|7387524
star_primary|star_braces|*{1337*1337}|1787569
star_confirm|star_braces|*{2718*2718}|7387524
erb_primary|erb_tags|<%= 1337*1337 %>|1787569
erb_confirm|erb_tags|<%= 2718*2718 %>|7387524
single_primary|single_braces|{1337*1337}|1787569
single_confirm|single_braces|{2718*2718}|7387524
polyglot_error|polyglot|{{1+abcxx}}${1+abcxx}<%1+abcxx%>[abcxx]|abcxx
jinja_breakout|jinja_braces|}}{{1337*1337}}|1787569
erb_breakout|erb_tags|%><%= 1337*1337 %>|1787569
