
Reverse Shield
io.github.GuardBee由 GitHub 账号 GuardBee 发布v0.7.0更新于 Nov 7, 2026
Audits shipped apps for how easily they can be reverse engineered
概览
审计你自己发布的构建产物(Web 包、Electron、APK/IPA、原生二进制)有多容易被逆向,并给出 A–F 评级。
- 可以做什么
- 扫描构建产物或目录(APK、AAB、IPA、.app、Electron/ASAR、JAR、ELF/Mach-O/PE/.NET、JS 包、source map)并给出分级问题清单
- 扫描线上站点自身的脚本,检查随包发布的 source map、开发包、密钥和内部主机
- 读取项目构建配置,以统一 diff 形式给出加固建议,不写入文件
- 列出完整检查目录,说明每项问题泄露了什么以及如何修复
- 与基线对比,使 CI 只对新增暴露失败
- 适用场景
- 适用于你发布客户端应用或二进制、想在发布前了解逆向者能免费获得什么,或在 CI 中拦截新增暴露。它面向你自己的产物,而非第三方应用。
- 运行要求
- 通过 npx 以 Node.js 本地进程运行;无需账号、API 密钥或环境变量。除 scan_url 外均离线运行,scan_url 需要网络访问以抓取目标站点自身脚本。仅支持桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 Reverse Shield,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@guardbee/mcp-reverse-shield
🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文
[npm version] [npm downloads] [License: MIT]
An MCP server that tells you how much your shipped app gives a reverse engineer for free.
Reverse-engineering MCPs now let an agent take an app it has no source for — a web bundle, an Electron app, an APK, an iOS app, a game, a native or .NET binary — and explain how a feature works, down to the binary. This package is the other side of that: point it at your own build artifact and it reports what such a tool (or a person with jadx, ILSpy, Il2CppDumper, Hopper or the browser's devtools) would get without any effort, with the fix for each — and suggest_fixes turns those fixes into a diff against your build config.
Telemetry is off by default. With
GUARDBEE_TELEMETRY=1it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields likecontent,tokenorpasswordare replaced with a placeholder. See@guardbee/mcp-telemetry.
Everything runs locally and offline (except scan_url), with its own parsers for ASAR, the Electron fuse wire, binary AndroidManifest (AXML), DEX, ELF, Mach-O (including universal binaries and code signatures) and PE/.NET metadata — no apktool, jadx or binutils needed.
What it flags
list_checks returns the full catalog with fixes. Every result carries an A–F grade: F when anything critical (or several high findings) is exposed, A when nothing is.
How the trickier checks decide
- R8/ProGuard: reads class descriptors from every
classes*.dexand looks at classes under your application id (and under the packages of components your manifest names, for.debug-style ids). Dozens of descriptive class names with almost no one- or two-letter names means R8 did not run. - .NET obfuscation: reads the metadata
#Stringsheap. Known obfuscator markers (ConfuserEx, Dotfuscator, SmartAssembly, …) pass immediately; otherwise an assembly passes when at least 10% of its identifiers are one- or two-letter names, bare numbers or non-ASCII junk. Checked against an Obfuscar build (21%, passes) and 400 unobfuscated NuGet assemblies (383 flagged; the other 17 are resource-only assemblies with too few names to judge). - Private keys: only reported when base64 key material follows the PEM header — crypto libraries bundled into apps carry the header as a string constant.
- Credentials outside JavaScript: Android dex strings, the
resources.arsc/resources.pbstring pool (wherestrings.xmland google-services values end up),assets/andres/raw/; iOS plists (GoogleService-Info.plist) and the executable; JSON/plist/.env/properties/YAML files in an ASAR, a JAR (Spring Bootapplication.properties) or a build folder; Hermes bytecode,.solibraries and native/.NET binaries by their printable strings. Only fixed-format keys are matched there, as in bundles. A Google/Firebase API key in an Android or iOS package is reported as medium: those ship by design and must be restricted to the app's package name or bundle id. - Repeats: one key in 30 chunks is one finding (“also in 29 other files”), and long lists of unminified files collapse into one.
- iOS Debug builds: Xcode 16 puts a Debug build's code in
<App>.debug.dylibnext to__preview.dylib; either one in a bundle means the Debug configuration was shipped. - Unity: IL2CPP's
global-metadata.datis flagged only when its standard header is intact (protected builds encrypt it); a MonoAssembly-CSharp.dllgoes through the .NET name check. - PyInstaller: the CArchive cookie is searched across the whole file (on macOS the archive sits in its own section before the code signature); PyArmor and Nuitka builds are noted, not flagged.
- Flutter: reads the identifiers in the AOT snapshot (
libapp.so,App.framework/App).--obfuscaterenames everything the program defines to two- or three-letter names while the Dart VM's own names stay, so a snapshot passes when at least 10% of its identifiers are that short. Checked against one program built both ways with the Dart SDK'sgen_snapshot: 1% without the flag, 31% (unstripped) and 37% (stripped) with it. Fewer than 200 identifiers is a note, not a verdict. - WebAssembly: custom sections only —
.debug_*(DWARF),name(function names) andsourceMappingURL; the code itself is not judged. - Live URLs: only the site's own scripts are read. Platform-served code (HubSpot
/hs/hsstatic/, WordPress/wp-includes/) and open-source libraries (jQuery, Bootstrap, polyfills, vendor bundles) are skipped, and a reachable map whose sources are all dependencies is not reported. Internal hosts count only when they point into the site (private IPs,.internal/.corp/.lan, its own staging hosts); thelocalhostURLs frameworks ship are ignored. A Google browser key is reported as medium (restrict it to the site's referrers), and a Supabaseanonkey is not reported, since the browser is meant to hold it (aservice_rolekey still is). - React Native with Hermes: reads the bytecode's string table and function headers. Metro's minifier renames functions to one- or two-letter names; without it hermes-dec and hbctool print the source's names back. A bundle passes when at least 15% of its named functions have names that short. Checked against one bundle (lodash + zod + app code) compiled with hermesc
-Oboth ways: 1% unminified, 57% minified. Function names are read only for bytecode version 98 (hermes-compiler on npm), the layout that was checked; other versions, and bundles with fewer than 50 named functions, are a note, not a verdict.
Quick start
Then ask your agent: “How easy is it to reverse engineer ./release/MyApp.app? Fix what you can in the build config.”
Tools
Directories are walked including dist/, build/ and out/ (that is the point); node_modules, VCS and cache folders are skipped, and a macOS .app or Electron folder found inside is scanned as one unit — its fuses, its ASAR and its own executable, not the bundled third-party frameworks.
guardbee.yml:
CI and baselines
Record what the current release exposes, then let CI fail only on what a change adds:
Findings are matched by check and location, with bundler content hashes (index-BvL4J5f8.js, 7321-dd7cb90a7de65945.js) normalised, so a rebuild does not make old findings look new. SARIF results carry baselineState (new / unchanged).
The repository ships a composite action that scans, uploads SARIF, writes a job summary and exposes grade / new-findings outputs:
Library use
@guardbee/mcp-reverse-shield/scan exports the scanners (scanUrl, scanPath, analyzeJavaScript, …) without the MCP server, for tools that embed reverse-shield:
Limits
- Obfuscation is judged from names, not control flow: a build that only renames passes, and string encryption or control-flow flattening is not measured.
- Web checks look at what is shipped; they cannot tell whether a key is meant to be public (some, like Firebase web keys, are restricted server-side). Rotate or restrict it, then accept it with an
ignoreentry (bundle_secret:firebase-config.js). - Strings are read from dex and resource tables by their structure, from other binaries as printable runs; a key split across string constants, encrypted or assembled at runtime is not found (that is the point of doing so, but it only slows a reverse engineer down).
- Native hardening checks (PIE/NX/RELRO/canary) are exploit-mitigation signals rather than reverse-engineering ones; they are reported low/medium for that reason.
- App Store IPAs are FairPlay-encrypted on distribution; the scanner reads the IPA you export (development, ad hoc or App Store export before Apple encrypts it), which is what a jailbroken device would also yield.
suggest_fixesedits the common shapes of each config; unusual layouts (computed webpack configs, Gradle convention plugins) get no diff, and Forge and Flutter get instructions rather than a patch. Always review before applying.
License
MIT
来源:packages/reverse-shield/README.md,提交 952a0bf
工具
0版本历史
7- v0.7.0最新Nov 7, 2026
- v0.6.1Nov 3, 2026
- v0.6.0Nov 3, 2026
- v0.5.0Nov 1, 2026
- v0.4.0Oct 31, 2026
- v0.3.1Oct 30, 2026
- v0.2.0Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分