Skip to content

POTENTIAL SECURITY RISKS #5

@TechStudent10

Description

@TechStudent10

In main.js, webPreferences look like this:

webPreferences: {
	nodeIntegration: true,
	webviewTag: true,
	enableRemoteModule: true,
	contextIsolation: false,
	preload: `${__dirname}/scripts/preload.js`
},

Now, somethings to really look out for:

  1. Node Integration is on. Hackers could possibly access Node APIs on insecure websites. BE CAREFUL.
  2. The <webview> tag is on. This is to enable web browsing. Its Chromium API is undergoing some changes, but as far as I understand, there are no major security risks.
  3. The @electron/remote is enabled. This is for the windows controls.
  4. Context Isolation is off. THIS IS A MAJOR SECURITY RISK. USE ICEWOLF AT YOUR OWN RISK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions