Reverse Shield

io.github.GuardBee由 GitHub 帳號 GuardBee 發布v0.7.0更新於 Nov 7, 2026

Audits shipped apps for how easily they can be reverse engineered

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

稽核你自己發布的建置產物(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 需要網路存取以抓取目標網站自身的腳本。僅支援桌面端。
安裝前請注意
遙測預設關閉;設定 GUARDBEE_TELEMETRY=1 會把伺服器、工具、成功狀態、耗時與檔案路徑等短參數值傳送給第三方。報告可能包含產物中的憑證,應視為敏感資料。suggest_fixes 只回傳 diff、不寫入檔案,但套用修補前請先審閱。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Reverse Shield,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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=1 it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields like content, token or password are replaced with a placeholder. See @guardbee/mcp-telemetry.

Claude ──► reverse-shield ──► your build artifact / live site              │              ├─ web       source maps (shipped, inline, publicly reachable), unminified / dev bundles, keys, internal hosts, WebAssembly debug info and names              ├─ electron  fuses (RunAsNode, --inspect, NODE_OPTIONS, ASAR integrity), unpacked app code, code inside app.asar              ├─ android   APK and AAB: debuggable, R8/ProGuard missing, signing scheme, backup, plain React Native bundle, unstripped .so              ├─ ios       IPA and .app: Debug-configuration builds, development profiles, plain React Native bundle, .dSYM in the bundle, the executable              ├─ engines   Unity (IL2CPP metadata, Mono assemblies), PyInstaller, Java/Spring Boot JARs, Flutter (Dart obfuscation)              ├─ native    debug info, symbols, get-task-allow, hardened runtime, signing, PIE/NX/RELRO/canary (ELF, Mach-O, PE)              ├─ secrets   keys in everything above: dex, resources.arsc, plists, config files, Hermes bytecode, .so and executables              └─ .NET      obfuscation missing, embedded PDB, leaked build paths

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

CheckSeverityTargetWhat it gives away
sourcemap_embeds_sourcecriticalwebFull original source via sourcesContent
sourcemap_shipped / sourcemap_inline / sourcemap_publicly_reachablehighwebOriginal file paths and structure
eval_devtool_bundlehighwebDev bundle with each module's path
bundle_secretper key typeallA working credential in client code, an app package or a binary
wasm_debug_infohighwebWebAssembly with DWARF: source files, lines, types
unminified_bundle / dev_build_framework / wasm_name_sectionmediumwebReadable code / framework dev runtime / named WebAssembly functions
sourcemap_reference / internal_endpointlowwebWhere the map lives / localhost, private IPs, staging hosts
electron_fuse_run_as_node / electron_fuse_inspect_argshighelectronNode runtime or debugger inside the signed app
electron_app_unpackedhighelectronApp code as an editable folder
electron_fuse_node_options / _asar_integrity_off / _load_outside_asarmediumelectronCode injection and ASAR tampering
apk_debuggablecriticalandroidDebugger attach and run-as into app data
apk_no_obfuscation / apk_js_bundle_plaintext / apk_unsignedhighandroidjadx output with real names / readable RN bundle / no tamper evidence
apk_allow_backup / apk_v1_only_signaturemediumandroidData pulled via backup / Janus-style repackaging
native_debug_info / native_debuggable_entitlementhighnativeSource-level debug data / lldb attach
native_symbols_not_stripped / native_no_hardened_runtime / native_injection_entitlement / native_unsignedmediumnativeNamed functions / dylib injection / patched copies run
native_no_pie / native_no_nxmediumnativeExploit-friendly fixed addresses / executable stack
native_no_relro / native_no_stack_canary / native_adhoc_signed / native_build_path_leaklownativeHardening gaps and build-host details
ios_debug_build / ios_js_bundle_plaintext / ios_dsym_shippedhighiosUnoptimised code with full symbols and preview stubs / readable RN bundle / full DWARF symbols in the bundle
ios_development_profilemediumiosDebugger attach on registered devices
unity_il2cpp_metadata / unity_mono_assemblieshighenginesEvery class, method and string of the game / C# scripts via dnSpy
flutter_not_obfuscatedhighenginesDart class and method names for blutter / reFlutter
hermes_names_not_minifiedmediumenginesReact Native function names in Hermes bytecode for hermes-dec / hbctool
python_pyinstaller_bundle / java_not_obfuscatedhighenginesDecompilable .pyc files / Java classes with original names
dotnet_not_obfuscated / dotnet_embedded_pdbhigh.NETILSpy/dnSpy output close to the original source

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*.dex and 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 #Strings heap. 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.pb string pool (where strings.xml and google-services values end up), assets/ and res/raw/; iOS plists (GoogleService-Info.plist) and the executable; JSON/plist/.env/properties/YAML files in an ASAR, a JAR (Spring Boot application.properties) or a build folder; Hermes bytecode, .so libraries 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.dylib next to __preview.dylib; either one in a bundle means the Debug configuration was shipped.
  • Unity: IL2CPP's global-metadata.dat is flagged only when its standard header is intact (protected builds encrypt it); a Mono Assembly-CSharp.dll goes 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). --obfuscate renames 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's gen_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) and sourceMappingURL; 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); the localhost URLs frameworks ship are ignored. A Google browser key is reported as medium (restrict it to the site's referrers), and a Supabase anon key is not reported, since the browser is meant to hold it (a service_role key 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 -O both 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

json
{  "mcpServers": {    "guardbee-reverse-shield": {      "command": "npx",      "args": ["-y", "@guardbee/mcp-reverse-shield"]    }  }}

Then ask your agent: “How easy is it to reverse engineer ./release/MyApp.app? Fix what you can in the build config.”

bash
npx @guardbee/mcp-reverse-shield scan ./dist --fail-on=highnpx @guardbee/mcp-reverse-shield scan ./app/build/outputs/apk/release/app-release.apknpx @guardbee/mcp-reverse-shield scan "/Applications/My App.app" --format=jsonnpx @guardbee/mcp-reverse-shield scan https://app.example.com --format=sarif > reverse-shield.sarifnpx @guardbee/mcp-reverse-shield scan ./build/MyApp.ipanpx @guardbee/mcp-reverse-shield suggest . --format=patch | git apply   # review first: suggest . prints the same as text

Tools

ToolPurpose
scan_artifactScan a file or directory: APK, AAB, IPA, iOS or macOS .app, Electron folder, app.asar, JAR, ELF/Mach-O/PE/.NET binary, JS bundle, source map, or a build output folder (Unity and Python builds included). Optional ignore and baseline
suggest_fixesRead the project's build config (Vite, webpack, Next.js, Angular, CRA, Android Gradle and manifest, React Native, electron-builder / Forge, .NET project files, Flutter) and return the changes as unified diffs. Never writes files
scan_urlFetch a live page, check its same-site bundles, follow sourceMappingURL and probe <bundle>.map (third-party scripts are not fetched)
list_checksThe check catalog with what each finding gives away and how to fix it

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:

yaml
reverse-shield:  fail-on: high  max-files: 5000  baseline: .reverse-shield-baseline.json  exclude:    - "vendor/"  ignore:                       # accepted exposures: a rule id, or rule:path-substring    - bundle_secret:firebase-config.js

CI and baselines

Record what the current release exposes, then let CI fail only on what a change adds:

bash
npx @guardbee/mcp-reverse-shield scan ./dist --update-baseline          # writes .reverse-shield-baseline.jsonnpx @guardbee/mcp-reverse-shield scan ./dist --baseline=.reverse-shield-baseline.json --fail-on=high# Compared to baseline (grade C → D): 1 new, 2 fixed, 4 unchanged

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:

yaml
- uses: GuardBee/guardbee-mcp/.github/actions/reverse-shield@main  with:    target: dist    fail-on: high    baseline: .reverse-shield-baseline.json

Library use

@guardbee/mcp-reverse-shield/scan exports the scanners (scanUrl, scanPath, analyzeJavaScript, …) without the MCP server, for tools that embed reverse-shield:

ts
import { scanUrl } from "@guardbee/mcp-reverse-shield/scan";
const result = await scanUrl("https://example.com/", { maxScripts: 15, timeoutMs: 8_000 });console.log(result.grade, result.findings);

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 ignore entry (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_fixes edits 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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

7
  1. v0.7.0最新Nov 7, 2026
  2. v0.6.1Nov 3, 2026
  3. v0.6.0Nov 3, 2026
  4. v0.5.0Nov 1, 2026
  5. v0.4.0Oct 31, 2026
  6. v0.3.1Oct 30, 2026
  7. v0.2.0Oct 29, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分