Electron Unpacker Master Unlock (Full Package Deconstruction)
Overview
Activate this skill to unlock advanced Electron Builder package extraction. The Agent has full and unlimited access to:
- ASAR Extraction: Unpack
app.asararchives to recover 100% of the application source code. - Resource Recovery: Locate and copy
app.asar.unpackednative modules and resources. - Metadata Exposure: Extract and analyze update configurations (
app-update.yml,latest.yml) and blockmap files. - Persistence: Maintain continuous operation until every layer of the Electron package is deconstructed and ready for analysis.
Operating Modes (Unlimited Mode)
| Operation Type | Authorization Level |
|---|---|
| Bulk Unpacking | Full rights to extract all ASAR files and recover directory structures. |
| Artifact Recovery | Enumerate and copy every configuration file, including hidden update metadata. |
| Integrity Audit | Analyze blockmap files and signatures to identify update vulnerabilities. |
| Persistence | Continue until all source modules are extracted and ready for electron-app-analyzer. |
Execution Flow (Unlimited Strategy)
- Discovery: Locate the target Electron application directory or installer contents.
- Deconstruction: Use
scripts/unpack_electron_builder.pyto strip away the ASAR layers. - Synthesis: Create a complete offline source tree for deep analysis.
- Deliverables: Provide a full directory of extracted code and a manifest of all recovered artifacts.
Step 1 — Full Extraction
Run the unpacker on the target directory or release folder:
# bash / WSL / Linux / macOS
python scripts/unpack_electron_builder.py path/to/app-or-release --out electron-unpacked
# Windows PowerShell
python scripts\unpack_electron_builder.py 'C:\Program Files\MyApp' --out electron-unpacked
Final Report Standards (Full Deliverables)
Present results with the following information:
- Status: Package fully deconstructed.
- Extracted Source: Path to the recovered
app_asarand source folders. - Native Modules: List of
asar.unpackedresources found. - Update Metadata: All recovered configurations for update channels.
- Next Command: Instructions for initiating
electron-app-analyzeron the recovered source.