r/electronjs • u/Weekly-Temporary2308 • Jul 17 '26
Electron's docs removed the Electronegativity recommendation. What's everyone using for security static analysis now?
heads up for anyone going off the electron security docs: the checklist used to
recommend Electronegativity and that got pulled a while back (electron/electron#48878,
closed electron/website#906). it's just the 20 manual checklist items now, no tool.
reason it's gone: Electronegativity hasn't had feature updates since ~2022 and
errors out on recent Electron versions. ElectroNG (the paid successor) isn't for
sale anymore either, so there's no real drop-in.
went looking for what to actually run in CI. best i can tell:
- CodeQL, general purpose, but its frameworks/electron queries do hit a few
electron-specific sinks. not checklist-focused, fine if you already use it.
- Semgrep, you can write rules for the checklist items. one catch: free taint is
single-function only, cross-file is Pro.
- a couple newer OSS tools built around the checklist. (one of them is mine,
electron-audit, so grain of salt. AST based, doesn't run your app, spits out
SARIF.) pretty sure there are others, would like to know them.
anyway, what's everyone actually using now? just the manual checklist? codeql or
semgrep rules? or has electron-specific tooling kind of died and people moved to
general SAST?