More screenshots
Works with the AI Agents you already use
Electron Security Check
With nodeIntegration on or ipcRenderer exposed to the page, one XSS in an Electron app becomes full control of your user's computer.
$5
Electron Security Check
Example session with this skill installed
Check this project with electron-security-check.
- Read your context and instructions
- Compiled the electron security check
- Generated the UI component
$ python3 scripts/check_electron.py examples/risky
BLOCK src/main.js:9 E01 NODE_INTEGRATION_ON
nodeIntegration: true,
Why: nodeIntegration (or nodeIntegrationInWorker, nodeIntegrationInSubFrames, or a <webview nodeintegration> tag) gives web pages full Node.js. Any XSS, a hacked CDN script or a page you navigate to can then read files and run programs on the user's computer.
Safer: Remove it (false is the default). Give the page only the functions it needs through a preload script and contextBridge.exposeInMainWorld.
BLOCK src/main.js:10 E02 CONTEXT_ISOLATION_OFF
BLOCK src/main.js:11 E03 WEB_SECURITY_OFF
BLOCK src/preload.js:3 E04 IPC_EXPOSED_TO_PAGE
REVIEW package.json:5 E11 SANDBOX_OFF
REVIEW package.json:8 E16 OLD_ELECTRON
REVIEW src/index.html E15 NO_CSP
REVIEW src/main.js:2 E17 REMOTE_MODULE_ON
REVIEW src/main.js:5 E13 NO_NAVIGATION_LIMIT
REVIEW src/main.js:12 E11 SANDBOX_OFF
REVIEW src/main.js:16 E12 INSECURE_CONTENT_URL
REVIEW src/main.js:17 E14 OPEN_EXTERNAL_UNCHECKED
(Each finding also has Why and Safer lines, as in the first one.)
Verdict: BLOCK. Checked 4 files, 4 with Electron content.
This is a static check of file text. NOT FLAGGED is not a guarantee.
index.html
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
With nodeIntegration on or ipcRenderer exposed to the page, one XSS in an Electron app becomes full control of your user's computer. This skill checks your app against the main points of Electron's own security checklist before you ship it, and tells you how to fix each finding.
Your agent runs a scanner on your main-process code, preload scripts, HTML pages and package.json. Comments are skipped. It reads webPreferences and command-line switches, what preload scripts expose through contextBridge, how URLs reach shell.openExternal, and, across the whole project, whether any code limits navigation and new windows and whether the pages have a Content Security Policy. It never runs Electron. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach.
What it checks
BLOCK
- E01: nodeIntegration on (also in workers, subframes and webview tags)
- E02: contextIsolation false
- E03: webSecurity false, allowRunningInsecureContent or disable-web-security
- E04: the whole ipcRenderer, any-channel forwarding or Node modules exposed through contextBridge
REVIEW
- E11: renderer sandbox off (sandbox: false, --no-sandbox)
- E12: pages loaded over plain HTTP
- E13: no setWindowOpenHandler or will-navigate limit anywhere in the app
- E14: shell.openExternal with an unchecked URL
- E15: loaded pages with no Content Security Policy
- E16: Electron 41 or older in package.json
- E17: the remote module
What's included
- The scanner (Python 3.9+, standard library only)
- A rules guide with the reason and safer approach for each rule
- A risky and a safe example app (main, preload, page, package.json), and the real report the scanner produces on the risky one
Limits It reads code as text: settings built at run time, IPC handlers, permission handlers, Fuses and remote pages are not checked. NOT FLAGGED is not a guarantee.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Static check of code, HTML and package.json text. Settings built at run time, IPC handlers and Electron Fuses are not checked. NOT FLAGGED is not a guarantee.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
Runs one local Python script in the terminal. It reads your project's files, writes nothing, and makes no network calls.