Electrolint is an open source VS Code plugin for Electron applications.
Electrolint scans Electron applications for security defects using Electronegativity, highlights the findings in the code, and suggests contextual remediation.
Electrolint is developed as part of my PhD research at George Washington University.
The plugin uses the VS Code Language Server Protocol (LSP) and is built on top of lsp-sample.
.
├── client // Language Client
│ ├── src
│ │ └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
└── src
├── remediation-advice.json // Collection of remediation advice items
└── server.ts // Language Server entry point
electrolint-[version].vsix
from this repository.electrolint-[version].vsix
from this repository.code --install-extension electrolint-[version].vsix
npm install
in this folder. This installs all necessary npm modules in both the client and server folderLaunch Client
from the drop down.Attach to Server
after launching the client.