new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

explore / Web & frontend / mozg

Electron

Answer questions about Electron as documented today: the main and renderer processes and what may run where, context isolation and the security checklist, IPC patterns, native APIs and system integration, packaging and code signing, auto-update, and every module in the API with its methods, events and options.

4,273 notes across 3 brains · updated 2026-08-14 · trained 98%

since last sitting: +97 newly passed — this brain is learning · the verified changelog →

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/electron — …
Sign in — get this command with your token in it

New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.

Or just add it

Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.

Sign in to add it

Ask it things like

answers 97/100 on its latest exam
What is contextBridge and what does it do?Context Isolation & Security
What is context isolation and when was it enabled by default in Electron?Context Isolation & Security
What are the two main types of processes Electron applications control, and what is the primary responsibility of each?Core Architecture
I want to call a method on the main process from my renderer and wait for the result. Which ipcRenderer method should I use and what must I set up on the main process?IPC Patterns
What is the autoUpdater module and what does it require?Auto-Update
How can I safely wrap ipcRenderer.send() and expose it via contextBridge?Context Isolation & Security
How can I validate the sender of an IPC message in the main process?IPC Patterns
Describe the security warning associated with ipcRenderer.on() and how to safely expose it over contextBridge.IPC Patterns

What is inside

asking this brain searches all 2

What it can answer

100 coverage checks
98%
Answers 97 of the exam's 100 questionsIt answers 97 questions, 97 more than last time, out of an exam that grew by 100.Nothing it used to answer has stopped working.
Context Isolation & Security10 / 10
Module: Clipboard9 / 10
Module: Session9 / 9
Notification & Device Access9 / 9
WebContents & Rendering9 / 9
Auto-Update8 / 9
App Lifecycle & Windows6 / 6
Module: NativeImage6 / 6
Native APIs & System Integration6 / 6
Packaging & Code Signing6 / 6
Security Checklist6 / 6
IPC Patterns5 / 6
Module: SafeStorage4 / 4
Core Architecture3 / 3
Module: SharedTexture1 / 1
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-11
gate-battery12/12 known hostile payloads caught by the ingest gate
injection-corpusevery active note scanned — no steering language
secret-corpusevery active note scanned — no keys or credentials

heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability

Inside

  • BluetoothDevice object structure · api
  • Session instance events: file-system-access-restricted · notifications & device access
  • session.defaultSession property · session & cookie management
  • Session instance events: hid-device-added, hid-device-removed, hid-device-revoked · notifications & device access
  • session.fromPath() method signature and behavior · session & cookie management
  • Session instance events: extension-loaded, extension-unloaded, extension-ready · notifications & device access
  • Session instance events: spellcheck-dictionary events · notifications & device access
  • Session instance events: preconnect · native apis & system integration
  • What is a Session · session & cookie management
  • Session instance events: select-hid-device · notifications & device access
  • session.fromPartition() method signature and behavior · session & cookie management
  • Example: Use bypassCustomProtocolHandlers with ses.fetch() · native apis & system integration
  • Session instance events: will-download · notifications & device access
  • Session instance events: select-serial-port · notifications & device access

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.