すべてのプラグイン

apk-reverse-skill

dsh-skill-apk-reverse · バージョン 0.8.0 · 2026/11/29 更新

エージェントが Android APK を展開して内容を把握し、パッチを適用して結果を検証するためのリバースエンジニアリング用スキル集です。root、ADB、Shizuku などの権限が必要です。自分が所有するアプリや、調査の許可を得たアプリの研究に限ります。

  • バージョンごとに審査
  • スキル
  • MIT
  • 0回ダウンロード

説明

以下はプラグイン作者による原文です。

[!WARNING] 风险提示 / Risk notice

本技能仅用于你本人拥有或已获明确授权的应用安全研究。部分功能需要 root / ADB / Shizuku 等高风险权限,可能导致设备不稳定、数据丢失、保修失效或被目标应用检测;请先备份,勿在主力机/生产环境使用。 第三方工具由各自作者提供,请自行确认来源与许可证。自有应用/自建服务器的校验测试可在你的授权范围内进行;本技能不随包提供针对第三方/未授权应用的成品绕过,也不分发改装包。

For authorized security research only. Some features need high-risk permissions such as root / ADB / Shizuku; back up first and do not use on a primary device. Third-party tools are provided by their authors; verify source and license yourself. No piracy, paywall bypass, server-check bypass, or modified-APK distribution.

Install in DSH Go / DeepSeek Harness

WayAction
DSH Go App marketplace (recommended; index data from awesome-dsh-plugin)App → Plugins → search apk-reverse → install; restart the core
npm (one-click)sole plugin --profile web add dsh-skill-apk-reverse — package: dsh-skill-apk-reverse
dshfind directorySearch apk-reverse-skill (author xiaotianya14) — dshfind page
Plugin commandsole plugin --profile web add github:xiaotianya14/apk-reverse-skill
ManualDownload the release zip, unzip, sole plugin --profile web add <dir>
  • Skill name: apk-reverse. Trigger it by asking to reverse/decode an APK, analyze third-party ad components, or inspect entitlement logic.
  • On a phone you do not need adb: DSH Go ships phone-control tools (screen, tap, type, open, key, handoff) for on-device verification.
  • Desktop (Linux/WSL) works with the same commands and toolchain.
  • Manual package needs unzipping: sole plugin add accepts a local directory, an npm package, or github:owner/repo — not a zip. Unzip the release package first, then run sole plugin --profile web add <unzipped-dir>. Marketplace and plugin-command installs need no unzip.

Toolchain: download on demand

This skill does not bundle third-party binaries. On first use the agent runs:

python3 scripts/tool_manager.py plan --task decode
python3 scripts/tool_manager.py install --task decode          # auto-install minimal set

It shows what is missing, size, license, and the third_party / self choice. Per-tool install: bash scripts/install_tools.sh --only jadx; group-only tools stay guarded by --allow-group. Default: thirdparty — mature third-party tools are enabled first because our self-developed tools are not finished yet. In thirdparty mode, unfinished self-developed wrappers are not used; switch with mode self / mode hybrid. Default set: minimal, and no silent download.

Versioning & release cadence

This project is in the 0.x fast-iteration stage. APIs and scripts may change.

  • Pin a Release tag for production; do not blindly follow main.
  • SemVer: patch for fixes (0.8.1), minor for new features (0.9.0), major for breaking changes (1.0.0).
  • Regular releases are batched every 1–2 weeks or when there is a substantial change; small fixes stay as commits until then.
  • Security-critical fixes may ship as an immediate patch.
  • -beta.N tags are pre-releases for testing, not the stable latest.

中文说明(安装到 DSH Go)

方式操作
DSH Go App 插件市场(推荐;目录数据来自 awesome-dsh-plugin)App → 插件市场 → 搜 apk-reverse → 安装;重启内核生效
插件命令sole plugin --profile web add github:xiaotianya14/apk-reverse-skill
手动包下载 Release 的 zip → 解压 → sole plugin --profile web add <目录>
  • 技能名:apk-reverse;装好后在对话里说「逆向这个 APK / 分析广告组件 / 看付费逻辑」即可触发。
  • 手机端不需要 adb:DSH Go 自带手机操控工具(screen/tap/type/open/key/handoff)可做真机验证。
  • 电脑端(Linux/WSL)同样可装,命令与工具链一致。
  • 手动包要解压:sole plugin add 只接受「本地目录 / npm 包名 / github:owner/repo」,不收 zip;所以离线包要先解压成文件夹,再 sole plugin --profile web add <那个文件夹>。商城安装与插件命令都不用解压。
  • 收录情况:App 插件市场的目录数据来自 awesome-dsh-plugin。

About

If you are an AI agent, open SKILL.md and follow its routing, consent and patch rules before touching any target.

A practical Android APK reverse-engineering skill for phone-based work. It turns “I have an APK” into a repeatable loop instead of guessed commands:

APK
  → toolcheck / install_tools        (is the toolchain ready?)
  → decode + manifest_summary        (unpack, decompile, map components)
  → scan_premium / find_api_calls    (find the logic and the ads)
  → patch smali / manifest / .so     (make the smallest change)
  → build_sign                       (repack, align, sign)
  → device verify                    (install, launch, check behaviour)
  → field-journal                    (write down cause → fix)

Why this exists

  • APK tasks need a different playbook from generic coding tasks
  • jadx / apktool / Frida / IDA are easy to install but easy to misuse
  • Phone-only workflows (proot Ubuntu on ARM64) have their own pitfalls
  • The same “why did it crash after repacking?” problems get solved twice

At a glance

VersionScriptsReference docsCILicense
v0.8.032 tool + 9 release/check + 12 Frida30GitHub Actions + ShellCheckMIT (code) / assets reserved

32 = user-facing tool scripts; the repository has 41 top-level scripts including 9 release/check helpers. 12 = Frida JS files.

Capabilities

AreaWhat it does
Decompilationjadx sources, apktool resources/smali, smali3, CFR
Components & adsSDK signatures, manifest / layout / resource inspection
Logic analysispaid & entitlement checks, numeric logic, storage (SharedPreferences / SQLite)
Patchingsmali patches, static fields, native .so instruction patches
Protectionpackers, signature checks, integrity checks
Dynamic & networkFrida, objection, mitmproxy, certificate-pinning adaptation
Deliveryrepack, align, sign, install and verify on device

Quick start

SK=/path/to/apk-reverse

bash $SK/scripts/toolcheck.sh                 # tool check
bash $SK/scripts/install_tools.sh             # install missing tools

bash $SK/scripts/decode.sh app.apk --out ./work   # decode
python3 $SK/scripts/manifest_summary.py ./work    # manifest summary
python3 $SK/scripts/scan_premium.py ./work        # paid/entitlement candidates
python3 $SK/scripts/find_api_calls.py ./work      # API and credential hints
bash $SK/scripts/build_sign.sh ./work out.apk     # repack + sign

Tool downloads are verified against scripts/download-sha256.txt (SHA256); a mismatch aborts the install, and an unpinned version prints its hash with a warning.

Usage

  • For any modification request (remove ads, unlock benefits, change a feature/limit), the skill first runs a read-only feasibility preflight and writes a one-page report answering ads? benefits? can it meet the request? before patching. No preflight report, no patch.
  • The workflow rules and patch patterns live in SKILL.md; reference docs under references/ explain each step in depth.
  • Everything runs in proot Ubuntu on ARM64; a regular Linux machine works too.
  • Build a release: bash scripts/make_release.sh --name apk-reverse --public → zip(+ 本地 .sha256,发布附件只传 SHA256SUMS), then the extracted copy is re-checked.
  • Verify a release: bash scripts/verify_release.sh <zip> (reads .sha256 or SHA256SUMS).
  • Publish to GitHub: bash scripts/publish_github.sh --tag v<version> --release; the token comes from $GITHUB_TOKEN or ~/.config/dsh-go/github-token and never enters the repo.

Repository layout

apk-reverse/
├── SKILL.md          # routing / workflow / patch patterns / rules
├── references/       # topic docs
├── scripts/          # executable tools
├── field-journal/    # reusable problem → cause → fix notes
├── assets/           # banner, icon and social preview images
├── AGENTS.md         # agent activation and consent boundaries
├── SECURITY.md       # trust model and reporting
├── CONTRIBUTING.md
├── CHANGELOG.md
├── VERSION
└── LICENSE           # MIT

Documentation

Release integrity

Every release ships a SHA256SUMS file; recipients verify with:

sha256sum -c SHA256SUMS
# or
bash scripts/verify_release.sh apk-reverse.zip SHA256SUMS

Contact

Contributing

Contributions are welcome — issues, better patch patterns, new reference docs, field-journal notes.

  1. Fork the repository
  2. git checkout -b feature/your-idea
  3. Commit your change (git commit -m 'Add your idea')
  4. git push origin feature/your-idea
  5. Open a pull request

Please keep changes inside the consent and authorization boundaries described in AGENTS.md and SECURITY.md.

Contributors

Contributors — PRs welcome.

Built with

Acknowledgments

Thanks to the open-source tool authors behind jadx, apktool, Frida, radare2, Ghidra and every tool this skill relies on. This project is a workflow layer on top of their work.

License & usage scope

Code & docs: original content in scripts/, docs/, SKILL.md and references/ is MIT-licensed (see LICENSE). Copies and redistributions must retain the copyright and license notice.

Visual assets are NOT licensed: avatars, banners, icon, social image and badge styles in assets/ remain © xiaotianya14, all rights reserved — no commercial use, no redistribution, no relicensing. Do not extract them separately when referencing this repository.

Private materials: game-mod notes, working records and internal materials are not published and not licensed.

Third-party notices: third-party tools, SDKs, trademarks and method references are listed in THIRD-PARTY-NOTICES.md; each remains under its own license.

Third-party tools: jadx, apktool, Frida and other tools, SDKs and trademarks remain under their own terms. This project does not license them on behalf of their owners and does not bundle them. Method inspiration from upstream projects is credited in NOTICE.

Usage & disclaimer: for learning/research on applications you own or are authorized to test only. You are responsible for data loss, device damage and legal risk. Do not use it against other people's devices, unauthorized apps, or in violation of platform terms. No warranty; the authors accept no liability.

Rights contact: if you believe this project infringes your rights, please open a GitHub Issue or email xiaotianya14@gmail.com; we will remove or adjust the relevant content after verification.

バージョン履歴

  • 0.8.02026/11/29 · 537 KB
apk-reverse-skill · SoleAPI Agent プラグイン | SoleAPI