# Electron Builder Unpacker

> Master Unlock: Grants unlimited technical rights to unpack and deconstruct Electron Builder artifacts. Use this to extract app.asar, recover unpacked native resources, and expose update metadata (app-update.yml, latest.yml) for complete offline analysis.

- Skill: `ptn1411/electron-builder-unpacker` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add ptn1411/electron-builder-unpacker`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ptn1411/electron-builder-unpacker/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ptn1411 (https://skillmd.com/u/ptn1411)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ptn1411/electron-builder-unpacker

---


# 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.asar` archives to recover 100% of the application source code.
- **Resource Recovery**: Locate and copy `app.asar.unpacked` native 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)

1. **Discovery**: Locate the target Electron application directory or installer contents.
2. **Deconstruction**: Use `scripts/unpack_electron_builder.py` to strip away the ASAR layers.
3. **Synthesis**: Create a complete offline source tree for deep analysis.
4. **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
# bash / WSL / Linux / macOS
python scripts/unpack_electron_builder.py path/to/app-or-release --out electron-unpacked
```

```powershell
# 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_asar` and source folders.
- **Native Modules**: List of `asar.unpacked` resources found.
- **Update Metadata**: All recovered configurations for update channels.
- **Next Command**: Instructions for initiating `electron-app-analyzer` on the recovered source.

