Skip to content

Platform

Domain: platform

Platform and package analysis domain covering miniapps, ASAR archives, and Electron apps.

Profiles

  • full

Typical scenarios

  • Inspect miniapp packages
  • Analyze Electron application structure

Common combinations

  • platform + process
  • platform + core

Full tool list (18)

ToolDescription
platform_capabilitiesReport platform tool backend availability.
miniapp_pkg_scanScan local directories for miniapp package files.
miniapp_pkg_unpackUnpack a miniapp package.
miniapp_pkg_analyzeAnalyze an unpacked miniapp package.
asar_extractExtract and list files from an Electron ASAR package.
electron_inspect_appAnalyze Electron app structure: main/renderer entry, preload, IPC.
electron_scan_userdataScan a directory for Electron JSON userdata files.
asar_searchGrep text patterns inside ASAR archive contents without extraction.
electron_check_fusesRead Electron fuse states.
electron_patch_fusesPatch Electron fuse states.
v8_bytecode_decompileDecompile or extract strings from V8 bytecode files.
electron_launch_debugLaunch Electron with main and renderer CDP ports.
electron_debug_statusCheck status of dual-CDP debug sessions launched by electron_launch_debug.
electron_ipc_sniffMonitor Electron IPC messages.
electron_verify_integrityVerify Electron ASAR integrity: parse the ElectronAsarIntegrity JSON embedded in the main binary, locate each referenced ASAR, and compare the on-disk SHA256/SHA512 hash against the embedded hash. A mismatch means the ASAR was tampered with after build.
asar_deobfuscateScan every .js file inside an ASAR archive for obfuscation indicators (string-array arrays, webpack bundles, control-flow flattening, dynamic code, minification) and classify each file. Flagged files are optionally extracted to a directory for downstream deobfuscation.
asar_repackPack a directory tree into an Electron ASAR archive (inverse of asar_extract). Walks the input directory and writes a valid .asar (4xUInt32LE pickle prefix + JSON header + data segment) that parseAsarBuffer and Electron accept. Closes the unpack → patch → repack → retest loop without leaving jshookmcp.
electron_verify_signatureInspect a packaged Electron binary's own code signature (PE Authenticode on Windows, Mach-O embedded code signature on macOS). Pure-TS structural parse: locates the WIN_CERTIFICATE / SuperBlob, decodes the PKCS#7 SignedData, and surfaces the cert chain, signer, digest algorithm, and (macOS) the CodeDirectory ident + best-effort cdhash. No codesign/signtool dependency (runs in any CI). Cryptographic signature validity and timestamp counter-signatures are out of scope (verified:false).

Released under AGPL-3.0-only