REI Electron and JavaScript
When to Use
- Investigate Electron/ASAR, Node.js, browser JavaScript bundles, preload APIs, IPC routes, source maps and client-side workflows for authorized application analysis and feature reconstruction. Trigger for Electron desktop installers, packed app.asar, minified JavaScript, browser app call graphs or IPC-based features.
- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.
Entry contract
Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.
Available tooling
Prefer textual inventory and rg, asar, source-map viewers, JS parser and officially registered upstream REA JavaScript analyzer. Record exact module paths, import edges and IPC channel names.
Procedure
- Inventory package.json, ASAR manifest and code origins; identify Electron main, renderer and preload.
- Locate the UI action by labels/listeners and follow IPC to backend handlers.
- Identify file writes, network requests and data serialization by direct code evidence.
- Rebuild the smallest interoperable feature behind an adapter.
- Verify with authorized sample traces and a version-locked fixture.
Evidence and limits
Do not infer runtime results from string matches; executing app packages or connecting live accounts requires separate authorization.
For every conclusion record: target hash, source address/offset/file line, method and version, status (observed/inferred/unknown), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.
See workflow checkpoints for outputs and acceptance criteria.
🏰 Rei Skills — Curated by Rootcastle Engineering & Innovation | Batuhan Ayrıbaş
Engineering Beyond Boundaries | admin@rootcastle.com
1---2name: rei-electron-and-js3description: "Investigate authorized Electron ASAR archives, preload scripts, IPC routes, and bundled JavaScript applications."4risk: safe5source: rootcastle-rei6category: reverse-engineering7metadata:8 source: https://skillmd.com/skills/rootcastleco/rei-electron-and-js9 tags: "reverse-engineering, electron, asar, javascript, ipc, nodejs, rei-rea"10 upstream_repo: "https://github.com/rootcastleco/Rei-Reverse-engineer"11 curated_by: "rootcastle-rei"12---1314# REI Electron and JavaScript1516## When to Use1718- Investigate Electron/ASAR, Node.js, browser JavaScript bundles, preload APIs, IPC routes, source maps and client-side workflows for authorized application analysis and feature reconstruction. Trigger for Electron desktop installers, packed app.asar, minified JavaScript, browser app call graphs or IPC-based features.19- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.202122## Entry contract2324Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.2526## Available tooling2728Prefer textual inventory and `rg`, `asar`, source-map viewers, JS parser and officially registered upstream REA JavaScript analyzer. Record exact module paths, import edges and IPC channel names.2930## Procedure31321. Inventory package.json, ASAR manifest and code origins; identify Electron main, renderer and preload.332. Locate the UI action by labels/listeners and follow IPC to backend handlers.343. Identify file writes, network requests and data serialization by direct code evidence.354. Rebuild the smallest interoperable feature behind an adapter.365. Verify with authorized sample traces and a version-locked fixture.3738## Evidence and limits3940Do not infer runtime results from string matches; executing app packages or connecting live accounts requires separate authorization.4142For every conclusion record: target hash, source address/offset/file line, method and version, status (`observed`/`inferred`/`unknown`), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.4344See [workflow checkpoints](references/workflow.md) for outputs and acceptance criteria.4546---4748> 🏰 **Rei Skills** — Curated by [Rootcastle Engineering & Innovation](https://www.rootcastle.com) | Batuhan Ayrıbaş 49> Engineering Beyond Boundaries | admin@rootcastle.com