Home / Open Source / reverse-skill

reverse-skill

A rule-based skills router that guides AI agents through reverse engineering, penetration testing, and CTF workflows with the right tools and methodology.

PowerShellMITskill
โญ GitHubhttps://github.com/zhaoxuya520/reverse-skill
29,077
Stars
+0
Star growth
Aug 24, 2026
Last updated
2
Clicks

1. Project Overview

reverse-skill is a cybersecurity skills router that guides AI coding agents (and the humans working alongside them) through structured, repeatable workflows for reverse engineering, penetration testing, and CTF-style security tasks โ€” replacing ad-hoc guesswork with a rule-based routing system that selects the right methodology and tools for a given target.

2. Background & Positioning

  • Core mission: AI agents are increasingly asked to analyze APKs, binaries, encrypted JavaScript, firmware, or run CTF challenges, but they generally lack a systematic way to decide which technique or tool applies to which situation. reverse-skill closes this gap by encoding expert routing logic โ€” "User task โ†’ RULES.md โ†’ MASTER-ROUTING โ†’ case initialization โ†’ scenario-specific skill โ†’ evidence collection โ†’ reporting" โ€” so that agents follow a consistent, auditable path instead of improvising.
  • Differentiation: Rather than being a single tool or wrapper around one utility, reverse-skill is a routing and orchestration layer sitting on top of the existing security tooling ecosystem (jadx, apktool, Frida, Burp, YARA, and more). Its value lies in the 43 routing rules and 173 regression tests that keep task classification consistent, plus a client-neutral design that works the same way across Claude Code, Cursor, Cline, and other AI coding environments.

3. Feature Categories

  • ๐Ÿ“ฑ Mobile Analysis โ€” APK and iOS app analysis; representative skills include static decompilation, dynamic instrumentation, and certificate/signature inspection. Purpose: uncover app behavior and vulnerabilities in mobile binaries.
  • ๐Ÿงฉ Binary Reverse Engineering โ€” Handling of ELF, EXE, DLL, and SO files; disassembly, symbol recovery, and control-flow analysis. Purpose: turn compiled binaries back into understandable logic.
  • ๐Ÿ” .NET / C# Decompilation โ€” Recovery of source-level structure from .NET assemblies. Purpose: analyze managed-code applications without original source.
  • ๐Ÿ•ธ๏ธ JavaScript Encryption Analysis โ€” Deobfuscation and decryption-routine tracing for frontend/web JavaScript. Purpose: understand client-side encryption logic used by web apps and APIs.
  • ๐Ÿ›ก๏ธ Malware Detection & YARA โ€” Signature-based and behavioral malware analysis. Purpose: classify and detect malicious samples using YARA rules.
  • ๐ŸŽฏ Penetration Testing & Scanning โ€” Structured scanning and exploitation workflows for authorized targets. Purpose: assess exposure of systems under an explicit test scope.
  • ๐Ÿ CTF Competitions โ€” 42 dedicated CTF sub-skills covering common challenge categories (pwn, crypto, web, reverse, forensics). Purpose: provide competition-ready workflows for capture-the-flag events.
  • ๐Ÿ”Œ Firmware & IoT Assessment โ€” Extraction and analysis of embedded firmware images. Purpose: evaluate IoT device security posture.
  • ๐Ÿ’ฅ Exploit Development & Pwn Chains โ€” Guided construction of proof-of-concept exploit chains. Purpose: validate vulnerability impact in controlled environments.
  • ๐ŸŒ API & GraphQL Security โ€” Endpoint discovery and authorization/logic testing for APIs. Purpose: identify insecure API design and access-control gaps.
  • ๐Ÿ“ฆ Supply Chain Analysis โ€” Dependency and build-pipeline inspection. Purpose: detect tampering or malicious packages in the software supply chain.
  • ๐Ÿค– LLM / AI Security โ€” Assessment of prompt injection, model abuse, and agent-specific attack surfaces. Purpose: extend traditional security review to AI-powered systems.

4. Key Highlights

  • Rule-based routing engine โ€” 43 routing rules (R0โ€“R44) defined in routing.json act as the single source of truth for how tasks are classified and dispatched.
  • Regression-tested reliability โ€” 173 regression test cases validate routing decisions, reducing the risk that a rule change silently breaks an existing workflow.
  • Cross-platform CI โ€” Automated validation on both Windows and Ubuntu ensures routing and scripts behave consistently across operating systems.
  • Client-neutral design โ€” Works uniformly across Claude Code, Cursor, Cline, and other AI coding assistants, so teams aren't locked into one agent platform.
  • Structured case lifecycle โ€” Every task flows through case initialization, evidence collection, and reporting, producing auditable output rather than one-off scratch work.
  • Explicit authorization gates โ€” RULES.md enforces scope and authorization checks before any offensive-style workflow proceeds, keeping usage aligned with authorized testing only.

