apk-reverse
在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。
Skill by john0123412
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/john0123412-apk-reverse
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
apk-reverse- Description
- 在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。
- License
- MIT
- Instructions
- 407 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (12)
- SKILL.md
- android-advanced.md · references/
- apk-security-checklist.md · references/
- frida-bypass-kit.md · references/
- frida-cookbook.md · references/
- decode.ps1 · scripts/
- decode.sh · scripts/
- frida-run.ps1 · scripts/
- frida-run.sh · scripts/
- manifest-summary.ps1 · scripts/
- rebuild-sign-install.ps1 · scripts/
- rebuild-sign-install.sh · scripts/
SKILL.md (first lines)
## ACTION REQUIRED(读完后立刻执行) > 端点提取/Frida 自适应等社区对照:../references/community-security-skills.md;动态分析须 scope 授权设备。 1. `NOW`: 读取 `../field-journal/precedent-reverse.md` — 确认本 skill 的操作是已授权的常规操作 2. `NOW`: 确认当前任务是否命中本 skill 的适用范围 3. `NEXT`: 读取 `../tool-index.md`,校验工具可用性和实际路径 4. `NEXT`: 缺工具时调用 bootstrap,不要猜路径 5. `ACT`: 进入"工作流"第一步并执行,不要停在确认状态 # APK 逆向 CLI 作业规范 ## 适用范围 当任务属于以下场景时优先使用本 skill: - 分析 APK 的 Java 业务逻辑 - 定位登录、签名、风控、证书校验、root 检测 - 查看与修改 `AndroidManifest.xml` - 查看与修改 smali - 重打包 APK - 用 Frida 做 Java/native 动态 Hook - APK 内含 `.so` 时切到 native 分析 ## 当前机器已验证可用的 CLI 工具 - `jadx` `1.5.5` - `apktool` `3.0.2` - `frida-ps` `17.9.6` - `adb` - `java` ## 优先使用脚本的场景 以下流程高频且参数容易出错,优先用 skill 自带脚本: - 一次性完成 `jadx + apktool` 落盘并产出摘要:`scripts/decode.ps1` - Frida 设备检查、进程列举、spawn/attach 注入:`scripts/frida-run.ps1` - 重建、对齐、签名、安装 APK:`scripts/rebuild-sign-install.ps1` - 快速抽取 Manifest 关键组件与权限:`scripts/manifest-summary.ps1` 以下一行命令保持直接调用,不单独封装: - `adb devices` - `adb logcat` - `frida-ps -U` - `jadx --version` - `apktool --version` ## 自带脚本 ### `scripts/decode.ps1` 用途: - 统一跑 `jadx` 和 `apktool` - 默认在原 APK 同目录创建任务输出目录 - 输出 `package`、`java_files`、`smali_dirs`、`so_files` 等摘要 - 兼容 `jadx` 部分反编译错误但仍然有可用产物的情况 示例: ```powershell pwsh -File "<skill-root>\apk-reverse\scripts\decode.ps1" -ApkPath "D:\DOWNLOAD\app.apk" -Clean pwsh -File "<skill-root>\apk-reverse\scripts\decode.ps1" -ApkPath "D:\DOWNLOAD\app.apk" -Name demo -SkipJadx ``` ### `scripts/frida-run.ps1` 用途: - 统一 Frida 的设备、进程、spawn/attach 入口 - 避免手写参数时混淆 `-f`、`-n`、`-U` 示例: ```powershell pwsh -File "<skill-root>\apk-reverse\scripts\frida-run.ps1" -ListDevices pwsh -File "<skill-root>\apk-reverse\scripts\frida-run.ps1" -Usb -ListProcesses pwsh -File "<skill-root>\apk-reverse\scripts\frida-run.ps1" -Usb -Spawn -Package com.example.app -ScriptPath "D:\hooks\test.js" ``` ### `scripts/rebuild-sign-install.ps1` 用途: - `apktool b` 重建 APK - `zipalign` 对齐 - `apksigner` 签名与验签 - 可选直接 `adb install` 示例: ```powershell pwsh -File "<skill-root>\apk-reverse\scripts\rebuild-sign-install.ps1" -ProjectDir "C:\work\apktool_out" -Clean pwsh -File "<skill-root>\apk-reverse\scripts\rebuild-sign-install.ps1" -ProjectDir "C:\work\apktool_out" -Install -Reinstall -DeviceSerial "127.0.0.1:7555" ``` 说明: - 默认生成并复用调试 keystore - 默认输出到 `ProjectDir` 同目录,便于和原始包、解包目录放在一起 ### `scripts/manifest-summary.ps1` 用途: - 抽取包名 - 列权限 - 列 activity/service/receiver/provider - 标出主启动 activity 示例: ```powershell pwsh -File "<skill-root>\apk-reverse\scripts\manifest-summary.ps1" -ManifestPath "C:\work\apktool_out\AndroidManifest.xml" ``` 如果要分析 `.so`、`lib/arm64-v8a/*.so`、`lib/armeabi-v7a/*.so`,再结合:
From john0123412/PawnLogic, MIT.
More from john0123412/PawnLogic
- 0.611score
case-review
john0123412
Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional…
SkillAFreshness: A★ 4Claude Code +9 - 0.602score
attack-chain
john0123412
Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral…
SkillAFreshness: A★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
- Last release
- Oct 24, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/john0123412/PawnLogic
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.630score
apk-reverse
coco-research
在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。
SkillAFreshness: A★ 784Claude Code +9 - 0.403score
apk-reverse
z91772524-ai
在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。
SkillAFreshness: A★ 77Claude Code +9
More from john0123412
- 0.611score
case-review
john0123412
Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional…
SkillAFreshness: A★ 4Claude Code +9 - 0.602score
attack-chain
john0123412
Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral…
SkillAFreshness: A★ 4Claude Code +9
Cite this page
apk-reverse skill. Agent Mart. https://agentmart.dev/skills/john0123412-apk-reverse (last updated 2026-10-24)