encod3d-sec/torch/hunt-injection
Claude Code and agent skill by encod3d-sec/torch
- community
Checking that the SKILL.md file is still in the repository.
GraphQL IDOR/auth-bypass, XXE file-read/SSRF (SVG/DOCX/SAML), SSTI detection and RCE. OOB-mandatory for blind XXE. Wiki-first, FIND schema output.
Install
npx vskill@latest install encod3d-sec/torch/hunt-injectionSKILL.md
The same SKILL.md was published earlier as encod3d-sec/torch/hunt-injection.
Hunt: GraphQL / XXE / SSTI
Assumes `hunt-core` for the scope gate, two-account rule, confirmation gate, enumeration limits, stop conditions, wiki protocol, FIND output, and Deadends. Do not re-derive any of that here.
Wiki
Hub: [[web-moc]] (live web index). Primary page: [[ssti]]. Payload arsenals: wiki/payloads/{ssti,xxe,graphql,xslt}.md. Anchors: [[xxe]], [[graphql-attacks]], [[xslt-injection]] (server-side XSLT injection, payloads [[xslt]]).
GRAPHQL
Signals
Methodology
- Test introspection:
If blocked, try: {"query":"{ __typename }"}
- Use InQL (Burp extension) or graphql-voyager to map schema. Push load-bearing queries/mutations to Burp Repeater (
Skill(hunt-burp)/ the Burp MCP) so the operator can replay them. - Find REST/GraphQL overlap - resources modifiable via BOTH APIs
- Test IDOR: replay queries/mutations with another user's object IDs
- Test authorization: lower-privilege user calling admin mutations
- Test for persistent privilege after REST revokes access - GraphQL re-grants?
Evasion
Introspection disabled -> {"query":"{ __typename }"} confirms GraphQL is live; then field-suggestion mining (typo a field, the error often names valid ones), alias-based enumeration for parallel object access, and query batching (array body) to bypass per-request rate limits and some auth checks.
XXE
Attack Surface (ranked)
Rank: SAML ACS and document/office upload converters first (parsers there routinely resolve external entities), then any endpoint you can flip to Content-Type: application/xml.
Classic File Read
Blind OOB (when no reflection)
SVG Upload XXE
XXE -> SSRF
Evasion
XML/DTD rejected -> switch vector (SVG/DOCX/XLSX/PPTX upload, or a Content-Type: application/xml swap on a JSON endpoint), UTF-16/UTF-7 re-encode the payload, wrap the leaked file through php://filter/convert.base64-encode/resource= for binary/PHP source, and use parameter entities + an external DTD when the inline DOCTYPE is blocked.
SSTI
Detection Probes (try all - different engines respond to different syntax)
RCE Payloads (after fingerprinting engine)
Prove RCE with a harmless command (id / whoami) first - as the payloads above do. Never lead with a destructive command to demonstrate execution.
Where to Test (ranked)
Highest yield first: PDF/invoice generators and email-template fields (server-side render by design), then name/bio/description fields, invoice names, search queries reflected in results, URL path parameters, and HTTP headers reflected in responses.
Evasion
{{7*7}} filtered or returned literally -> cycle every engine syntax above, then bypass keyword filters via attribute-access variants (request["application"] vs request.application), string concatenation to rebuild blocked names, and hex/unicode escapes. WAF on __class__ -> |attr('__class__').
Chaining
- SSTI -> RCE. Evaluation confirmed -> escalate to command execution with the engine payload above (safe command first). For sandbox-escape gadget chains and OOB-blind RCE, hand off to
hunt-rce. - XXE -> SSRF / file read. Point the external entity at
http://169.254.169.254/...for cloud metadata or an internal service; for the full SSRF surface (redirect bypass, protocol smuggling, Collaborator-gated blind) hand off tohunt-ssrf. File read escalates to source/config disclosure and, through those, to further creds. - GraphQL IDOR / auth bypass -> object enumeration. Nested-resolver and
node(id:)traversal are IDOR - hand off tohunt-idor(two-account method) orhunt-api(BOLA/BFLA, mass assignment, batching).
Confirmation gate
Per hunt-core. Reproduce every claim in a clean session before scaffolding a FIND; a response body on its own is not proof.
SSTI - NOT confirmation: a {{7*7}} (or ${7*7} / <%= 7*7 %>) reflected back literally as {{7*7}}; an error naming the template engine; input echoed unchanged. SSTI - IS confirmation: the expression is evaluated - {{7*7}} renders 49, {{7*'7'}} renders 7777777, or a rendered object comes back (e.g. a dumped config object). RCE is confirmed only when a safe command (id / whoami) returns its real output.
XXE - NOT confirmation: a parser error, a 500, or "entity not allowed" - these prove XML is parsed, not that the entity resolved. XXE - IS confirmation: the external entity resolves to real content - /etc/passwd (or metadata creds) reflected in the response, OR an out-of-band callback.
Blind XXE / blind SSTI need an OOB HIT. When you plant a blind/OOB payload (parameter-entity XXE, or SSTI with no reflected sink), fire it at your own interactsh/Collaborator listener and append a row to targets/<eng>/oob.md:
(columns: token | sink | class | planted | status | source; token = your unique interactsh/Collaborator label). The recon-capture hook flips the row waiting -> HIT on the incoming callback and SessionStart surfaces HITs; that HIT row is the confirmation gate to scaffold the FIND. Do NOT claim a blind XXE (or blind SSTI) without a HIT row.
Severity
| Confirmed | Severity | |
|---|---|---|
| SSTI -> RCE | critical | |
| SSTI, sandboxed (no RCE) | medium | |
| XXE file read | high (critical if cloud-metadata creds retrieved) | |
| XXE -> SSRF | high | |
| GraphQL IDOR / auth bypass | high |
Distill when confirmed (GENERIC, no client host): python3 scripts/wiki-stage.py --kind technique --slug <slug> --target-page techniques/web/ssti.md (XXE -> techniques/web/xxe.md; GraphQL -> techniques/web/graphql-attacks.md).
Deadends
Record what you tried, not just that it failed. The next pass needs the boundary.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hunt/hunt-injection/SKILL.md
Popularity
- Repository stars
- 324
- Repository forks
- 46
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Nov 2026, 26 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/encod3d-sec/torch/hunt-injection)