5. Use Cases by Role

  • General developers: Use the JavaScript encryption analysis and .NET decompilation skills to understand third-party code or debug obfuscated dependencies.
  • Security engineers / penetration testers: Leverage the full routing system โ€” mobile, binary, API, and exploit-development skills โ€” to run consistent, well-documented engagements against authorized targets.
  • CTF players: Use the 42 CTF sub-skills as a ready-made playbook for pwn, crypto, web, reverse, and forensics challenge categories.
  • AI agent builders: Integrate reverse-skill as a routing layer so that any Claude Code / Cursor / Cline-based agent can reliably pick the right security methodology instead of guessing.

6. Getting Started

Find what you need โ€” start from the routing entry points:

cat MASTER-ROUTING.md
cat RULES.md

Install / integrate โ€” clone the repository and run the platform-specific refresh script to detect available security tools (requires JDK, Node.js 22.12+, and Python 3.x):

git clone https://github.com/zhaoxuya520/reverse-skill.git
cd reverse-skill
# run the refresh script for your platform, e.g.:
./scripts/refresh.sh        # Kali/Ubuntu/macOS
scripts/refresh.ps1         # Windows

Contribute โ€” standard fork-and-PR workflow:

git checkout -b feature/my-skill
git commit -m "Add my-skill"
git push origin feature/my-skill
# then open a Pull Request on GitHub

7. Project Structure

reverse-skill/
โ”œโ”€โ”€ skills/              # Core routing rules, workflows, and domain-specific skills
โ”œโ”€โ”€ CTF-Sandbox/         # 42 CTF sub-skills (GPLv3-licensed orchestrator)
โ”œโ”€โ”€ scripts/             # Master routing, case initialization, and test scripts
โ”œโ”€โ”€ docs/                # Platform-specific guidance (Kali, Ubuntu/Debian, macOS)
โ””โ”€โ”€ work/                # Local case data (gitignored)

Key files:

  • MASTER-ROUTING.md โ€” the primary fast-track routing ladder for incoming tasks.
  • routing.json โ€” single source of truth for the 43 routing rules.
  • README_AI.md โ€” bootstrap instructions written specifically for AI agents.
  • RULES.md โ€” global scope gates and authorization checks that must pass before any skill executes.

8. Related Ecosystem

  • Upstream tools it wraps or depends on: jadx and apktool (Android decompilation), Frida (dynamic instrumentation), Burp Suite (web/API testing), YARA (malware signatures).
  • AI agent platforms it integrates with: Claude Code, Cursor, Cline, and other compatible AI coding environments.
  • Complementary infrastructure sponsors: Atlas Cloud (AI inference platform) and Kite AI (identity/payment infrastructure for the agent economy) support the project's operation.

9. License

  • โœ… Use, copy, modify, and distribute the core project under the MIT License, including for commercial purposes, provided the copyright notice is retained.
  • โœ… Use the CTF-Sandbox-Orchestrator component, which is separately licensed under GPLv3 โ€” copyleft terms apply if you redistribute modified versions.
  • โŒ Do not use any skill in this project against systems you do not own or lack explicit authorization to test โ€” this is a hard requirement stated in the project's own rules, not just a general legal caveat.
  • โ„น๏ธ Bundled or referenced third-party tools (jadx, Frida, Burp, etc.) retain their own original licenses, which may differ from MIT/GPLv3 and should be reviewed separately.

10. FAQ

Q: Do I need all the prerequisite tools installed before using reverse-skill?
A: No โ€” the refresh scripts (scripts/refresh.sh / scripts/refresh.ps1) detect which tools are already available on your system and route tasks accordingly; missing tools are reported rather than assumed.

Q: Can I use reverse-skill for real-world penetration testing, not just CTFs?
A: Yes, but only against systems you own or have explicit written authorization to test โ€” this is enforced by the scope and authorization gates in RULES.md.

Q: Which AI coding assistants does this work with?
A: The routing system is client-neutral and has been validated with Claude Code, Cursor, and Cline; any compatible AI coding environment should be able to consume the same routing files.

Q: Why does the CTF-Sandbox-Orchestrator use a different license (GPLv3) than the rest of the project (MIT)?
A: It's a separately maintained submodule with its own licensing decision; check the license file inside CTF-Sandbox/ before redistributing that component specifically.

Q: How do I add a new skill or routing rule?
A: Fork the repository, add your skill under skills/ (or CTF-Sandbox/ for CTF-specific ones), update routing.json if a new rule is needed, ensure the regression tests pass, and open a pull request.

11. Quick Links

  • Repository: https://github.com/zhaoxuya520/reverse-skill
  • Routing entry point: MASTER-ROUTING.md (in the repository root)
  • Contributing: standard GitHub fork-and-pull-request workflow (see repository root for any CONTRIBUTING guidance)
  • Community/discussions: GitHub Issues and Pull Requests on the repository

12. Summary

reverse-skill turns ad-hoc, trial-and-error security analysis into a structured, rule-driven workflow that AI agents and human practitioners can follow consistently across mobile, binary, web, firmware, and CTF domains. It is best suited for security engineers, CTF participants, and AI agent builders who need reliable, auditable routing between security tasks and the right tools โ€” always within the bounds of authorized testing.