reverse-skill:给 AI Agent 装上逆向工程与渗透测试的神经系统

reverse-skill: A Nervous System for Reverse Engineering and Penetration Testing Inside AI Agents

Tech-News #安全技能#AI渗透测试#逆向工程#Claude Code技能#Agent路由#网络安全#Mycelium
更新于
🇨🇳 中文

by Mycelium Protocol


让 AI Agent 做安全分析,有一个绕不过的问题:Agent 不知道对着一个 APK 应该用 jadx 还是 apktool,不知道对着一个 ELF 应该用 radare2 还是 Ghidra,不知道遇到 JS 混淆应该上 de4js 还是 AST 分析。每次都要靠提示词碰运气,没有可复用的方法论。

reverse-skill 给这个问题提供了一套系统性的解法。

GitHub: https://github.com/zhaoxuya520/reverse-skill | ⭐ 20,925 | MIT License


核心机制

路由系统:41条规则,不猜工具

用户任务
  → RULES.md
  → MASTER-ROUTING / master-route.ps1
  → case-init / scope.md(授权确认 + 网络画像,未就绪前不执行)
  → 场景技能 → 工具 / MCP / 脚本
  → 时间线 + 证据→发现→路径 → 报告 + 现场日志

路由核心由一份结构化配置驱动,163个回归案例做 CI 验证,Windows + Ubuntu 双平台通过。

核心数字数值
路由规则41 条(R0–R40)
回归测试用例163 个
核心技能模块42 个
支持客户端Claude Code / Codex / Cursor / Kiro / Cline

覆盖的安全场景

  • Android APK:jadx / apktool 反编译 → Smali 分析 → Frida hook
  • ELF / 二进制:radare2 / Ghidra / IDA Pro 静态分析 → 动态调试
  • 前端 JS 加密:混淆还原 → AST 分析 → 协议逆向
  • 网络 PCAP:流量解密 → 协议还原 → 异常提取
  • CTF:题型识别 → 工具链匹配 → 解题路径规划
  • 授权渗透:scope 确认 → 网络画像 → 漏洞利用链

安装与使用

git clone https://github.com/zhaoxuya520/reverse-skill.git

刷新工具索引(让路由系统知道本机装了哪些工具):

平台命令
Windowspowershell -File skills/scripts/refresh-tool-index.ps1
Linux / macOSbash skills/scripts/refresh-tool-index.sh
Kali Linuxbash kali/scripts/refresh-tool-index.sh

执行后查看 skills/tool-index.md 确认工具检测结果。

对接 AI Agent

# Claude Code
claude --add-dir /path/to/reverse-skill

# 或让 Agent 读取并自动配置
# 按照 README_AI.md 的说明,Agent 会自己完成环境引导

自进化知识库

每次安全任务完成后,reverse-skill 会把有价值的发现(工具组合、绕过手法、常见坑)沉淀回知识库,下次遇到类似任务时路由命中更准、工具准备更快。这是「AI Agent 自进化」在垂直安全场景的具体落地:经验不靠人工维护,靠 Agent 自动提炼。


先决条件

  • Java / JDK:jadx 和 apktool 依赖
  • Node.js 22.12+:JS 工具链和 MCP 服务器
  • Python 3.x:Frida 和辅助脚本
  • 兼容的 AI 客户端:Claude Code / Codex / Cursor / Kiro / Cline 之一

适用范围说明

reverse-skill 设计用于已获授权的安全研究场景:合规渗透测试、CTF 竞赛、漏洞赏金计划、安全工具研究。所有路由规则均包含授权确认步骤(scope.md),未确认目标授权前不会执行攻击性操作。


Mycelium Protocol — 追踪 AI 系统的底层演化


关于 Mycelium

菌丝协议。持续追踪 AI 工具、系统和实验的内容节点。


🇬🇧 English

reverse-skill: A Routing System That Gives AI Agents a Nervous System for Cybersecurity

by Mycelium Protocol


When you point an AI agent at a security analysis task, there’s one fundamental problem: the agent doesn’t know whether to use jadx or apktool on an APK, radare2 or Ghidra on an ELF, or de4js vs AST analysis on obfuscated JS. Every run is guesswork, with no reusable methodology.

reverse-skill provides a systematic solution.

GitHub: https://github.com/zhaoxuya520/reverse-skill | ⭐ 20,925 | MIT License


