microsoft / microsoft/AzureStorageExplorer

Disable runAsNode in Electron fuse if feasible

Open
#7,667 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Enabling runAsNode in Electron fuse allows the Storage Explorer application to be run as a Node application that takes arguments, which are subject to attacks. Currently we need runAsNode to be enabled because we are using Node APIs that would otherwise not work. We should avoid using Node dependent features and disable runAsNode in Electron fuse as soon as we no longer depend on it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Electron fuse configuration and the Node API usages that require runAsNode. Determine whether those dependencies can be removed, then verify that the application still works without the fuse enabled and that relevant attack paths are no longer available.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, node.js
Domain
desktop, security
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.