hunt-rce

Detect and validate remote code execution vulnerabilities during bug bounty hunting.

Updated May 29, 2026
One-click install
npx skills add https://github.com/hhjkjkjk/Claude-skills --skill hunt-rce-hhjkjkjk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hunt-rce
Source: https://github.com/hhjkjkjk/Claude-skills/tree/main/skills/hunt-rce
Command: npx skills add https://github.com/hhjkjkjk/Claude-skills --skill hunt-rce-hhjkjkjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding remote code execution vulnerabilities requires knowing where user input reaches execution contexts and how to prove impact. This Skill provides a structured methodology, payload library, and validation gates for hunting RCE across web applications, cloud infrastructure, and enterprise products. ## Core Features & Use Cases - Attack Surface Mapping: Identify RCE-prone endpoints via URL patterns, response headers, tech stack signals, and JavaScript bundle analysis. - Payload & Detection Library: Ready-to-use probes for template injection, SnakeYAML and Ruby YAML deserialization, dependency confusion, ingress-nginx injection, Apache path traversal (CVE-2021-41773), Spring Cloud Function SpEL injection (CVE-2022-22963), and args4j file-read primitives. - Chain Composition: Six documented exploitation chains (SSRF+IMDS, SQLi+COPY PROGRAM, upload+traversal, prototype pollution, ViewState deserialization, XXE+expect://) showing how primitives compose into full RCE. - Use Case: While testing a target's admin console, submit template injection probes like {{7*7}} into configuration fields, confirm execution via out-of-band DNS callbacks, then validate impact against the Gate 0 checklist before reporting. ## Quick Start Ask the AI to help you test a target's management console for template injection and YAML deserialization RCE using the hunting methodology.

Frequently Asked Questions about hunt-rce

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for remote code execution vulnerabilities in bug bounty programs?▼

Map execution contexts first: template engines, shell commands, YAML parsers, and file operations that receive user input. Submit probes like {{7*7}} for template injection and confirm blind RCE with out-of-band DNS callbacks via interactsh or Burp Collaborator.

How to detect template injection in web applications?▼

Submit polyglot probes like {{7*7}}${7*7}<%= 7*7 %> into every free-form field, especially admin configuration panels. Look for 49 in responses, logs, or DNS callbacks to confirm server-side evaluation.

What is dependency confusion and how do I test for it?▼

Dependency confusion exploits internal package names that are unregistered on public registries. Enumerate internal package names from JS bundles and package.json files, then publish a higher-versioned package with a canary callback to detect execution on build infrastructure.

Does SnakeYAML allow remote code execution by default?▼

Yes, SnakeYAML's default constructor supports arbitrary object instantiation. Submitting a !!javax.script.ScriptEngineManager gadget with a URLClassLoader to an endpoint parsing YAML can load remote code unless a safe loader is configured.

Why is my RCE finding getting downgraded by triagers?▼

Reports fail when impact is unproven or reproduction is unreliable. Demonstrate concrete execution via id output or a unique DNS callback, articulate what the victim loses, and ensure the proof-of-concept reproduces in under 10 minutes.

When should I chain SSRF with other primitives for RCE?▼

Chain SSRF when the execution sink is internal-only, such as cloud metadata endpoints or localhost admin consoles. The Capital One pattern combines SSRF with IMDSv1 credential theft and Lambda invocation to reach backend code execution.