Core Mechanism: 41-Rule Router

User task
  → RULES.md
  → MASTER-ROUTING / master-route.ps1 (PRIMARY)
  → case-init / scope.md (auth + network_profile; no ACT until ready)
  → Scenario skill → tools / MCP / scripts
  → timeline + Evidence→Finding→Path → report + field-journal

The routing core is a single structured configuration, validated by 163 regression cases across Windows + Ubuntu CI.

MetricValue
Routing rules41 (R0–R40)
Regression test cases163
Core skill modules42
Supported clientsClaude Code / Codex / Cursor / Kiro / Cline

Covered Scenarios

  • Android APK: jadx/apktool decompilation → Smali analysis → Frida hooks
  • ELF/binaries: radare2/Ghidra/IDA Pro static analysis → dynamic debugging
  • Frontend JS encryption: deobfuscation → AST analysis → protocol reversal
  • Network PCAP: traffic decryption → protocol reconstruction → anomaly extraction
  • CTF: challenge type classification → toolchain matching → solution path planning
  • Authorized pentest: scope confirmation → network profiling → exploit chain

Installation

git clone https://github.com/zhaoxuya520/reverse-skill.git

Refresh the tool index (lets the router know what’s installed):

PlatformCommand
Windowspowershell -File skills/scripts/refresh-tool-index.ps1
Linux / macOSbash skills/scripts/refresh-tool-index.sh
Kali Linuxbash kali/scripts/refresh-tool-index.sh

Check skills/tool-index.md for detected tools. Then point your agent at the directory or have it read README_AI.md — the agent bootstraps itself from there.


Self-Evolving Knowledge Base

After each security task, reverse-skill distills useful findings (tool combinations, bypass techniques, known pitfalls) back into the knowledge base. Next time a similar task appears, routing is more accurate and tools are ready faster. This is what “self-evolving AI agent” looks like in a specialized domain: experience compounds automatically rather than requiring human maintenance.


Prerequisites

  • Java / JDK: required by jadx and apktool
  • Node.js 22.12+: JS toolchain and MCP servers
  • Python 3.x: Frida and helper scripts
  • A compatible AI client: Claude Code, Codex, Cursor, Kiro, or Cline

Authorized Use

reverse-skill is designed for authorized security research: compliance pentesting, CTF competitions, bug bounty programs, security tooling research. All routing rules include a scope confirmation step — no offensive actions run until the target authorization is confirmed.


Mycelium Protocol — tracking the deep evolution of AI systems

© 2026 Mycelium Protocol. All rights reserved.

💬 评论与讨论

使用 GitHub 账号登录后发表评论

关于本站 · 免责声明

🍄 Mushroom Research Blog 是非营利、免费公开的个人科技观察博客与公众号 XStack18,不接受商业合作、不代表任何企业或机构立场,也不谋求商业利益。我们以个人视角客观中立地记录和分析 AI、Web3 等领域的最新模型发布与技术动态——不止转述新闻标题或二手信息,而是给出有独立思考的深入分析,希望帮更多人获得有价值的一手科技认知。

⚠️ 文中介绍的开源代码与模型,仅供学习交流与技术借鉴。它们大多仍处于早期阶段,有待进一步研究和验证,请勿直接用于工作或生产环境;如需采用,请先自行充分测试,并核实其许可证与安全性。
Open-source code and models featured here are shared for learning and reference only. Most are early-stage and still need further study and verification — please don't use them directly in your work or in production. Test them thoroughly and check their licenses and security first.

  1. 本站文章均为作者基于公开信息的个人研究与观点整理,不代表文中提及的任何公司、产品、模型的官方立场,未与其构成商业关联或合作关系。
  2. 科技行业信息更新极快,我们尽力保证内容准确、及时,但不对完整性、实时性做绝对保证,具体请以相关企业/项目官方公告为准。
  3. 文中引用的第三方商标、产品名称、图片、数据等版权归原权利人所有,我们会尽量注明来源;如你认为存在版权疑问或侵权,请通过下方邮箱联系我们,收到通知后会尽快核实处理(更正、加注来源或删除)。
  4. 文章内容仅为技术科普与个人观点,不构成投资、法律或其他专业建议,据此进行任何决策的后果需自行判断和承担。

📮 侵权 / 勘误 / 合作咨询:[email protected]