{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "morluto-rea--analyze-electron-app-directory",
 "repo": "morluto/rea",
 "repo_url": "https://github.com/morluto/rea",
 "repo_slug": "morluto-rea",
 "title": "List modules and IPC in an Electron app",
 "page_title": "How to list modules and IPC in an Electron app with Rea",
 "summary": "Run one terminal command on an extracted Electron app to get its modules, imports and IPC boundaries.",
 "who": "Developer vetting or learning from an Electron desktop app installed on their machine",
 "problem": "You want to know what a desktop app's code talks to before you trust it, but it ships as a packed bundle.",
 "outcome": "A JSON report of modules, imports and Electron boundaries with evidence, which your agent can explain.",
 "steps": [
  "Install Node.js and npm, and find the extracted app directory or ASAR file on disk.",
  "Run `npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json`, replacing the path with your target.",
  "Read the report for modules, imports and Electron boundaries.",
  "Give the JSON to your agent and ask it to explain the part you care about."
 ],
 "agent_prompt": "Run `npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json` on <path to extracted Electron app>, then explain the main modules, imports and IPC boundaries. Verify each finding cites evidence from the report.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "This static analysis reads the files without running the app, so behavior that only appears at runtime will not show up. On Linux it needs a procps-compatible ps on PATH.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 22.x (>=22.19), 24.x (>=24.11), or 26+, plus npm",
  "An agent that supports local MCP servers, such as Claude Code, Codex, Cursor or Gemini CLI",
  "For native binaries: Hopper, Ghidra or IDA",
  "For websites: a Chrome-family browser",
  "On Linux: a procps-compatible ps on PATH for JavaScript and Electron analysis"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "reverse-engineering",
   "notice": "Inspecting a packed app is reverse engineering; check that the app's license allows it before you share or reuse anything you find."
  }
 ],
 "best": false,
 "score": 0.85,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/morluto-rea/analyze-electron-app-directory/",
 "md": "https://dedupedai.com/use-cases/morluto-rea/analyze-electron-app-directory/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/morluto-rea--analyze-electron-app-directory.json",
 "api_version": "v1"
}
