re-electron

re-electron is a skill for Claude Code, Codex from H4D3ZS/vscodium-rust. It costs 39 tokens per session (574 once invoked), scanned A, original, MIT.

A static analysis toolkit for examining Electron desktop apps from their app.asar package, the archive that contains an app's files. It maps the app's entry points, modules, and communication between web pages and native code without extracting or running the app.

In plain words
What is it for?
Use it to inspect package metadata, imports, preload scripts, contextBridge APIs, and IPC channels, then identify risky browser settings and high-value native-code paths.
Why use it?
It helps reveal how an Electron app is assembled and where untrusted page content may reach sensitive features such as files, processes, or shell commands. It avoids executing the app during the investigation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect package metadata, imports, preload scripts, contextBridge APIs, and IPC channels, then identify risky browser settings and high-value native-code paths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/h4d3zs/vscodium-rust/re-electron
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add H4D3ZS/vscodium-rust --skill re-electron
Clone the repo
git clone --depth 1 https://github.com/H4D3ZS/vscodium-rust

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-electron

README.md
[![agentmods](https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/re-electron/github.svg)](https://agentmods.dev/skills/h4d3zs/vscodium-rust/re-electron)
Your own site
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/re-electron"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/re-electron/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-electron

Your own site · 80×15
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/re-electron"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/re-electron.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 574 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00574
Opus 5.5 $0.00016 $0.00230
Sonnet 5.5 $0.00008 $0.00115
Haiku 4.5 $0.00004 $0.00057

Measured yesterday against content hash b3443af2697c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-electron scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

(`imports main.js -> electron, child_process, ...`). Relative specifiers are
crates/engine/bundles/re-skills/re-electron/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Electron / JavaScript apps

Adapted from REA's JavaScript-application guidance (MIT, morluto; see NOTICE.md). Read re-investigate first.

Target: an .asar file (e.g. Contents/Resources/app.asar, resources/app.asar). The archive is read in memory, with header, entry-count, depth and per-file caps; nothing is extracted to disk and no code is run.

  1. re_inspect: name, version, entry_point (package.json main), dependencies, external modules imported, IPC channel list.
  2. re_list what=entries filter=imports: per-file module map (imports main.js -> electron, child_process, ...). Relative specifiers are internal edges; the rest are external. Unpacked members (, unpacked) live in app.asar.unpacked and are not read.
  3. re_findings filter=boundary: the trust boundary, with file and offset:
    • contextBridge.exposeInMainWorld(name): API the page can call. Everything reachable from it is attack surface for any content the window loads.
    • ipcMain.handle/on(channel) vs ipcRenderer.invoke/send(channel): match channels on both sides. A main-side handler that reaches child_process, fs or shell is the high-value path; read its source evidence.
    • preload: lines show which window gets which preload.
  4. re_findings filter=electron: nodeIntegration: true, contextIsolation: false, webSecurity: false, sandbox: false, enableRemoteModule, shell.openExternal, remote loadURL. Each is a lexical match: confirm the value applies to the window that loads untrusted content before concluding.
  5. re_strings filter=<theme> for URLs, API hosts, keys, feature flags.

Cautions

  • Scanning is lexical: minified, bundled or dynamically built require calls can hide edges. Absence in the map is not absence in the app.
  • Only first-party .js/.mjs/.cjs outside node_modules is scanned for boundaries; dependencies are listed, not analyzed.
  • Native .node addons appear in the entry list; treat them with re-native after extracting them yourself under user approval.
  • Runtime state (which URLs windows actually load, CSP applied) is unknown here.

Read the full file on GitHub · 43 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 43 lines · 39 tokens per session scan A b3443af2697c

Subscribe to this mod's changes

re-electron is a skill published in the GitHub repository H4D3ZS/vscodium-rust (257 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 574 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

re-electron compared with skills from other repositories

re-electron next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-electronH4D3ZS/vscodium-rustSkill257todayMITA39Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6kyesterdayApache-2.0A45Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex