rce-chaining

Chains proven primitives like file write, SSRF, and deserialization into remote code execution paths.

1|Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Maybe4a6f7365/agentic-bug-bounty-framework --skill rce-chaining-maybe4a6f7365
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rce-chaining
Source: https://github.com/Maybe4a6f7365/agentic-bug-bounty-framework/tree/main/skills/rce-chaining
Command: npx skills add https://github.com/Maybe4a6f7365/agentic-bug-bounty-framework --skill rce-chaining-maybe4a6f7365

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Security researchers often prove a low-impact primitive (file write, SSRF, file read) but struggle to determine whether it escalates to remote code execution or should be banked as a gadget. This Skill provides a structured methodology for chaining primitives into RCE and deciding when escalation is worth pursuing. ## Core Features & Use Cases - Chain Playbooks: Documented escalation paths including headless Chrome DevTools to Kubernetes secrets, Perforce file write to DLL hijack, SSRF to cloud metadata credentials, and vulnerable component CVE exploitation. - Gadget Inventory Discipline: Guidance on recording proven-but-low-impact primitives as reusable chain components rather than discarding them. - AI-Assisted Triage Guardrails: Rules for using models to hypothesize source-to-sink reachability and CVE candidates, with mandatory runtime verification and independent CVE confirmation against OSV.dev/NVD. - Use Case: During an authorized bug bounty engagement, you confirm an arbitrary file write on a target. Use this Skill to map the write to escalation paths (webshell, cron, DLL hijack), demonstrate the primitive safely, and explain the RCE path in your report without executing destructive payloads. ## Quick Start Ask the assistant to assess whether a proven file write primitive on an authorized target can be chained to remote code execution and what evidence to collect.

Frequently Asked Questions about rce-chaining

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

FAQPage Schema
How do I escalate a file write vulnerability to RCE?

Map the write primitive to known escalation paths: DLL hijack in application directories, webshell deployment, cron job creation, or authorized_keys injection. Demonstrate the write works, then explain the RCE path in your report rather than executing malicious code.

How to turn SSRF into remote code execution?

Chain SSRF to the cloud metadata endpoint (169.254.169.254) to extract IAM credentials, then enumerate accessible services like S3, CodeCommit, or ECR. Pushing malicious code or containers through deployment pipelines converts the credential access into RCE.

What is a gadget in vulnerability chaining?

A gadget is a proven primitive that is not a vulnerability by itself but enables a chain, such as file write, file read, or header injection. Record gadgets as observations in your manifest so they feed future chains instead of being discarded.

Can I trust AI-suggested CVEs for version fingerprints?

No. Models frequently hallucinate CVE identifiers and version boundaries. Use model output only as a hypothesis, then confirm the exact affected-version range against OSV.dev or NVD before relying on it in a chain.

When should I not attempt RCE escalation?

Never execute destructive or malicious payloads, and only test assets explicitly authorized under the program's published policy. For file-write-to-RCE chains, demonstrate the primitive and explain the escalation path instead of running attacker code.